[Gdal-dev] minor error in envidataset.cpp

Frank Warmerdam warmerdam at pobox.com
Thu Feb 13 09:57:35 EST 2003


Vladimir Slepnev wrote:
> Hi!
> 
> There seems to be an error in the file gdal\frmts\raw\envidataset.cpp on
> line 409, in function int ENVIDataset::ProcessMapinfo( const char
> *pszMapinfo ).
> 
> What is there:
>         oSRS.SetUTM( atoi(papszFields[7]),
>                      EQUAL(papszFields[8],"South") );
> 
> What should be:
>         oSRS.SetUTM( atoi(papszFields[7]),
>                      !EQUAL(papszFields[8],"South") );
> 
> Am I wrong?

Vladimir,

You are right.  I have committed the fix.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent





More information about the Gdal-dev mailing list