OvertureMaps / io-site

MIT License
33 stars 5 forks source link

[Feature Request] Ability to search features by their ids #90

Open ylinzhi opened 3 months ago

ylinzhi commented 3 months ago

It would be great to search a specific feature by using feature id (e.g., '08a194dbad937fff046f9378a6d1b332'. It would help to zoom in to target investigation location more efficiently

bdon commented 2 months ago

This would be super useful but likely demands an external service that takes a GERS ID and returns the extent of a feature. makes sense to do alongside search/geocoding.

On the other hand, it should be possible now to put the "selected" feature state into the URL, alongside the position, for a URL like:

https://explore.overturemaps.org/#16/51.05/3.7303?gers=08a194dbad937fff046f9378a6d1b332
Bonkles commented 2 months ago

Agree with @bdon - general worldwide search of all GERS Ids isn't feasible, but we may be able to just 'search locally' with the data in front of the user.

I have created #115 to track @bdon's suggestion about keeping the selected id in the url.