-
Notifications
You must be signed in to change notification settings - Fork 926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breadcrumb #848
Comments
👎 to sticking a location breadcrumb on the query features button - it doesn't seem like a place a user would look for it, and the tooltip should explain what the button is, not provide content. You've not discussed where "Where am I?" fits into this, given it provides the functionality you are after in a different way. What would happen to Where am I? |
@pnorman Whoops, forgot to update the title as I continued thinking about it. And I wasn’t suggesting bringing back the “where am I?” feature in the same form; I’m more interested in getting something as close to a dynamic breadcrumb as possible. |
Reverse geocoding is not that expensive, Nominatim can handle quite a number of requests, especially if we get the second server up and if reverse geocoding is changed to make use of the new postgis 2 functions for finding the closest object. Gut feeling tells me that it should be possible to have breadcrumbs if you go for an implementation where the breadcrumb is updated not on every move but only a second or so after zooming and panning stops. Naturally, some solid numbers on the load produced would be needed for a definitive answer. |
So it is theoretically possible to add a constantly updated string with reverse geocoded position in a corner of the slippy map, removing "where am I" button? |
Well of course it's theoretically possible - almost anything is theoretically possible. |
Okay, I meant "practically", like, nominatim server would not be overloaded. |
"Where am I" feature isn't very intuitive. Sidebar with 3 results to a simple question (internal coordinates?). I would remove this completely when adding location breadcrumb. So what is needed to test if nominatim servers are capeable of a "reverse geocoding"-query to every map move? In case this slows osm.org we need better hardware for nominatim server or improvements to the nominatim backend needs to be done ;) Imho frontend issues like this shouldn't deal with backend problematics in first place, but with the idea in general. |
OSM should somehow show you the country, region, and city you’re currently zoomed in on. It’d be especially useful when you follow a link and have no idea what part of the map it’s pointing to.
Bing and Multimap provide this context as a dynamic “breadcrumb” at the top of the map. Nominatim is also capable of providing data for a breadcrumb, but the comments in #85 indicate that querying every time you pan or zoom would put too much strain on the geocoder. We should consider a less expensive way to provide context, such as:
When clicking or mousing over the “Query features” button, briefly show the current breadcrumb. The “Query features” button is currently disabled at z13 and below, so this would give the button something to do when you’ve zoomed too far out to perform an overpass query. We could call the button “What am I looking at?”Include a breadcrumb in the Legend or Share panels. (The Legend panel could have entries for the different administrative boundary patterns, each one labeled with the administrative boundary you’re currently in.)(Edit: Struck out the latter two suggestions, since that’s no better than the “where am I?” feature we still have.)
The lack of a breadcrumb is sometimes cited on the talk-us mailing list as one reason to insist that
ref
s on state highways indicate the state unambiguously (e.g., “FL 123” in Florida), even where local usage differs (like “SR 123” in some U.S. states). But that tagging rule wouldn’t really solve the problem it’s supposed to. For example, if you’re looking at a city’s central business district or deep within a national park, there may be no state highway within view to tell you which state you’re in. It also isn’t universally agreed that theref
of a highway way should be responsible for providing this information – I can’t tell which county of Ireland I’m in just by looking at highway shields.The text was updated successfully, but these errors were encountered: