#3496 closed defect (fixed)
v.in.pdal: does not compile with PDAL 1.6.0
Reported by: | felixg | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.4.1 |
Component: | Vector | Version: | svn-releasebranch74 |
Keywords: | v.in.pdal, PDAL, lidar | Cc: | |
CPU: | Unspecified | Platform: | Unspecified |
Description
As the PDAL API changed in a few places, the code of v.in.pdal fails to compile and needs to be adjusted.
The attached patch file changes the following in main.cpp
of v.in.pdal:
- the includes as PDAL relocated some header files
- use of the enum pdal::Dimension::Id
- a method call to pdal::SpatialReference::getWKT(), it does not have any formal parameters anymore in PDAL
Attachments (1)
Change History (7)
by , 7 years ago
Attachment: | fix-for-pdal-vector-import.patch added |
---|
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Thank you. I committed the change in r72246. Tested with 1.5.0 and 1.6.0 (compiled) and trunk using the two tests in testsuite directory:
export LD_LIBRARY_PATH="/home/.../install/lib:$LD_LIBRARY_PATH" cd vector/v.in.pdal/testsuite ../../../bin.x86_64-pc-linux-gnu/grass75 ~/grassdata/nc_basic_spm_grass7/user1/ \ --exec python basic_test.py ../../../bin.x86_64-pc-linux-gnu/grass75 ~/grassdata/nc_basic_spm_grass7/user1/ \ --exec python filter_test.py
This can be closed after backport to 7.4 (and maybe 7.2).
comment:4 by , 7 years ago
Milestone: | → 7.4.1 |
---|---|
Version: | unspecified → svn-releasebranch74 |
Replying to wenzeslaus: ...
This can be closed after backport to 7.4 (and maybe 7.2).
Backported to 7.4 in r72253, closing.
@felixg: thanks for the patch!
comment:5 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 72246: