ProfessionalWiki / ProfessionalWiki/Maps
Geospatial "contains" queries
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 78
- Forks
- 65
- Avg merge
- 9h 17m
- Merged PRs (30d)
- 6
Description
Besides query based on category or property, a powerful query method is available through distance query.
https://www.semantic-mediawiki.org/wiki/Semantic_Maps_examples/Distance_query
I wonder if there's a way to query points by setting a polygon and search for points inside a polygon. This would be no different than distance query (setting a center and a distance from the center) but in reverse.
The distance query is good if you're looking at a square area, but it wouldn't work if the area that you want to query a point is not a square.
Comparison of what I can do with distance query and the polygon that I want the system to search for points inside:
https://www.transit.wiki/Sandbox_2
Contributor guide
No contributing guide indexed for this repository
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 by reading the linked Semantic Maps distance-query examples and compare them with the polygon example in the issue. Identify the existing distance-query entry point and determine how polygon geometry would be supplied; done means a query can return points contained by a specified polygon.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend, search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100