40 Commits

Author SHA1 Message Date
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
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
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