44 Commits

Author SHA1 Message Date
Blottiere Paul
efeef700a8 Remove laz compression test when lazperf is disabled 2018-06-19 12:54:50 +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
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
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
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
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
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
Paul Ramsey
ded9587b6d Comment out ght tests 2013-10-22 14:23:58 -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
8b3df45cab Fix dimensional serialization 2013-03-15 10:19:37 -10:00
Paul Ramsey
a1759cf9cf Beef up typmod enforcement 2013-03-10 11:14:38 -07:00
Paul Ramsey
ad75e05492 Documentation 2013-03-08 12:54:46 -08: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
ad7a1d453d Add some sql examples 2013-02-26 10:36:08 -08:00
Paul Ramsey
24fd7bef7a Add caching to XML schema support,
required for reasonable performance
in real world use cases.
2013-02-07 13:54:08 -08:00
Paul Ramsey
e086d63bb3 Add typmod support to pcpoint and pcpatch 2013-02-06 14:28:19 -08:00
Paul Ramsey
070609ef87 Add PC_Explode for patches 2013-02-01 16:00:22 -08:00
Paul Ramsey
23829781d1 Add in postgis case for patch envelopes 2013-01-31 16:25:53 -08:00
Paul Ramsey
5722353f35 WKB Geometry support for points 2013-01-31 11:31:30 -08:00
Paul Ramsey
63ac38cedb Fix expected lengths for serializations,
add online SQL test for patches, we're
storing in columns now, baby!
2013-01-31 09:46:40 -08:00
Paul Ramsey
f4b6a31db3 Fix astext output for point 2013-01-30 14:08:04 -08:00
Paul Ramsey
6df96b0cbf Add pgsql regression tests 2013-01-29 16:14:27 -08:00
Paul Ramsey
fe5bf854b6 Patch support, more unit tests, hexwkb,
wkb, string output.
2013-01-29 15:34:48 -08:00