odc.geo.gridspec.GridSpec.geojson
- GridSpec.geojson(*, bbox=None, geopolygon=None)[source]
Render to GeoJSON.
- Parameters:
bbox (
Optional
[BoundingBox
]) – Limit output to tiles overlapping with the given bounding box (native CRS of the grid).geopolygon (
Optional
[Geometry
]) – Limit output to tiles overlapping with the given geometry (any CRS)
- Return type:
- Returns:
GeoJSON representation of the grid spec