Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#2916 closed defect (duplicate)

ILWIS dataset

Reported by: tomvanroey Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: 1.4.2
Severity: normal Keywords:
Cc:

Description

When creating a new ILWIS dataset, no 'GRF' file and 'CSY' file is being created allthough I called the 'SetProjection()' and 'SetGeoTransform()' method. I tried to debug the GDAL code and I found the following:

1) in the file ilwisdataset.cpp and method ILWISDataset::WriteGeoReference(), I noticed that the 'pszFileName' variable contains complete crap; normally this variable should contain the name of the ILWIS file to be created (e.g. C:\temp\myIlwisFile.mpr) 2) the same problem occurs in the file ilwiscoordinatesystem.cpp in the method 'ILWISDataset::WriteProjection()'. Again the 'pszFileName' variable contains crap !!

I've tested my program on possible memory errors and everything seems to be OK. This problem only seems to be happening with a Windows build. If I run the same program on my Linux machine, everything seems to be fine.

Change History (2)

comment:1 by Even Rouault, 15 years ago

Resolution: duplicate
Status: newclosed

Yes, this is a defect of GDAL < 1.5.0 that was reported in http://trac.osgeo.org/gdal/ticket/1733. Please upgrade to GDAL 1.5.0 or later.

comment:2 by Even Rouault, 15 years ago

Actually this was also fixed in GDAL 1.4.4.

Note: See TracTickets for help on using tickets.