Re: [gdal-dev] Setting the georeferencing priority for GDAL

2013-10-28 Thread Even Rouault
> > Was it with the JP2OPENJPEG driver ? JP2KAK and JP2ECW should return what > > is found in .aux.xml. > > Yes, it was JP2OPENJPEG. I was testing in the average user mode and did not > bother to search Windows binaries with other JPEG2000 drivers and playing > with GDAL_SKIP config option. They

Re: [gdal-dev] Setting the georeferencing priority for GDAL

2013-10-28 Thread Jukka Rahkonen
Even Rouault mines-paris.org> writes: > > Hi Jukka, > > > I can also see that GDAL does have a config option GMLJP2OVERRIDE but I > > could not easily find what is is doing. > > /* */ > /* This is a backdoor to let us em

Re: [gdal-dev] Setting the georeferencing priority for GDAL

2013-10-28 Thread Even Rouault
Hi Jukka, > > Sometimes an image can have several and ambiguous metadata for > georeferencing. Mapserver has a method to deal with ambiguous internal > geotiff metadata and world files and user can override the internal > metadata by using PROCESSING "EXTENT_PRIORITY=WORLD" in the mapfile. > http

Re: [gdal-dev] Setting the georeferencing priority for GDAL

2013-10-27 Thread Frank Warmerdam
Jukka, Part of why behavior is inconsistent now is that the logic is in each driver. Some might give precidence to a world file over something internal, or to .aux.xml. I think it would be *desirable* for .aux.xml to take precedence over internal information when it is available as it is normal

[gdal-dev] Setting the georeferencing priority for GDAL

2013-10-27 Thread Jukka Rahkonen
Hi, Sometimes an image can have several and ambiguous metadata for georeferencing. Mapserver has a method to deal with ambiguous internal geotiff metadata and world files and user can override the internal metadata by using PROCESSING "EXTENT_PRIORITY=WORLD" in the mapfile. http://www.mapserver.or