[gdal-dev] SPOT7 DIMAP driver for tiled datasets has no lat/lon

Even Rouault even.rouault at spatialys.com
Mon Jan 15 12:58:52 PST 2018


On lundi 15 janvier 2018 20:51:44 CET Gong, Shawn wrote:
> Hi Even,
> 
> 
> 
> I rebuilt GDAL with your code change in DIMAP driver. And it didn't work:
> gdalinfo returns the same output.

Untested code rarely works at the first attempt, so not surprised :-)

> 
> 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.

Access to the datasset would be needed

> 
> 
> 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


-- 
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/437bd013/attachment.html>


More information about the gdal-dev mailing list