11 lines
294 B
Python
11 lines
294 B
Python
import matplotlib.pyplot as plt
|
|
import geopandas as gpd
|
|
|
|
# Carregar o arquivo shapefile contendo a geometria
|
|
input_shapefile = 'LineFeature.shp'
|
|
data_geometry = gpd.read_file(input_shapefile)
|
|
|
|
# Plotar as linhas do arquivo shapefile
|
|
fig, ax = plt.subplots()
|
|
data_geometry.plot(ax=ax)
|
|
plt.show() |