Hello,

GDAL now warns that the +init syntax is deprecated. The documentation explains 
that for example

instead of +init=epsg:4326 one should just use epsg:4326. However, it does not 
seem to explain what

do to if one wants to modify the crs as in the following example:


> echo "25w 60n" | /usr/proj70/bin/cs2cs -f "%.8f" +from +init=epsg:4326 +to 
> +init=epsg:4326 +lon_wrap=180
335.00000000 60.00000000 0.00000000
> echo "60n 25w" | /usr/proj70/bin/cs2cs -f "%.8f" +from epsg:4326 +to 
> +init=epsg:4326 +lon_wrap=180
335.00000000 60.00000000 0.00000000
> echo "60n 25w" | /usr/proj70/bin/cs2cs -f "%.8f" +from epsg:4326 +to 
> epsg:4326 +lon_wrap=180
proj_create: crs not found

It seems like one would have to replace epsg:4326 on the right hand side with 
the respective PROJ-string,
which is quite inconvenient. Is this the only solution once the +init syntax 
has been removed?
?
Regards,

Mika Heiskanen



_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to