44 Commits

Author SHA1 Message Date
c104a22407 Updated dependencies and fixed linter warnings 2024-08-11 13:59:22 +02:00
bd257cf2dd Use iterators instead of materializing eagerly 2021-02-28 12:13:09 +01:00
17d9cbc86f Update Cargo.toml 2021-02-28 12:12:48 +01:00
ba02162d97 Skip the vec! macro to create an empty vector 2020-07-25 12:52:44 +02:00
9cab1916c9 Adding documentation, some code cleanups
* Not re-exporting SpaceSetObject outside of the crate
 * Removed unused SpaceObject definition
 * Factored out Point definition.
 * Remove `pub` visibility on definition not actually requiring it.
 * Added an assert for indexing into a Position, in the case where the
   position has only one dimension, the index MUST BE 0.
 * Commented `highest_resolution()` as this is not yet used.
2020-03-31 12:04:01 +02:00
a10ffdac7d Fix forgotten unwrap of the core while serializing
The core was serialized into the file within an Ok(), which is not
expected by the mercator service.
2020-01-27 13:35:38 +01:00
a72fbcc88f Improve error handling.
Return to caller error codes as soon as they cannot be handled locally.
2020-01-20 15:48:29 +01:00
3958ebaef2 Update SerDe usage 2020-01-15 15:50:49 +01:00
9c3898bf46 Adding MeshViewer XYZ format support 2020-01-15 15:48:18 +01:00
c45f9c145d Reorganising storage layer 2020-01-14 11:04:13 +01:00
08b4187ce3 Reworked output JSON. Halves the transferred size. 2020-01-13 13:45:21 +01:00
fdade86b2a Remove conversions & shorten variable lifetime 2020-01-13 13:44:53 +01:00
b384fc4c7e Dependencies cleanup 2020-01-13 13:43:23 +01:00
24e2e724e0 Split conversion of spaces and objects 2020-01-13 13:43:23 +01:00
97fefec1c9 Optimisation: Reworked comparison for SpaceFields 2020-01-13 13:42:40 +01:00
d5429e88dd Filter out the label used for the selection. 2020-01-13 13:42:09 +01:00
1fba351783 Fix some clippy warnings 2020-01-13 13:42:09 +01:00
b50bf5d49c Allow clipping shapes when projecting in a space
This enables filter() without a collection to work correctly.
2020-01-10 11:01:40 +01:00
d66a84eaf7 Remove size optimisation for values indices. 2019-11-13 16:28:49 +01:00
e154e549d3 Reduce allocations, prevent a String object creation unless required. 2019-11-13 15:36:04 +01:00
85d322877e Remove sub-arrays for Values.
This prevents using references and forces extra allocations during
queries as we have to adapt the values.

Also remove is_empty() as it si currently unused, and needs to be
adapted.
2019-11-07 17:54:21 +01:00
82050d6b75 Skip temporary allocations 2019-10-31 15:14:06 +01:00
cdb3746a34 Keep Record impl near user 2019-10-30 21:37:24 +01:00
3b34991e24 Update to_spatial_object 2019-10-30 21:37:24 +01:00
e0b6dda0ac core.get_by_id returns a list of positions 2019-10-30 21:37:24 +01:00
617c2a1018 Remove SpaceId struct 2019-10-30 21:37:24 +01:00
b112fcfab6 Adapting to new Index return type 2019-10-30 21:37:24 +01:00
8699c066e5 Remove Table and VectorTable 2019-10-29 09:10:27 +01:00
7a0fbc612f Removing memory allocations 2019-10-18 20:56:10 +02:00
6fc2cc5942 Refactoring
* Refactor the index scale selection.

 * Document more explicitly where coordinates are encoded or not.

 * Improve error messages part of the encoding / decoding and of space
   projections.
2019-10-18 11:13:54 +02:00
750857a5bb Push down one more layer CoreQueryParameters
* Push down the parameters in order for filtering to be done as early
   as possible w.r.t the view port.

 * Add view_port-based filtering in the lower-layers of the DB.

 * Implement PartialOrd on Position, to simplify point in box checks.
2019-10-18 11:11:33 +02:00
26ea443a33 Add support for unit scaling between spaces 2019-10-16 16:44:34 +02:00
0449f5a90a Implement ViewPort & resolution selection
* Implement multi-scale indices generation.

 * Deduplicate values before sorting them while generating an index, to
   reduce the number of points to sort.

 * Use a hastable to deduplicate values, instead of a sort + dedup call.

 * Minor code cleanups
2019-10-15 19:30:01 +02:00
8fcf1b74e7 Implement Hash for SpaceObject 2019-10-08 10:46:31 +02:00
ab718bf491 Opt: Skip an object allocation 2019-10-08 10:44:17 +02:00
e4a1959fc7 Don't append .index to core name autmatically
The array of string passed to load() is now full file names instead of
Core / dataset names.
2019-10-04 19:10:49 +02:00
57e2710915 Add dataset versionning & multi-core support 2019-10-04 15:43:51 +02:00
debd25c3d8 Group query parameters into a structure 2019-10-02 18:30:35 +02:00
fb3ead444b Wee bit early to disable trace logs for release build 2019-09-16 17:29:40 +02:00
142646f7e4 Adapt to Mercator JSON API formats 2019-09-10 13:47:51 +02:00
0a24bb441e Initial commit 2019-09-09 14:32:52 +02:00
09d79d5d3b Test Data 2019-08-27 17:25:09 +02:00
274ac917f4 Ignore generated files 2019-08-27 14:14:51 +02:00
7632f20751 Licenses and acknowledgements 2019-08-27 14:12:50 +02:00