É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
Éric Lemoine
b9ecf07606
Merge pull request #183 from ldgeo/master
...
doc: fix README&NEWS, pc_boundingdiagonal doesn't exists
2017-05-31 13:02:39 +02:00
Ludovic Delauné
a2c5b280d1
doc: remove extra chars in README
2017-05-31 11:57:08 +02:00
Ludovic Delauné
77724fd78c
doc: fix README&NEWS, pc_boundingdiagonal doesn't exists
2017-05-31 10:42:29 +02:00
Éric Lemoine
1fc8d0fdcf
Merge pull request #177 from elemoine/travis-libght
...
Build and test with libght in Travis
2017-05-19 18:02:02 +02:00
Éric Lemoine
02115fc8d8
Merge pull request #180 from elemoine/readme
...
Improve PDAL pipeline in README
2017-05-18 08:25:08 +02:00
Éric Lemoine
81f5e0250c
Build and test with libght in Travis
2017-05-18 08:23:23 +02:00
Éric Lemoine
6a3d158e84
Improve PDAL pipeline in README
...
Fixes #179
2017-05-18 08:17:35 +02:00
Éric Lemoine
6f67ffa5d0
Merge pull request #176 from elemoine/fix-ght
...
Fix compilation with libght
2017-05-11 13:46:44 +02:00
Éric Lemoine
114b16dacd
Use pc_patch_set_schema correctly in ght test
2017-05-11 06:42:08 +02:00
Éric Lemoine
d894f3f28a
Use schema->xdim and ydim in ght code
2017-05-11 06:38:33 +02:00
Éric Lemoine
8c03977509
Merge pull request #172 from robe2/master
...
fix compile error for mingw64 (both 64-bit and 32-bit variants). Issu…
2017-05-09 09:59:41 +02:00
robe2
c4474026ad
fix compile error for mingw64 (both 64-bit and 32-bit variants). Issue #171
2017-05-08 17:01:27 -04:00
Éric Lemoine
4776e924be
Merge pull request #170 from elemoine/envelope
...
Add PC_Envelope back to the pointcloud extension
2017-04-27 17:57:29 +02:00
Éric Lemoine
2273d93ab5
Fix pcpatch_envelope_as_bytea function declaration
2017-04-27 17:34:06 +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
0c249f8407
Merge pull request #164 from elemoine/geometry
...
Add the geometry(pcpach) function back
2017-04-26 17:51:17 +02:00
Éric Lemoine
03252e9150
Merge pull request #165 from elemoine/pc-transform
...
Add PC_Transform
2017-04-26 17:50:41 +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
be35ee922a
Merge pull request #169 from elemoine/remove-function
...
Remove declaration of unused function
2017-04-26 16:46:01 +02:00
Éric Lemoine
39cb636d08
Merge pull request #167 from elemoine/strcasecmp
...
Ignore case where comparing dimension names
2017-04-21 08:56:48 +02:00
Éric Lemoine
9d1768e89c
Remove declaration of unused function
2017-04-21 08:55:49 +02:00
Éric Lemoine
1c439e20df
Ignore case where comparing dimension names
...
The case of the characters should be ignored when comparing dimension names in pcpatch_schema_same_dimensions. This is to match the behavior of pc_schema_get_dimension_by_name which ignores the case.
2017-04-20 08:34:04 +02:00
Éric Lemoine
7b112653c0
Merge pull request #163 from elemoine/pc-setpcid
...
Add PC_SetPCId
2017-04-14 16:01:23 +02:00
Éric Lemoine
f6febdd12b
Add the geometry(pcpach) function back
...
For backward-compatibility reasons this commit adds back the `geometry(pcpatch)` function that was removed with 7da35f0. This function is just an alias to `PC_Envelope(pcpatch)`.
2017-04-14 14:14:09 +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
35114e80d3
Merge pull request #162 from elemoine/pointcloud-abs
...
Make pointcloud_abs_out|in immutable and strict
2017-04-09 20:24:30 +02:00
Éric Lemoine
2c49df040f
Merge pull request #158 from elemoine/pc-boundingdiagonal
...
Add PC_BoundingDiagonal(p PCPATCH)
2017-04-05 10:26:44 +02:00
Éric Lemoine
3871772f06
Merge pull request #161 from elemoine/werror
...
Compile with -Werror on Travis
2017-04-04 11:15:31 +02:00
Éric Lemoine
2f6e38a5e3
Make pointcloud_abs_out|in immutable and strict
...
Type I/O functions should not be volatile. PostgreSQL 9.5 and above include a test for this, yielding this warning when a volatile function is detected:
WARNING: type input function pointcloud_abs_in should not be volatile
This commit makes pointcloud_abs_out and pointcloud_abs_in, which are currently empty shells, non-volatile.
2017-04-03 17:47:47 +02:00
Éric Lemoine
eb0c186758
Update the NEWS file
2017-04-03 16:01:38 +02:00
Éric Lemoine
7dd0bccfee
Add a PC_BoundingDiagonal(p pcpatch) function
2017-04-03 16:01:38 +02:00
Éric Lemoine
4f033847fe
Add a PC_BoundingDiagonalAsBinary(p PCPATCH) function
2017-04-03 11:29:13 +02:00
Éric Lemoine
5abc2f3434
Compile with -Werror on Travis
2017-04-02 11:34:27 +02:00
Éric Lemoine
8bc481a043
Merge pull request #149 from mbredif/PC_Envelope
...
PC_EnvelopeAsBinary -> bytea, PC_Envelope -> geometry
2017-04-01 16:49:21 +02:00
Éric Lemoine
8a590cd206
Merge pull request #160 from mbredif/point_xyzm_test
...
Point xyzm test
2017-04-01 16:49:01 +02:00
Mathieu Brédif
0389d77bbc
pc_point_get_* == PC_SUCCESS
...
Make the result of pc_point_get_* more explicit in pc_point_to_geometry_wkb
2017-04-01 10:03:27 +02:00
Mathieu Brédif
4088121eeb
dim pointers instead of positions in PCSCHEMA
...
replaces `int32_t x_position` with `PCDIMENSION *xdim` (and similarly for y,z,m) in PCSCHEMA to get a direct access to the corresponding dimension
-> code readability improvement by discarding the `-1` constant and maybe slight expected performance increase of get/set functions
2017-04-01 10:03:25 +02:00
Mathieu Brédif
a6ceb504c3
test_point_geometry (pcpoint to geometry wkb tests)
...
xy, xyz, xym and xyzm test cases
2017-04-01 10:03:23 +02:00
Mathieu Brédif
f62481bc9b
pcpoint_set/get API normalisation and testing
...
- definition of CU_ASSERT_FAILURE and CU_ASSERT_SUCCESS for easy checking of return values in tests.
- pcpoint_set functions were returning the PC_SUCCESS/PC_FAILURE as a double (!)
- add simple xy, xyz, xym and xyzm xml schemas for unit tests (test_point_xyzm)
2017-04-01 10:03:22 +02:00
Mathieu Brédif
7da35f0699
PC_EnvelopeAsBinary -> bytea, PC_Envelope -> geometry
2017-04-01 09:38:02 +02:00
Éric Lemoine
6ebaa15130
Merge pull request #114 from pblottiere/fix_pointn
...
PC_PointN : add laz support and update NEWS file
2017-03-31 11:19:53 +02:00
Blottiere Paul
e5fa4a3ca2
Add an integration test for pc_pointn with lazperf
2017-03-31 11:13:48 +02:00
Blottiere Paul
ccc6e2714e
Add lazperf support to PC_PointN
2017-03-31 11:12:39 +02:00
Éric Lemoine
67d5b88176
Merge pull request #152 from elemoine/pc-range
...
Add PC_Range(p PCPATCH, first int4, count int4)
2017-03-30 11:48:26 +02:00
Éric Lemoine
b460f0b14a
Merge pull request #157 from elemoine/sql-tests
...
Add an SQL Tests section to README.md
2017-03-30 11:37:56 +02:00
Éric Lemoine
b606a53a03
Merge pull request #159 from pgpointcloud/revert-143-point_xyzm_test
...
Revert "testing : pcpoint_get/set and pc_point_to_geometry_wkb"
2017-03-30 10:26:41 +02:00
Éric Lemoine
4ba2fe6d8f
Revert "testing : pcpoint_get/set and pc_point_to_geometry_wkb"
2017-03-30 10:15:50 +02:00