70 Commits

Author SHA1 Message Date
Blottiere Paul
4b1568836b Prepare v1.2.5 2023-09-19 19:12:10 +02:00
Blottiere Paul
c6351fe1a1 Prepare v1.2.4 2022-09-26 10:44:55 +02:00
Blottiere Paul
1bbd12416d Prepare v1.2.3 2022-09-12 09:09:11 +02:00
Blottiere Paul
d22608d7a1 Get prepared for v1.2.2 2022-05-10 13:43:33 +02:00
Blottiere Paul
ef64a02104 Update output tests 2022-02-28 20:55:59 +01:00
Blottiere Paul
300c43a9e5 Remove PG 9.6 CI and tests 2022-02-28 11:57:18 +01:00
Blottiere Paul
94b948013f Update expected output 2020-06-18 21:44:42 +02:00
Blottiere Paul
4f55b33de0 Update output results 2020-04-16 20:02:22 +02:00
Blottiere Paul
67247673a8 Get prepared for v1.2.1 2020-01-07 23:41:24 +01:00
Blottiere Paul
f655191fdd Fixes float precision 2019-12-29 22:20:27 +01:00
Blottiere Paul
5db24ffb1c Update laz regression tests for PG > 9 2019-12-29 22:07:46 +01:00
Blottiere Paul
924722a2df Update expected output for pg > 9 2019-12-27 22:57:01 +01:00
Éric Lemoine
32df91f46a Get prepared for v1.2.0 2018-08-22 11:09:17 +02:00
Blottiere Paul
2388891c5c Add test for laz compression 2018-06-19 14:32:01 +01:00
Blottiere Paul
655bb706cb Fix expected sql when lazperf is disabled 2018-06-19 12:49:27 +01:00
Éric Lemoine
f6016909aa Change version number to 1.1.1 in pointcloud.out 2018-06-18 09:24:23 +02:00
Blottiere Paul
a1f94c1117 Update sql for tests (lazperf compression code is 2 now) 2018-06-14 18:34:05 +01:00
Blottiere Paul
063a5b1651 Remove GHT support 2018-06-14 18:34:05 +01:00
Karl Pietrzak
4f738eb072 Add PC_MakePatch(pcid integer, values float8[])
Add PC_MakePatch to create a patch from a pcid and an array of float8 values.
2018-06-14 18:49:52 +02:00
Éric Lemoine
2cbd6f0b7d Add a PC_Uncompress LAZ SQL test 2018-06-12 08:45:01 +02:00
Éric Lemoine
7d17b5ebff Add id column to laz test table 2018-06-12 08:42:48 +02:00
Éric Lemoine
353450758f Add PC_Envelope back to the pointcloud extension
This commits adds `PC_Envelope` back to the pointcloud extension. This is to address the backward-compatibility issue raised in #168.
2017-04-26 18:06:07 +02:00
Éric Lemoine
d552002187 Add PC_Transform
This commit adds a `PC_Transform` function that returns a new patch with its data transformed based on the passed `pcid`.

In contrast to `PC_SetPCId` this function may reinterpret the data if dimension interpretations, scales or offsets are different in the new schema. In the future `PC_Transform` will also re-project the patch data if the schema `srid` has changed, but that is not yet supported.
2017-04-26 16:46:40 +02:00
Éric Lemoine
9491f09dc6 Add PC_SetPCId
This commit adds a `PC_SetPCId` function that can be used to change the schema of a patch.
2017-04-12 09:15:48 +02:00
Éric Lemoine
4f033847fe Add a PC_BoundingDiagonalAsBinary(p PCPATCH) function 2017-04-03 11:29:13 +02:00
Mathieu Brédif
7da35f0699 PC_EnvelopeAsBinary -> bytea, PC_Envelope -> geometry 2017-04-01 09:38:02 +02:00
Blottiere Paul
e5fa4a3ca2 Add an integration test for pc_pointn with lazperf 2017-03-31 11:13:48 +02:00
Blottiere Paul
fb5f1dcca4 Add PC_Range(p PCPATCH, first int4, count int4)
This commit adds a PC_Range function. This function returns a patch of "count" points. These points are selected from the start-th point in the input patch.
2017-03-30 09:03:04 +02:00
Éric Lemoine
abce712ec8 Support other dimensions for lazperf compression 2017-03-14 14:36:39 +01:00
Blottiere Paul
b3764bd5dc Add lazperf pcpatch 2016-06-14 10:22:16 +02:00
Sandro Santilli
38944e72df Implement PC_Patch{Min,Max,Avg}(PcPatch) returns PcPoint
Closes #77

