Lionel Sambuc c4b2bd2fe2 Adding features
* Support for multi-resolution indexes
 * Support for ViewPort as an extra parameter to automatically select
   the index resolution
 * Take into account axis units while converting between spaces.
2019-10-18 12:31:51 +02:00
2019-10-03 14:54:33 +02:00
2019-09-16 18:09:21 +02:00
2019-10-18 12:31:51 +02:00
2019-09-16 18:09:21 +02:00
2019-09-16 18:09:21 +02:00
2019-09-16 18:09:21 +02:00
2019-09-16 18:09:21 +02:00
2019-09-16 18:09:21 +02:00
2019-09-16 18:09:21 +02:00
2019-10-18 12:31:51 +02:00
2019-10-18 12:31:51 +02:00
2019-10-18 12:31:51 +02:00
2019-10-18 12:31:51 +02:00
2019-09-04 11:05:07 +02:00
2019-09-16 18:09:21 +02:00
2019-09-04 10:12:35 +02:00
2019-10-04 20:01:53 +02:00
2019-09-16 18:09:21 +02:00
2019-09-04 10:12:35 +02:00
2019-10-04 20:01:53 +02:00

Mercator Workspace

This repository references everything needed to build various tools related to the Spatial Index.

Mercator: Spatial Index

Mercator is a spatial volumetric index for the Human Brain Project. It is a component of the Knowledge Graph service, which provides the spatial anchoring for the metadata registered as well as processes the volumetric queries.

It is build on top of the Iron Sea database toolkit.

Iron Sea: Database Toolkit

Iron Sea provides a set of database engine bricks, which can be combined and applied on arbitrary data structures.

Unlike a traditional database, it does not assume a specific physical structure for the tables nor the records, but relies on the developper to provide a set of extractor functions which are used by the specific indices provided.

This enables the index implementations to be agnostic from the underlying data structure, and re-used.

Requirements

Software

Quick start

  • Clone the workspace, which will take care of bringing all the repositories needed.

    git clone --recurse git@gitlab.epfl.ch:DIAS/PROJECTS/HBP-SP5/mercator.git
    

    The following steps assume the working directory is the root of the mercator repository.

  • [Optional] Create 3 datasets, of 1, 10 and 100 features respectively, each with 1000 positions:

    cd mercator_data_generator
    cargo run --release -- 1 10 100
    
  • Index the data:

    cd mercator_indexer
    for f in ../mercator_data_generator/1*.json
    do
    	    ln -s $f
    done
    cargo run --release -- 1k 10k 100k
    
  • Run the Spatial Index, while providing the path to the datasets.

    cd mercator_service
    RUST_LOG="warn,actix_web=info,mercator_service=trace" \
      MERCATOR_DATA="../mercator_indexer/" \
      MERCATOR_ALLOWED_ORIGINS="http://localhost:3200" \
      cargo run --release
    

Documentation

For more information, please refer to the documentation.

If you want to build the documentation and access it locally, you can use:

cargo doc --open

Acknowledgements

This open source software code was developed in part or in whole in the Human Brain Project, funded from the European Unions Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreement No. 785907 (Human Brain Project SGA2).

Description
Languages
Shell 100%