graphprotocol / graphprotocol/graph-node
Add support for spatial fields & queries
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 3.2k
- Forks
- 1.1k
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 1
Description
Users may want to save spatial data (longitude, latitude) in their subgraphs, and then query entities on the basis of proximity or containment. This is not natively supported by Postgres, and is not an option in graph-node.
An optional Postgis extension could allow spatial types and queries to be added to subgraphs.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked forum thread and review how graph-node currently handles PostgreSQL-backed subgraph data. Investigate whether an optional PostGIS extension can provide spatial types and proximity or containment queries, and define support for both before implementation begins.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql
- Domain
- database
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100