Overpass helpers¶
Boundary normalization¶
Use get_4326_boundary() to resolve a territory into a single EPSG:4326
polygon. The input can be an OSM relation id, a Shapely polygon or multipolygon,
or a GeoDataFrame/GeoSeries. Graph builders call this helper internally, but it
is also useful when one boundary should be reused across several builders.
See Build transport graphs for the common osm_id workflow.
Normalize a territory boundary to a single EPSG:4326 Polygon. |