Biểu trưng OpenStreetMap OpenStreetMap

Ideas for short URLs to places on OpenStreetMap

Do dankarran đăng vào 20 tháng 11 năm 2011 bằng English.

I wonder if we can improve the way maps of places can be accessed on osm.org using short, friendly URLs...

If you look at pages on the wiki, they can (often) be easily accessed by typing something as simple as wiki.osm.org/brighton or wiki.osm.org/germany because the wiki software will check for the nearest match and send you there.

On the main OSM site, we have a 404 page (see e.g. osm.org/brighton) which currently doesn't do much, but could be put to better use to redirect people to either a known place or a search results page.

When I say known places, I mean we could include redirects for specific countries (e.g. osm.org/us osm.org/de) using their ISO country codes and information about their bounding box. We could also do something similar for places in a more general sense, but because there will be overlap there, maybe a search result would be best for that.

Is there currently a way of linking directly to a search result on the main OSM site? I couldn't spot one, but I may have overlooked it.

Any thoughts? Would this be useful? Any drawbacks in terms of losing the static 404 page?

Biểu tượng thư điện tử Biểu tượng Bluesky Biểu tượng Facebook Biểu tượng LinkedIn Biểu tượng Mastodon Biểu tượng Telegram Biểu tượng X

Thảo luận

Bình luận của dankarran vào 22 tháng 11 năm 2011 lúc 18:48

Added a Trac ticket - http://trac.openstreetmap.org/ticket/4101 - as a prerequisite to this, so search results can be linked to. Hoping to look into this on Saturday at the hack weekend.

Bình luận của LivingWithDragons vào 22 tháng 11 năm 2011 lúc 19:40

This is really helpful.
http://www.livingwithdragons.com/2011/01/searching-in-chrome

For a suggestion, what about adding to the 404 page a "Did you mean..." box. That could link to wiki search results (if a place, then it gives links to the community of said place) along with places on the map.

Bình luận của Firefishy vào 14 tháng 12 năm 2011 lúc 15:52

For the archives....

osm.org/?query=brighton

Đăng nhập để nhận xét