Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get center position of countries geopandas

gdf["x"] = gdf.centroid.x
gdf["y"] = gdf.centroid.y
Source by gis.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #center #position #countries #geopandas
ADD COMMENT
Topic
Name
1+1 =