oureadb

module
v0.0.0-...-f4e3eaa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2020 License: MIT

README

wercker statusGo Report Card GoDoc

OureaDB

A general purpose geo data storing and indexing tool.

GeoJSON can be geo indexed and stored in protobuf (see TestGeoJSONFeatureToGeoData()) into different KV storages.

  • Using badger database
  • GoLevelDB
  • BoltDB
  • In memory using gtreap

Fast Geo & time Indexes are provided:

  • S2FlatIdx a points, lines & polygons indexer, flat cover using s2

  • S2FlatTimeIdx a geo reverse timed points, lines & polygons indexer, flat cover using s2

  • S2PointIdx a point only generic indexer using s2

Debug tools:

  • S2CellQueryHandler() returns a GeoJSON of cells tokens passed to it

  • GeoJSONToCellHandler() returns a GeoJSON of cells covering the GeoJSON geometry passed to it

Directories

Path Synopsis
cmd
geodata
Package geodata is a generated protocol buffer package.
Package geodata is a generated protocol buffer package.
boltdb
Package boltdb implements a store.KVStore on top of BoltDB.
Package boltdb implements a store.KVStore on top of BoltDB.
gtreap
Package gtreap provides an in-memory implementation of the KVStore interfaces using the gtreap balanced-binary treap, copy-on-write data structure.
Package gtreap provides an in-memory implementation of the KVStore interfaces using the gtreap balanced-binary treap, copy-on-write data structure.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL