Maps.add_feature.physical

class eomaps.eomaps.Maps.add_feature.physical

NaturalEarth feature interface for: physical.

Interface to features provided by NaturalEarth.

(see https://www.naturalearthdata.com)

The features are grouped into the categories β€œcultural” and β€œphysical” and available at 3 different scales:

  • 10 : Large-scale data (1:10m)

  • 50 : Medium-scale data (1:50m)

  • 110 : Small-scale data (1:110m)

If you use scale=”auto”, the appropriate scale of the feature will be determined based on the map-extent.

>>> m.add_feature.< category >.< feature-name >(scale=10, ... style-kwargs ...)

Examples

  • add black (coarse resolution) coastlines

    >>> from eomaps import Maps
    >>> m = Maps()
    >>> m.add_feature.physical.coastline(scale=110, fc="none", ec="k")
    
  • color all land red with 50% transparency and automatically determine the appropriate scale if you zoom the map

    >>> from eomaps import Maps
    >>> m = Maps()
    >>> m.add_feature.physical.land(scale="auto", fc="r", alpha=0.5)
    
  • fetch features as geopandas.GeoDataFrame (to color all countries with respect to the area)

    >>> from eomaps import Maps
    >>> m = Maps()
    >>> countries = m.add_feature.cultural.admin_0_countries.get_gdf(scale=10)
    >>> countries["area_rank"] = countries.area.rank()
    >>> m.add_gdf(countries, column="area_rank")
    

Members

antarctic_ice_shelves_lines

antarctic_ice_shelves_polys

bathymetry_A_10000

bathymetry_B_9000

bathymetry_C_8000

bathymetry_D_7000

bathymetry_E_6000

bathymetry_F_5000

bathymetry_G_4000

bathymetry_H_3000

bathymetry_I_2000

bathymetry_J_1000

bathymetry_K_200

bathymetry_L_0

coastline

geographic_lines

geography_marine_polys

geography_regions_elevation_points

geography_regions_points

geography_regions_polys

glaciated_areas

graticules_1

graticules_10

graticules_15

graticules_20

graticules_30

graticules_5

lakes

lakes_australia

lakes_europe

lakes_historic

lakes_north_america

lakes_pluvial

land

land_ocean_label_points

land_ocean_seams

land_scale_rank

minor_islands

minor_islands_coastline

minor_islands_label_points

ocean

ocean_scale_rank

playas

reefs

rivers_australia

rivers_europe

rivers_lake_centerlines

rivers_lake_centerlines_scale_rank

rivers_north_america

wgs84_bounding_box