Opened 21 years ago

Last modified 21 years ago

#395 closed defect (fixed)

GeoSoft Grid ExChange Format and Projection Support

Reported by: nfarah@… Owned by: warmerdam
Priority: high Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords:
Cc:

Description

Hi Frank,

Using gdalinfo.exe on a GeoSoft Grid eXchange File (.gxf) I get the right 
information except the projection information. The projection string is 
empty.

A check on the grid file shows that the file has a projection.

An additional check, using the source code, shows that the code is 
expecting the projection information to be in one line. The used .gxf file 
have the projection information in three consecutif lines.

Probably this is the source of the problem.

The used gxf file could be downloaded directly at the mentioned URL (see above)

Noureddine Farah

Change History (1)

comment:1 by warmerdam, 21 years ago

Fixed bug ... turns out only the first 5 characters of the #MAP_PROJECTION
tag was being checked, so the #MAP_TRANSFORM was mistaken for it! 

I also discovered a serious memory allocation error which can causes crashes
for GXF files taller than they are wide.  This is fixed in CVS too. 


Note: See TracTickets for help on using tickets.