stac-utils / stactools

Command line utility and Python library for STAC
https://stactools.readthedocs.io/
Other
104 stars 28 forks source link

Raster Footprint: Not EPSG4326 #435

Closed jlaura closed 1 year ago

jlaura commented 1 year ago

Is your feature request related to a problem? Please describe. From here it looks like the footprint is being forced to 4326 (called in line 234 of the same dir).

Describe the solution you'd like If the CRS is being passed in, could we allow RasterFootprint to use the CRS for the reproject. The default should be "EPSG:4326" because the GeoJSON spec (unfortunately) assumed 4326.

Describe alternatives you've considered As an alternative to this, one could (I think?) take the output file and reproject is using something like ogr2ogr.

Additional context None noted.