[pdal] import pdal: proj_create: Error -5 (unknown projection id)

Howard Butler howard at hobu.co
Fri Feb 21 06:22:50 PST 2025


Presumably whatever made your container didn't keep the PROJ_DATA environment variable linkages. Set PROJ_DEBUG=ON in your environment and maybe it will complain with some clues.

This is not a PDAL problem.

Howard

> On Feb 20, 2025, at 4:55 PM, Dom Jaskierniak via pdal <pdal at lists.osgeo.org> wrote:
> 
> Hi pdal users.  <>
>  
> I recently built a singularity file (i.e. container using CI/CD in gitlab) using a definition file (def file) that install all dependencies for my project.   I clone the PDAL repository and build it from source using cmake and installed the Python binding for PDAL. The container finished building but when I import pdal within the container I get:
> 
> >>> import pdal
> proj_create: Error -5 (unknown projection id)
> 
> I am assuming the error related to PROJ, and when PDAL creating a projection, but it can't recognize the specified projection ID.
>  
> I can provide the def file to show how I installed pdal if that helps? I have tried many things and help to solve would be appreciated?
>  
> Dom
>  
> Dr Dom Jaskierniak
> Senior Scientist (Remote Sensing and Landscape Sciences)
> 
> Science, Economics and Insights Division| Department of Climate Change, Energy, the Environment and Water
> M 0498 206 030  |  E dom.jaskierniak at environment.nsw.gov.au <mailto:dom.jaskierniak at environment.nsw.gov.au>
> Level 3, 6 Stewart Avenue, Newcastle, NSW, 2302
> 
> www.dpie.nsw.gov.au <http://www.dpie.nsw.gov.au/>
>  <http://www.dpie.nsw.gov.au/>
> The Department of Planning and Environment acknowledges that it stands on Aboriginal land. 
> We acknowledge the traditional custodians of the land and we show our respect for elders past, present
> and emerging through thoughtful and collaborative approaches to our work, seeking to demonstrate our ongoing
> commitment to providing places in which Aboriginal people are included socially, culturally and economically.
>  
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
> This email is intended for the addressee(s) named and may contain confidential and/or privileged information. 
> If you are not the intended recipient, please notify the sender and then delete it immediately.
> Any views expressed in this email are those of the individual sender except where the sender expressly and with authority states them to be the views of the NSW Office of Environment, Energy and Science.
> 
> PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL
> 
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org <mailto:pdal at lists.osgeo.org>
> https://lists.osgeo.org/mailman/listinfo/pdal

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20250221/44146799/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 117661 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20250221/44146799/attachment-0001.png>


More information about the pdal mailing list