[PROJ] terracotta core dump with proj-data from ubuntugis

Even Rouault even.rouault at spatialys.com
Thu Dec 2 06:21:20 PST 2021


> |$ terracotta optimize-rasters ../NaturalnessBZHv1.tif -o optimized/ 
> proj_create_from_database: SQLite error on SELECT name, 
> coordinate_system_auth_name, coordinate_system_code, 
> geodetic_crs_auth_name, geodetic_crs_code, conversion_auth_name, 
> conversion_code, area_of_use_auth_name, area_of_use_code, 
> text_definition, deprecated FROM projected_crs WHERE auth_name = ? AND 
> code = ?: no such column: area_of_use_auth_name|
|This error suggests that the PROJ library that is running finds the 
proj.db database of another version. So you have likely a mix of 2 PROJ 
versions. I see that 
https://github.com/DHI-GRAS/terracotta/blob/main/environment.yml depends 
on rasterio, and if you use a binary wheel it will ship with a PROJ binary,|
> |Optimizing 1 file on 1 process NaturalnessBZHv1.tif ... (1/1) 
> proj_create_from_database: SQLite error on SELECT name, 
> coordinate_system_auth_name, coordinate_system_code, 
> geodetic_crs_auth_name, geodetic_crs_code, conversion_auth_name, 
> conversion_code, area_of_use_auth_name, area_of_use_code, 
> text_definition, deprecated FROM projected_crs WHERE auth_name = ? AND 
> code = ?: no such column: area_of_use_auth_name free(): invalid 
> pointer Aborted (core dumped) |
>
> Any idea/help on how to fix this ?
>
> I have no problem on archlinux, with proj 8.0.0 and python 3.9.9
>
>
> _______________________________________________
> PROJ mailing list
> PROJ at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/proj

-- 
http://www.spatialys.com
My software is free, but my time generally not.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20211202/5f41e643/attachment.html>


More information about the PROJ mailing list