Add an integration test for pc_pointn with lazperf

This commit is contained in:
Blottiere Paul 2017-03-14 11:01:25 +01:00 committed by Éric Lemoine
parent ccc6e2714e
commit e5fa4a3ca2
2 changed files with 8 additions and 0 deletions

View File

@ -359,4 +359,10 @@ SELECT pc_astext(pc_explode(pa)) FROM pa_test_laz_multiple_dim LIMIT 20;
{"pcid":6,"pt":[836,794.2,142.12,10]}
(20 rows)
SELECT pc_astext(PC_PointN(pa, 2)) FROM pa_test_laz;
pc_astext
---------------------------------
{"pcid":5,"pt":[2,1.9,0.34,10]}
(1 row)
TRUNCATE pointcloud_formats;

View File

@ -156,4 +156,6 @@ FROM (
SELECT pc_astext(pc_explode(pa)) FROM pa_test_laz_multiple_dim LIMIT 20;
SELECT pc_astext(PC_PointN(pa, 2)) FROM pa_test_laz;
TRUNCATE pointcloud_formats;