mapbox / cardboard-geospatial-queries

ISC License
2 stars 4 forks source link

Top features for analytics and spatial queries use cases #3

Open kronick opened 7 years ago

kronick commented 7 years ago

Motivation

Without duplicating the full feature set of a heavyweight spatial database like PostGIS, what spatial features and queries could we offer with Cardboard that would capture a significant number of spatial analytics use cases? How can we efficiently serve basic queries like:

What are the lowest-common-denominator features that would meet this challenge?

Two technical enablers

What we don't need right now (or maybe ever)

References

cc @mtirwin @YunjieLi @ryanbaumann @mcwhittemore

mcwhittemore commented 7 years ago

@kronick - thanks for putting this together.

I agree that the near, within and intersects operators are good for evaluating options.

Looking over the geohashes post, my quick take-aways are:

Just as a reference, the current approach the DynamoDB branch is using in this repo is based on Quadkey indexes and stores the index fully in the RANGE.

ce-goddard commented 7 years ago

Have you thought about using Neo4j? Here is a good article on geospatial indexing w/ neo4j-spatial (graph database).

cc @ryanbaumann @kronick