[gdal-dev] Reprojection issue that works in GDAL 2.4.0 but not 3.0+
Brian
mulcahy.brianp at gmail.com
Tue Jan 21 07:15:55 PST 2020
I am trying to go from (this is the .prj from an ESRI shapefile)
PROJCS["USA_Contiguous_Albers_Equal_Area_Conic_USGS_version",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Albers"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-96.0],PARAMETER["Standard_Parallel_1",29.5],PARAMETER["Standard_Parallel_2",45.5],PARAMETER["Latitude_Of_Origin",23.0],UNIT["Foot_US",0.3048006096012192]]
to EPSG:4326
I have a version of GDAL that is 2.4.0 with PROJ version 6.0.0 and it
re-projects just fine. When trying to re-project in 3.0+ it'll put a shape
that should be in Arkansas to somewhere in NorthEast Canada. I tried GDAL
3.0 with the latest PROJ as well as forcing it to 6.1.0 and 6.0.0 but still
it did not work.
Something strange did happen when I changed to proj 6.0.0 with GDAL v3.0+
I received this error:
" ERROR 1: Failed to reproject feature 0 (geometry probably out of source
or destination SRS).
ERROR 1: Terminating translation prematurely after failed"
but that goes away after updated proj 6.1.0 and to 6.3.0
https://imgur.com/a/zyh9Mpg
In the above link orange is GDAL 3.0
teal/blue is GDAL 2.4.0.
Changing PROJ version had no effect.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200121/5ca0d909/attachment.html>
More information about the gdal-dev
mailing list