Skip to main content

Module shapefile_reader

Module shapefile_reader 

Source
Expand description

Shapefile reader for pre-processed water and land polygons.

Reads water-polygons-split-3857 and land-polygons-split-3857 shapefiles, reprojecting from EPSG:3857 (Web Mercator) to EPSG:4326 (WGS84).

These shapefiles provide the ocean and land polygons for z6+ where Natural Earth data is too coarse.

Functions§

read_land_polygons
Stream land polygons from a shapefile through emit.
read_water_polygons
Stream water polygons from a shapefile through emit.