DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
1+1 =
Submit