Jean-Claude REPETTO wrote:
I have noticed that GDAL 1.7 can read OziExplorer .MAP files :
GIF driver :
* Read projection and georeferencing from OziExplorer .MAP file if
possible.
Why has this support been implemented in the GIF driver ? .MAP files are
text files containing georeferencing information, and they can be used
with other graphics formats, such as JPEG, ECW or OZFx.
Jean-Claude,
I see that there is a GDALReadOziMapFile() function that could be
utilized in other drivers too. I presume in 1.7 Andrey implemented
use of it in the GIF driver because that is where he needed it.
I'm hesitant to spread all the possible supporting information formats
(.aux, world files, ozi map files, mapinfo files) in all drivers. One
reason is the amount of code involved, which we could reduce by some
more generic mechanism to lookup supporting information. The other reason
is that probing for so many supporting files may have noticable effects
on performance in some cases.
I am however open to improvements in consistency and approach if there is
broad support.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev