-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
type:featureNew capability or enhancementNew capability or enhancement
Description
Anticipating #67 (name based queries) that will add to the existing OpenStreetMap type queries based on key value pairs the proposal here is to consider generalising the geospatial search.
The goal is to make a user friendly GeoSearch that returns a GetRequest ready for the HTTPAdapter to Pull (or maybe the HTTPAdapter part is also wrapped up and return results?)

4 simple inputs are the input basic requirement:
- searchFor (mandatory)
- searchIn (optional)
- settings (optional)
- active (run)
Mandatory what to search for
- OSM objects (defined by standard OSM key or category and type (if no type all types in category))
- Addresses (or part addresses)
- Free form queries (taking advantage of Nominatim special phrases)

Optional where to search in (default is the world):
- latitude, longitude point and radius string
- point (as per geojson point spec) and radius
- boundingbox (as per geojson spec)
- polygon (as per geojson spec)

Optional settings (default is to return geojson formatted data + polygons, limit result to 50, provide all details, search all countries)
At most simple this could unlock the potential of a search like this:

Steps towards this (each an individual PR):
- Merge PR Improved performance for ToUTM conversions #66
- Add basic unwrapped Nominatin requests Add Nominatim query functionality #67
- Add prototype GeoJson objects (just in the OpenStreetMap_Toolkit as a start)
- Add converts ToGeoJson and FromGeoJson (including extending the ToUTM converts to convert GeoJson to Universal Transverse Mercator)
- Add OpenStreetMap_Toolkit request builder to return a correctly configured
GetRequest. - Wrap the GeoSearch as described above.
@rwemay @al-fisher any further thoughts on this one?
Metadata
Metadata
Assignees
Labels
type:featureNew capability or enhancementNew capability or enhancement
