install geopandas and relevant libraries #install geopython libraries !apt install gdal-bin python-gdal python3-gdal #install python3-rtree - Geopandas requirement !apt install python3-rtree #install geopandas !pip install git+git:///geopandas/geopandas.git #install descartes - Geopandas requirement !pip install descartesĢ. All lines start with a # sign are remarks only:ġ. This simple example has only 8 routines, see whether they work or not. For more information of geopandas, please refer to Geopandas (2021) or Colab (2019). If you do not know how to use Colab, please refer to my previous article at Yiu (2020). plot the points of the capitals on the world map or plot a map of a particular country.plot a world map shaded by GDP per capita with a scale bar and. read a shape file of countries with population and gdp data and a vector file of capitals from geopandas datasets. To make it very simple, I simply do the following three tasks:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |