Closed scottstanie closed 3 weeks ago
Well I said "does not close" this issue, but github thought that mean closed. Still open.
GDAL version 3.8 has added a gdal_footprint
command, or the osgeo.gdal.Footprint
utility which makes this simple:
$ time gdal_footprint -t_srs EPSG:4326 "netcdf:20221107_20230729.unw.nc:/unwrapped_phase" footprint.geojson
0...10...20...30...40...50...60...70...80...90...100 - done.
real 0m1.882s
user 0m1.769s
sys 0m0.102s
If we want, we can add somthing like -simplify 0.01
to make a less-precise polygon with fewer points (default is 100)
We should still verify that the results look okay, but my initial test looks decent:
The CSLC product has a
/identification/bounding_polygon
dataset, where they include WKT for the nodata boundary.Possible implementation on example GSLC
Other questions