o2r-project / geoextent

Python library for extrating geospatial extent of files and directories with multiple data formats
https://o2r.info/geoextent/
MIT License
1 stars 4 forks source link

Add more output formats on CLI #55

Open nuest opened 4 years ago

nuest commented 4 years ago
nuest commented 4 years ago

For GeoJSON, demonstrate how to quickly inspect the created output with https://github.com/mapbox/geojsonio-cli on CLI and https://pypi.org/project/geojsonio/ for Python and Jupyter Notebooks.

For R, it might be fun to call geoextent and then parse the output, e.g.

sf::st_as_sf(system2('geoextent --output WKT -b data/path/'))

or could be worth trying out reticulate.

nuest commented 4 years ago

Split up this issue before starting to implement it, then prioritize.

nuest commented 3 years ago

Could be worth taking a look at how STAC constructs temporal and spatial extent: https://github.com/radiantearth/stac-spec/blob/master/collection-spec/collection-spec.md#extent-object