[PROJ] Fixing Old Code
Dan Crosby
dan.crosby at lincolnagritech.co.nz
Sun Jul 30 14:10:23 PDT 2023
Hi Janne,
Yes we did have to include all the libgeotiff accompanying CSV files in our distribution to get ours sort-of functional. But using libgeotiff functions like GTIFImageToPCS and GTIFProj4ToLatLong should mean any transformations are as good as they can be. Right?
Dan
-----Original Message-----
From: support at mnspoint.com <support at mnspoint.com>
Sent: Sunday, 30 July 2023 23:30
To: Dan Crosby <dan.crosby at lincolnagritech.co.nz>
Cc: proj at lists.osgeo.org
Subject: Re: [PROJ] Fixing Old Code
Hello,
we wrote a working GeoTIFF loader a few years ago using Proj4 library.
The worts problem with GeoTIFF format is that it uses relative links to EPSG or ESRI definitions just with a number!! AND if somebody adds new definitions LATER the original database cannot solve them anymore!! REAL IDIOTS!! They should have ALWAYS included the FULL definition instead of just the "number"!! That way the GeoTIFF format would have worked forever! Now it just works until somebody adds a new entry to the database and some other idiot chooses to reference it in a GeoTIFF file!
But what so ever, you can try to live with this error by always using the latest ESRI/EPSG database with your GeoTIFF loader! (So, your GeoTIFF loader needs an ESRI/EPSG definition database to work.)
Regards: Janne
------------------------------------------
Dan Crosby kirjoitti 2023-07-26 06:19:
>
> One thing I tried to get working at the time, but never really did,
> was to read to geo-data from a GeoTIFF and convert
>
> steps I should take to get the correct projection info out of a
> GeoTIFF and convert it?
>
> Thanks,
>
> Dan
More information about the PROJ
mailing list