Re: [gdal-dev] Cannot read UTM Ozi .map file

2012-11-29 Thread Jean-Claude Repetto
On 29/11/2012 23:32, Nik Sands wrote: > Thanks for the reply. Firstly, it did resolve my problem, so thanks very > much for this information. > > However, I don't get that warning with gdalinfo . You have to use the debug switch (look at the command I used in my previous post). ___

Re: [gdal-dev] Cannot read UTM Ozi .map file

2012-11-29 Thread Nik Sands
Thanks for the reply. Firstly, it did resolve my problem, so thanks very much for this information. However, I don't get that warning with gdalinfo (see below). But I set the environment variable in my code, and it did resolve the problem for me there which is all that matters, I guess. :-)

Re: [gdal-dev] Cannot read UTM Ozi .map file

2012-11-29 Thread Jean-Claude Repetto
Le 28/11/2012 22:54, Nik Sands a écrit : After applying the suggested patch, it no longer errors out in the same way, however, I now get another error just a little further on in my code. - Failed to get geo-transform (error 3) for file: Cradle Mountain_ozf.map

Re: [gdal-dev] Cannot read UTM Ozi .map file

2012-11-28 Thread Nik Sands
Hi Jean-Claude, After applying the suggested patch, it no longer errors out in the same way, however, I now get another error just a little further on in my code. CODE: - char *srcWKT = (char *)GDALGetProjectionRef( hDataset ); if ( srcWKT

Re: [gdal-dev] Cannot read UTM Ozi .map file

2012-11-28 Thread Jean-Claude Repetto
Le 28/11/2012 05:16, Nik Sands a écrit : Hi GDAL-dev, I've recently re-compiled GDAL from the trunk after the patch to fix UTM ozi files was applied. This has worked well for most UTM files I've tried so far, but I've come across one that produces a strange error in my code, but works OK with

[gdal-dev] Cannot read UTM Ozi .map file

2012-11-27 Thread Nik Sands
Hi GDAL-dev, I've recently re-compiled GDAL from the trunk after the patch to fix UTM ozi files was applied. This has worked well for most UTM files I've tried so far, but I've come across one that produces a strange error in my code, but works OK with gdalinfo. The following code fails for a