565 Commits

Author SHA1 Message Date
Éric Lemoine
22d8aa4959
Merge pull request #217 from elemoine/doc
Improve doc for PC_FilterBetween
2018-06-14 08:14:05 +02:00
Éric Lemoine
73f32d5331 Improve doc for PC_FilterBetween 2018-06-12 16:54:56 +02:00
Éric Lemoine
92a861cc40
Merge pull request #216 from elemoine/news
Update the NEWS file for v1.1.1
2018-06-12 09:43:19 +02:00
Éric Lemoine
60314d453e Update the NEWS file for v1.1.1 2018-06-12 09:37:33 +02:00
Éric Lemoine
00f966047a
Merge pull request #215 from elemoine/ele_lazperf-datasize
Fix bug in pc_patch_uncompressed_from_lazperf
2018-06-12 09:17:16 +02:00
Éric Lemoine
8e82233b56 Test datasize in test_patch_lazperf 2018-06-12 08:51:34 +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
59eb4671ef Fix typo in a pcerror message 2018-06-11 21:51:52 +02:00
Éric Lemoine
33445f7d87 Fix pc_patch_uncompressed_from_lazperf
pc_patch_uncompressed_from_lazperf needs to set patch->datasize.
2018-06-11 21:50:35 +02:00
Blottiere Paul
61e3604be2
Merge pull request #210 from The-Alchemist/patch-1
trying postgres 9.6 w/ postgis 2.4
2018-06-11 16:15:05 +01:00
Éric Lemoine
d72e095931
Merge pull request #213 from lbartoletti/fix_configure_ac_define
Adds missing description in AC_DEFINE
2018-06-01 11:49:05 +02:00
Loïc Bartoletti
ff200961ba Adds missing description in AC_DEFINE 2018-06-01 11:33:27 +02:00
The Alchemist
fc26364c21
trying postgres 9.6 w/ postgis 2.4 2018-05-16 19:36:23 -04:00
Éric Lemoine
84e78f956a
Merge pull request #208 from elemoine/readme-index
Indicate how to create an index based on PC_EnvelopeGeometry
2018-05-07 18:25:25 +02:00
Éric Lemoine
6f66a31692 Indicate how to create an index based on PC_EnvelopeGeometry 2018-05-07 18:16:11 +02:00
Éric Lemoine
391e38402d
Merge pull request #203 from elemoine/news
Update the NEWS file
v1.1.0
2018-04-30 11:08:10 +02:00
Éric Lemoine
8ae84ee3ac Update the NEWS file 2018-04-30 11:00:05 +02:00
Éric Lemoine
b65c4f247f Update the NEWS file 2018-04-30 10:58:06 +02:00
Éric Lemoine
d4f489368f
Merge pull request #206 from elemoine/fix-patch-leak
Fix pc_patch_compress leak (take 2)
2018-04-30 10:57:29 +02:00
Éric Lemoine
6e7023f80a Add asserts to pc_patch_*_free functions 2018-04-30 10:50:20 +02:00
Éric Lemoine
5ded34d3a4
Merge pull request #207 from elemoine/typos
Fix typos in function declarations
2018-04-30 10:14:24 +02:00
Éric Lemoine
d775ea0a14 Fix typos in function declarations 2018-04-30 10:04:33 +02:00
Éric Lemoine
fa5d7549b1 Remove unnecessary test
pc_patch_free_stats should always be called with a valid patch.
2018-04-30 09:47:55 +02:00
Éric Lemoine
a7c046e013 Rename pc_patch_common_free to pc_patch_free_stats 2018-04-30 09:47:55 +02:00
Éric Lemoine
3aefbe250c Fix code style 2018-04-30 09:47:55 +02:00
Adam Chidlow
6e3d61a50a Move the freeing of stats into its own function
And call that function from all the different pc_patch_*_free functions.
2018-04-30 09:47:55 +02:00
Éric Lemoine
4fbed71934
Merge pull request #205 from mbredif/patch-1
Update README.md
2018-04-27 12:40:29 +02:00
Mathieu Brédif
cb6c631c33
Update README.md
typo fixing (PC_EnvelopeBinary -> PC_EnvelopeAsBinary)

