New answers tagged centroids
0
votes
Get the 3D centroid of a GeoDataFrame
As a workaround, one can first use the get_coordinates() method specifying include_z=True, then computing the mean and exporting to a list, packed in a tuple(), packed in a list again:
[tuple(gdf....
Top 50 recent answers are included
Related Tags
centroids × 263qgis × 114
polygon × 51
postgis × 22
r × 22
arcgis-desktop × 21
python × 19
geometry × 16
distance × 14
geopandas × 12
point × 11
coordinate-system × 10
coordinates × 10
arcpy × 9
raster × 9
pyqgis × 8
postgresql × 8
line × 8
shapefile × 7
google-earth-engine × 7
field-calculator × 7
spatial-join × 7
qgis-3 × 6
buffer × 6
latitude-longitude × 6