geovizir.features
#
Module Contents#
Functions#
|
|
|
Return a GeoDataFrame of the world countries. |
|
Return a GeoDataFrame of the stats of a country. |
- geovizir.features.ne_countries(scale: int = 10) geopandas.GeoDataFrame [source]#
Return a GeoDataFrame of the world countries.
Download the world countries shapefile from Natural Earth and return a GeoDataFrame of the countries.
- Parameters:
scale (int, optional) – The scale of the shapefile, by default 10. The allowed values are 10, 50 and 110.
- Returns:
A table of the world countries.
- Return type:
GeoDataFrame
- geovizir.features.ne_states(state: str, scale: int = 10) geopandas.GeoDataFrame [source]#
Return a GeoDataFrame of the stats of a country.
Download the counties shapefile from Natural Earth and return a GeoDataFrame of the countries.
- Parameters:
state (str) – The country ISO3 code.
scale (int, optional) – The scale of the shapefile, by default 10. The allowed values are 10, 50 and 110.
- Returns:
A table of the world countries.
- Return type:
GeoDataFrame