[pgpointcloud] PDAL writers.pgpointcloud schema is fixed?

Zhiyong Weng zhiyong.weng at gmail.com
Tue Nov 17 22:07:41 PST 2015


Hi ALL,

    I try to set the Intensity's interpretation as double in schema ,but
PDAL give error.
*terminate called after throwing an instance of 'pdal::pdal_error'*
*  what():  ERROR:  pc_patch_uncompressed_from_wkb: wkb size and expected
data size do not match*
*LINE 1: INSERT INTO "patches3" ( "pa") VALUES ('01170000000000000003...*
*                                               ^*
*Aborted (core dumped)*

   1) Can I change the dim type of Intensity?
   2) if can not how can keep the precision of Intensity?

   attached my program and schema.

   Thanks.

Reagrds,
Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgpointcloud/attachments/20151118/df30876e/attachment.html>
-------------- next part --------------
cmake_minimum_required(VERSION 2.8.12)
project(numap_db)

add_definitions(-g)

find_package(PDAL 1.0.0 REQUIRED CONFIG)
include_directories(${PDAL_INCLUDE_DIRS})

set(CMAKE_CXX_FLAGS "-std=c++11")
add_executable(${PROJECT_NAME} main.cpp)
target_link_libraries(${PROJECT_NAME} ${PDAL_LIBRARIES})
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 2284 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/pgpointcloud/attachments/20151118/df30876e/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: schema_23.xml
Type: text/xml
Size: 1315 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/pgpointcloud/attachments/20151118/df30876e/attachment.xml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: schema_23_create_table.sql
Type: application/sql
Size: 1462 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/pgpointcloud/attachments/20151118/df30876e/attachment.bin>


More information about the pgpointcloud mailing list