Can't we say 1.2 instead of 2.0 ?
2018-04-27 12:09:14 +02:00
Éric Lemoine
540195e63d
Merge pull request #202 from elemoine/rip-cmake
Drop CMake support for building
2018-04-27 11:36:22 +02:00
Éric Lemoine
2a17f7b232
Merge pull request #201 from elemoine/versions
Better handling of versions
2018-04-27 10:15:21 +02:00
Éric Lemoine
8f7e0079ca Include Git short commit hash in POINTCLOUD_VERSION 2018-04-27 08:38:50 +02:00
Éric Lemoine
0670d95d4b Add a PC_Full_Version function
This commit adds a PC_Full_Version function whose output is as follows:

	# select pc_full_version();
										 pc_full_version
	------------------------------------------------------------------------------------------
	 POINTCLOUD="1.1.0" PGSQL="96" LIBXML2="2.9.4" LIBGHT enabled=false LAZPERF enabled=false
	(1 row)
2018-04-27 08:38:50 +02:00
Éric Lemoine
b5a205c8f2 Make pointcloud and pointcloud_postgis versions match
Previously the version of pointcloud was 1.1.0 while the version of
pointcloud_postgis was 1.0.0. With this commit we ensure that the
versions are the same.

This commit also adds a PC_PostGIS_Version function that returns
the version of the pointcloud_postgis extension.
2018-04-27 08:38:50 +02:00
Éric Lemoine
19075af104 Drop CMake support for building 2018-04-27 07:31:11 +02:00
Éric Lemoine
83ddc8e292
Merge pull request #194 from elemoine/cache
Remove the generic cache
2018-04-26 18:08:18 +02:00
Éric Lemoine
9e00ac2260 Remove the generic cache 2018-02-26 11:30:32 +01:00
Éric Lemoine
0146bd7e72 Merge pull request #188 from elemoine/remove-argument
Remove "stat text default" argument
2017-08-21 17:44:52 +02:00
Éric Lemoine
d7bb3ed395 Merge pull request #189 from landryb/master
Define inline for all systems, change for Windows to __inline
2017-08-21 17:44:31 +02:00
Éric Lemoine
07ccd89602 Merge pull request #191 from elemoine/travis
Work-around for travis trusty postgis problem
2017-08-16 16:45:32 +02:00
Éric Lemoine
a6ecd519e3 Work-around for travis trusty postgis problem
See https://github.com/travis-ci/travis-ci/issues/6972
2017-08-16 16:40:46 +02:00
Éric Lemoine
32e7164529 Merge pull request #190 from grayed/master
Use proper CMake idioms for libxml2 and zlib.
2017-07-28 10:01:49 +02:00
Vadim Zhukov
97891d35ef Use proper CMake idioms for libxml2 and zlib. 2017-07-27 18:58:05 +03:00
Landry Breuil
c0c0461a2e Define inline for all systems, change for Windows to __inline
Adapted from upstream commit 1eb3da5945bfb753b56e389379795f1408b152e1
2017-07-27 10:42:22 +02:00
Éric Lemoine
087e5d6ab7 Remove "stat text default" argument
This removes the "stat text default" argument from the PC_PatchMin, PC_PatchMax and PC_PatchAvg functions. This argument is not used, and it causes performance issues as reported in https://github.com/pgpointcloud/pointcloud/issues/187.

With this, after upgrading, the PC_PatchMin, PC_PatchMax and PC_PatchAvg functions with the previous signature (with three arguments) will be preserved. DROP FUNCTION PC_PatchXXX(pcpatch, text, text) should be used to drop them.
2017-07-24 09:06:03 +02:00
Éric Lemoine
0130a1c49d Merge pull request #185 from elemoine/hexbytes
Make hexbytes_from_bytes perform better
2017-06-14 10:01:17 +02:00
Éric Lemoine
07c3ddd9f6 Prefix WKB API functions with pc_
This is to avoid conflicts with other libraries, like PostGIS.
2017-06-12 08:42:45 +02:00
Éric Lemoine
7aefd367be Make hexbytes_from_bytes faster 2017-06-12 08:31:03 +02:00
Éric Lemoine
0b1fffa3df Merge pull request #184 from elemoine/pg-config
Mention --with-pgconfig in README
2017-06-02 11:00:13 +02:00
Éric Lemoine
4fd0d445f4 Mention --with-pgconfig in README 2017-06-02 10:46:03 +02:00