59 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
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
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
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
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
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
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
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
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
Sandro Santilli
7b7d063591 Add top-level "installcheck" rule, fix expected result 2015-02-04 10:28:50 +01:00
Paul Ramsey
67bdc764b7 Remove ght dependency 2013-10-22 15:53:56 -07:00
Paul Ramsey
8174fa4ca3 Finish implementation of patch-level stats 2013-05-31 15:36:23 -07:00
Paul Ramsey
26b44326ee Add PC_Version function to read library version 2013-05-08 11:17:19 -07:00
Paul Ramsey
3be4b4102b Working GHT in the database 2013-05-06 15:00:59 -07:00
Paul Ramsey
64f5574409 Update online regression tests 2013-03-15 10:24:24 -10:00
Paul Ramsey
a1759cf9cf Beef up typmod enforcement 2013-03-10 11:14:38 -07:00
Paul Ramsey
d4a104bd77 Enable dimensional storage in the db 2013-03-06 22:06:23 -08:00
Paul Ramsey
f6f9c4281c PC_Uncompress and PC_NumPoints 2013-03-06 11:14:46 -08:00
Paul Ramsey
c8ee1ab961 Add SQL test for PC_Union 2013-03-06 10:31:38 -08:00
Paul Ramsey
c7060031b5 Add dimensional compression routines, right out to the
patch level. Now to add them to SQL.
2013-03-01 16:42:15 -08:00