[gdal-dev] SPOT7 DIMAP driver for tiled datasets has no lat/lon
Gong, Shawn
SGONG at mdacorporation.com
Mon Jan 15 12:51:44 PST 2018
Hi Even,
I rebuilt GDAL with your code change in DIMAP driver. And it didn't work: gdalinfo returns the same output.
I then ran "gdalwarp -rpc -to RPC_HEIGHT=0 c:/DIM_SPOT7_P_201511221101122_SEN_1.XML c:/test.tif
gdalwarp worked.
That being said, I still would like to see the DIMAP driver updated so that I don't have to run gdalwarp. So I can simply drag and drop the *.XML onto OpenEV viewer.
Thanks,
Shawn
________________________________
From: Even Rouault [even.rouault at spatialys.com]
Sent: January-13-18 10:15 AM
To: gdal-dev at lists.osgeo.org
Cc: Gong, Shawn
Subject: Re: [gdal-dev] SPOT7 DIMAP driver for tiled datasets has no lat/lon
Shawn,
the driver shouldn't likely report the geotransform in that case, but just the RPC. You can try to warp it with gdalwarp -rpc
I've blindly pushed a untested fix in trunk so that the geotransform is not reported in your case:
https://trac.osgeo.org/gdal/changeset/41264
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180115/f5f99a2d/attachment.html>
More information about the gdal-dev
mailing list