[gdal-dev] gdalwarp EPSG not being applied

Gavin gavin at afrispatial.co.za
Wed Jan 19 00:59:31 EST 2011


On Tue, 2011-01-18 at 14:35 -0500, Frank Warmerdam wrote:

> On 11-01-18 01:45 PM, Gavin wrote:
> >
> >
> > On Tue, 2011-01-18 at 10:06 -0700, Kyle Shannon wrote:
> ..
> >>     System 2 (Fedora 10):
> >>
> >>         Driver: GTiff/GeoTIFF
> >>         Files: test3857.tif
> >>         Size is 10749, 11713
> >>         Coordinate System is:
> >>         PROJCS["unnamed",
> >>         GEOGCS[,
> >>         DATUM["unknown",
> >>         SPHEROID["unretrievable - using WGS84",6378137,298.257223563]],
> >>         PRIMEM["Greenwich",0],
> >>         UNIT["degree",0.0174532925199433]],
> >>         UNIT["metre",1,
> >>         AUTHORITY["EPSG","9001"]],
> >>         AUTHORITY["EPSG","3857"]]
> >>         Origin = (3111167.042467534542084,-2998912.428198689594865)
> 
> Gavin,
> 
> This problem really does sound like some supporting data files not being
> found.  For GeoTIFF it can also be important that the GeoTIFF csv files
> be findable.  They are usually in /usr/local/share/epsg_csv and can be
> placed elsewhere as long as the GEOTIFF_CSV environment points to them.
> 
> Also, in some cases GDAL will fallback to using the PROJ.4 init files
> for definitions, found via the PROJ_LIB environment variable if they are
> not in /usr/local/share/proj.
> 
> Best regards,


Frank

libgeotiff was not installed (no epsg_csv) so I installed it and set

GEOTIFF_CSV=/usr/share/epsg_csv

proj init files are in place:

ls /usr/local/share/proj
epsg  esri.extra  IGNF   nad83    other.extra   world
esri  GL27        nad27  nad.lst  proj_def.dat

but still I get the same result.

and am still getting a bunch of these warnings:

Warning 1: TIFFFetchNormalTag:ASCII value for tag "Software" contains
null byte in value; value incorrectly truncated during reading due to
implementation limitations

regards

Gavin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110119/06f162ef/attachment.html


More information about the gdal-dev mailing list