33 Commits

Author SHA1 Message Date
Blottiere Paul
ccc6e2714e Add lazperf support to PC_PointN 2017-03-31 11:12:39 +02:00
Blottiere Paul
fb5f1dcca4 Add PC_Range(p PCPATCH, first int4, count int4)
This commit adds a PC_Range function. This function returns a patch of "count" points. These points are selected from the start-th point in the input patch.
2017-03-30 09:03:04 +02:00
Mathieu Brédif
ef5fc167d8 indentation normalization 2017-02-12 23:52:15 +01:00
Éric Lemoine
071d9a72a7 Make pc_patch_compress return the compressed patch
When compressing a patch from GHT to LAZPERF the pc_patch_compress function
currently returns the uncompressed patch.

This commit fixes the bug in pc_patch_compress and adds unit tests for
pc_patch_compress.
2017-02-10 15:01:53 +01:00
Éric Lemoine
122848cf28 Fix argument passed to pc_patch_lazperf_compute_extent 2017-01-24 16:31:15 +01: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
ca62fdf00f Fix leak in pc_patch_from_patchlist 2015-04-21 16:19:52 +02:00
Sandro Santilli
ab76f32045 Fix leak in pc_patch_compute_stats 2015-04-21 16:15:47 +02:00
Sandro Santilli
fed95d2f73 Remove unused include 2015-04-20 19:17:29 +02:00
Sandro Santilli
a4df1e54cd Do not assume pc_patch_ght_from_uncompressed cannot return NULL
Print an error if it does, and use pcerror from within the function
to reduce the likelihood of returning NULL w/out an actual error.

Fixes the crash reported in #31
2015-02-04 10:06:38 +01:00
Paul Ramsey
a2678313d1 Clean build on OSX Mountain Lion 2013-10-21 14:43:03 -07:00
Paul Ramsey
12123bdbb1 astyle pass 2013-06-12 17:13:19 -07:00
Paul Ramsey
69ec4d3ce0 More rejig 2013-05-31 16:17:15 -07:00
Paul Ramsey
89611f6101 Working draft of stats on serialization and patches, oof 2013-05-31 12:07:48 -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
e7a8d42d70 Basic stats calculator 2013-05-25 12:04:11 -07:00
Paul Ramsey
0afb39f7ac Move WKB extent extract to db side,
so it can do higher performance datum
slicing instead of pulling the whole
object off disk
2013-05-08 13:52:45 -07:00
Paul Ramsey
b8d425dfb4 Ready to test GHT compression 2013-05-06 11:16:06 -07:00
Paul Ramsey
97f4ec6984 GHT WKB handling, in/out 2013-05-06 10:54:07 -07:00
Paul Ramsey
c4f92fa223 Add to string functions, extent function 2013-05-06 09:40:22 -07:00
Paul Ramsey
c6df52281c Roughing GHT support. WKB read, serialization, deserialization done. WKB write remains to do. 2013-05-06 05:56:17 -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
f6f9c4281c PC_Uncompress and PC_NumPoints 2013-03-06 11:14:46 -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
Paul Ramsey
716fdd2f50 ug 2013-02-27 14:46:49 -08:00
Paul Ramsey
efd85bc528 Rename libpc to lib for hobu 2013-02-04 15:36:13 -08:00