23 Commits

Author SHA1 Message Date
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
Éric Lemoine
4ba2fe6d8f Revert "testing : pcpoint_get/set and pc_point_to_geometry_wkb" 2017-03-30 10:15:50 +02:00
Mathieu Brédif
30a680f94a 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-03-21 13:57:19 +01:00
Mathieu Brédif
266113d1cb pointlist memory fix, pc_pointlist_from_dimensional memory optimization
pointlist: opaque mem pointer rather than readonly attribute
pc_patch_uncompressed_readonly: transfers data ownership
pc_pointlist_from_dimensional: 1 pcalloc/patch rather than 1/point
2017-02-16 10:47:37 +01:00
Mathieu Brédif
ef5fc167d8 indentation normalization 2017-02-12 23:52:15 +01:00
Mathieu Brédif
5a0f7944fd new PC_PointN function 2016-03-07 15:57:05 +01:00
Sandro Santilli
cd7a644818 Drop a memory copy in pc_patch_to_string (#74) 2015-04-21 11:12:07 +02:00
Sandro Santilli
db42b12e0c Fix memory leak in pc_patch_uncompressed_compute_extent 2015-04-13 15:48:15 +02:00
Sandro Santilli
9243eeaaee Add a couple of return values check
now that pcerror is not guaranteed to exit it is worth checking returns
2015-02-09 19:56:37 +01:00
Paul Ramsey
1d586ee151 Add a stats-based pre-filter to the generic filtering 2013-07-03 13:26:09 -07:00
Paul Ramsey
567e2979ac Remember to clone stats on patch copy 2013-06-13 14:22:47 -07:00
Paul Ramsey
12123bdbb1 astyle pass 2013-06-12 17:13:19 -07:00
Paul Ramsey
668d2413b2 Tests in place for patchlevel filtering
much optimization left to do
2013-06-04 14:53:42 -07:00
Paul Ramsey
3655ec0ab2 Rejigging 2013-05-31 16:12:08 -07:00
Paul Ramsey
b76a3b8300 Continue with stats calculation reworking 2013-05-30 16:18:42 -07:00
Paul Ramsey
52d6e0243f Rough draft of stats w/ serialize/deserialize 2013-05-28 19:20:53 -07:00
Paul Ramsey
af3b93e226 Platform support 2013-05-16 15:06:27 -07:00
Paul Ramsey
6e7dc88520 Update copyright to reference NrCan 2013-03-08 13:53:06 -08:00
Paul Ramsey
73da920ff0 Remove trailing white space from .c files 2013-03-08 13:46:06 -08:00
Paul Ramsey
d4a104bd77 Enable dimensional storage in the db 2013-03-06 22:06:23 -08:00
Paul Ramsey
e80fc20244 Fix memory error in allocator 2013-03-04 13:00:13 -08:00
Paul Ramsey
b457b2faee Add in aggregate functions for pc_union(pcpatch) 2013-03-04 11:55:12 -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