NOTE: changes the C function signature so you need to properly
      upgrade scripts for things to work again.
2015-05-15 15:19:47 +02:00
Sandro Santilli
022708bcba Fix stat computed by PC_Filter for scaled/offsetted dimensions.
Closes #78.
Includes testcase.
2015-04-30 13:31:13 +02:00
Sandro Santilli
a632241185 Fix max stat computed by PC_Filter for unscaled dimensions.
Closes #79.
Includes testcase.
2015-04-30 11:58:40 +02:00
Sandro Santilli
7061bbb549 Add "type" field in pc_summary dimension output 2015-04-24 16:41:21 +02:00
Sandro Santilli
718c931c81 Fix PC_Compress call with single 'dimensional' argument 2015-04-21 16:44:18 +02:00
Sandro Santilli
f28676b482 Fix test for PC_Compress 2015-04-21 16:43:21 +02:00
Sandro Santilli
823744ee08 Do not test WARNINGs (travis doesn't show them..) 2015-04-21 14:05:11 +02:00
Sandro Santilli
c0e75fbd43 Warn when truncating values due to size constraints
Also makes the truncation controled rather than unspecified.
Values are clamped (max if over max, min if below min).

Closes #68

Updates expected output from existing test that uses truncating value
2015-04-21 13:56:09 +02:00
Sandro Santilli
1cb2aab70f Do not show WARNINGs from regression
Should fix travis check:
https://travis-ci.org/pgpointcloud/pointcloud/builds/58411794#L520
2015-04-14 11:33:38 +02:00
Sandro Santilli
e5605e9292 Fix crash in schema parser
Closes #71.
Includes testcase.
2015-04-14 11:26:28 +02:00
Sandro Santilli
667dcf3ec0 Fix handling of sigbits encoding with 0 common bits
Includes online check
Closes #69
2015-04-13 16:58:35 +02:00
Sandro Santilli
00283ac53b Cleanup formats at end of tests 2015-04-13 10:06:17 +02:00
Sandro Santilli
3fe9d4599f Implement PC_Summary(pcpatch)
Includes test and docs
2015-03-19 16:54:09 +01:00
Sandro Santilli
9f3d96cea6 Add PC_PCId(pcpoint) and PC_PCId(pcpatch) functions
Closes #50
Includes (online) testcase
2015-03-18 17:13:01 +01:00
Sandro Santilli
f4e0e011c1 Add test for dimensional patch decompression (#44) 2015-03-10 13:43:39 +01:00
Sandro Santilli
28b4c1f817 Update expected version 2015-02-12 16:07:21 +01:00
Sandro Santilli
2ecca0b602 Expose PC_Get(pcpoint) returning an array of float8 at the SQL level
Initial code by Remi-C, refactored to reduce code extent and equipped
with regress test.
2015-02-12 12:08:23 +01:00
Sandro Santilli
2c25529a73 Fix pointcloud_columns view definition to handle null-typmoded cols
Closes #27
2015-02-10 10:41:26 +01:00
Sandro Santilli
59b5db04b2 Cleanup after test 2015-02-10 10:39:15 +01:00
Sandro Santilli
fb7823930e Enable GHT regress testing, allow configuring --without-libght 2015-02-04 11:59:01 +01:00