-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error 'Invalid PROJ string syntax' #61
Comments
I tried command without input crs this time on another file(input las file is version 1.4, and has CRS information included). But I still get same error 'Invalid PROJ string syntax'. |
I think the error message is misleading (taking a note to improve that in future releases), I'm suspecting this issue is caused by the tool using the postgresql proj files instead of its own ones. In theory this should not happen, as long as the share folder is stored in the same parent folder of the gocesiumtiler executable. Can you check if that's the case? The folderlayout should look something like:
If this is the case can you try to see if the same happens following these steps:
This will temporarily unset the PROJ_DATA variable in the command shell and prevent the code from reading from the Postgresql proj version. |
So I see a difference here. In my case gocesiumtiler is inside share folder. Seems I misunderstood following line from README, and hence copied it in share folder.
Woud put it back in parent folder and try again. Thanks a lot. |
Now it works. Moving exe to root folder did the trick. I have a question though. Cesium viewer displays the point cloud for a while and then it disappears. Seems its related to CRS. In gocesiumtiler command, we can provide input CRS, but not output CRS. Is is possible to provide output CRS too? Cesium renderer uses EPSG:4978 as far as I know, so I guess projecting point cloud to it would solve the issue. |
All points written by gocesiumtiler are effectively in EPSG 4978. They are stored in a local CRS but then cesium is instructed in the root tileset.json file to apply a transformation matrix that converts them back to EPSG:4978 Did you try to play with the maximumScreenSpaceError setting? Else if you can send me an example privately I can try to take a look as soon as I have some time |
Hi,
When I try to run program for a las file on my windows system, I get error.
Command:
.\gocesiumtiler-win-x64.exe folder -out D:\cesiumoutput\gocesiumtiler\output -crs EPSG:32643 -resolution 10 -min-points-per-tile 1000 -depth 12 D:\cesiumoutput\gocesiumtiler\input
Output:
What mistake am I making here?
The text was updated successfully, but these errors were encountered: