[gdal-dev] MrSID driver, JPEG2000 format files and world files
the Old Topo Depot
oldtopos at novacell.com
Wed May 2 15:07:00 EDT 2012
I have found that the existing MrSID gdal driver will ignore j2w files for
geotransform information if present with JPEG2000 formatted files.
While symlinking the j2w files to sdw is an option, adding code to look for
and use a j2w files is simple and seemingly useful.
I added and tested such code to
trunk <http://trac.osgeo.org/gdal/browser/trunk>/gdal<http://trac.osgeo.org/gdal/browser/trunk/gdal>
/frmts <http://trac.osgeo.org/gdal/browser/trunk/gdal/frmts>/mrsid<http://trac.osgeo.org/gdal/browser/trunk/gdal/frmts/mrsid>
/mrsiddataset.cpp<http://trac.osgeo.org/gdal/browser/trunk/gdal/frmts/mrsid/mrsiddataset.cpp>
at line 1311
|| GDALReadWorldFile( GetDescription(), ".j2w",
adfGeoTransform )
and this change appears to do the right thing with j2w files. Please
consider integrating this change into the next gdal release.
Best,
--
John Novak
--
John Novak
Novacell Technologies and the Old Topo Depot
http://www.novacell.com
585-OLD-TOPOS (585-653-8676)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120502/c31b216a/attachment.html
More information about the gdal-dev
mailing list