[gdal-dev] The "Bertin 1953" projection

Even Rouault even.rouault at spatialys.com
Wed Nov 7 03:10:19 PST 2018


> ```
> echo 12 55 0 0 | proj "+proj=bertin1953 +wktext"
> Rel. 6.0.0, March 1st, 2019
> <proj>:
> projection initialization failure
> cause: unknown projection id
> program abnormally terminated
> ```

'proj' syntax is without quoting. And you only need +wktext for GDAL, not for 
PROJ utilities

> 
> or using the following map
> ```
> file TM_WORLD_BORDERS_SIMPL-0.3.shp
> TM_WORLD_BORDERS_SIMPL-0.3.shp: ESRI Shapefile version 1000 length 224094
> type Polygon ```
> `ogr2ogr` segfaults:
> ```
> ogr2ogr -t_srs "+proj=bertin1953 +wktext"
> TM_WORLD_BORDERS_SIMPL-0.3_Bertin1953.shp TM_WORLD_BORDERS_SIMPL-0.3.shp
> ERROR 6: Failed to initialize PROJ.4 with `+proj=bertin1953 +wktext'.
> Segmentation fault
> ```
> 

It is likely you have an issue with GDAL linking also against your system 
PROJ. Has it been compiled --with-static-proj / --with-proj or not ? Check 
with ldd which libproj libgdal links against. You may need to adjust your 
LD_LIBRARY_PATH and potentially create a symbolic link from the new 
libproj.so.xxxx to the name of the old libproj.so.yyyyy so that GDAL sees one 
and one single libproj.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list