143 Commits

Author SHA1 Message Date
Éric Lemoine
b7cfcd049d Remove references to github.com/pramsey/pointcloud 2017-03-18 16:24:04 +01:00
Éric Lemoine
abce712ec8 Support other dimensions for lazperf compression 2017-03-14 14:36:39 +01:00
Mathieu Brédif
ef5fc167d8 indentation normalization 2017-02-12 23:52:15 +01:00
Mathieu Brédif
68caab7ae1 PC_Sort and PC_IsSorted (#106)
* PC_Sort and PC_IsSorted

* fixing -Wdeclaration-after-statement warnings

* using sort_r for a portable definition of qsort_r/qsort_s

* uncompression fallback for lazperf/is_sorted

* NEWS updated, sort_r github reference and README added
2017-01-29 23:12:31 +01:00
Éric Lemoine
3a04787079 Use __attribute__ ((format (printf, x, y))) (#126)
This commit adds __attribute__ ((format (printf, x, y))) where it makes sense.
2017-01-26 17:45:50 +01:00
Éric Lemoine
8165600c61 Build issues when using a specific install prefix (Autotools) (#127)
* Introduce LAZPERF_CPPFLAGS

Without this the las.hpp header file is not found when lazperf was
installed in a non-system place.

* Use GHT_CPPFLAGS

Without this the ght.h header file is not found when libght was installed in
a non-system place.

* Use tabs in Makefiles
2017-01-26 17:43:03 +01:00
Éric Lemoine
42c87870eb Fix build issues (#123) 2017-01-24 16:56:41 +01:00
Adam Chidlow
a52d6a5d5d Fix compile against PostgreSQL 9.6 on Debian by using correct flags. 2016-10-19 10:20:31 +08:00
Paul Ramsey
211258b78d Merge pull request #105 from pblottiere/laz
Add lazperf pcpatch
2016-06-14 05:59:51 -07:00
Blottiere Paul
b3764bd5dc Add lazperf pcpatch 2016-06-14 10:22:16 +02:00
Mathieu Brédif
5a0f7944fd new PC_PointN function 2016-03-07 15:57:05 +01:00
Sandro Santilli
7fdcd49480 Add pc_lib_version(), pc_script_version() and compare in pc_version()
Fixes #40
2015-08-17 18:33:03 +02:00
Vincent Picavet
a94e4c045d Fix PG 9.5 compatibility. 2015-07-30 17:26:54 +02:00
Sandro Santilli
82429d4461 Add a pc_upgrade([<version>]) function 2015-05-15 16:00:58 +02:00
Sandro Santilli
bb0d7b4b6f Force override when linking "next" script 2015-05-15 15:32:06 +02:00
Sandro Santilli
48868f55b9 Create in-development upgrade scripts ("next" prefix) 2015-05-15 15:27:48 +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
ad1c71705a Fix typo in error message 2015-04-21 07:41:23 +02:00
Sandro Santilli
d8a40968e8 Attach major version to shared library
Implemented in both autoconf and cmake.
Closes #59.
2015-04-20 12:47:18 +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
9c1edfccdf Add PC_Compress function 2015-04-13 13:39:42 +02:00
Sandro Santilli
00283ac53b Cleanup formats at end of tests 2015-04-13 10:06:17 +02:00
Sandro Santilli
20c6f462d9 PC_Summary: do not assume schema compression matches actual patch compression 2015-04-09 16:40:31 +02:00
Sandro Santilli
d0922d28b8 Do not generate extension files in the source dir 2015-04-01 12:18:37 +02:00
Sandro Santilli
4834cb1c7f Fix generation of pointcloud.control with cmake 2015-04-01 11:51:53 +02:00
Pete Gadomski
07af590f6b Configure cmake files
Without this patch, cmake install fails.
2015-03-27 21:33:54 -05:00
Sandro Santilli
ca0ef74c5a Remove hard-coded version number from cmake build script
Hopefully fixes #45
2015-03-19 17:12:36 +01:00
Sandro Santilli
3fe9d4599f Implement PC_Summary(pcpatch)
Includes test and docs
2015-03-19 16:54:09 +01:00
Sandro Santilli
007c7f86fd Fix availability info for PC_Get(pcpatch) 2015-03-18 17:13:20 +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
4aaa8ca0d7 Revert "Avoid useless call to pc_bytes_serialized_size"
This reverts commit 69ed4d3c36d685b2b79778d52cebe2014f68b69e.

The call was not useless, see #44
2015-03-10 13:41:46 +01:00
Sandro Santilli
69ed4d3c36 Avoid useless call to pc_bytes_serialized_size
Closes #42
2015-02-13 16:20:23 +01:00
Sandro Santilli
009cea221d Fix typo in comment 2015-02-13 12:52:47 +01:00
Sandro Santilli
cc1797fde1 Allow upgrading from 1.0.1 2015-02-12 17:20:53 +01:00
Sandro Santilli
492b8e06a8 Strip aggregates, types and casts from upgrade scripts
Closes #39 (again)
2015-02-12 17:20:13 +01:00
Sandro Santilli
3fa32dd33f Note last updated version for pointcloud_columns view 2015-02-12 17:20:09 +01:00
Sandro Santilli
28b4c1f817 Update expected version 2015-02-12 16:07:21 +01:00
Sandro Santilli
490bce0ae0 Get version from Version.config 2015-02-12 13:41:40 +01:00
Sandro Santilli
196a623ad7 Only create pointcloud_formats table if it doesn't exist 2015-02-12 13:25:58 +01:00
Sandro Santilli
0a668a703e Automate creation of extension scripts, including upgrades
Closes #39
2015-02-12 13:15:03 +01:00