NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

OSM offer a simple and standard way to express a link to a map feature geometry, for example the Singapore's Merlion Fountain is openstreetmap.org/way/182819157 ... So, how to do similar thing to a box represented by its w21z76281 ~5m×5m Geohash box at an OSM map? There are an OSM's API that I can use by HTTP GET?

alt text

Geohash is a de facto standard to enconde LatLong in only one (base32) number, accepted by PostGIS and many others, see ST_GeoHash() function.


PS1: the non-OSM geohash.org/w21z76281 is ugly (no zoom no box) and points to GoogleMap. As @Maxerickson pointed, geohash.org/w21z76281?format=osm will be near it, but there are no box renderization, and it is a non-OSM's domain name (not really-open as Wikidata.org or open-and-reliable as OSM.ORG or OpenStreetMap.org).

PS2: there are something better to illustrate the resolution box, but also GoogleMap, movable-type.co.uk/scripts/geohash you can see a box... with some work you can see changing to 9-characters and copy/paste "w21z76281".


Example of GoogleMap's renderization,
alt text

asked 01 Sep '18, 11:39

ppKrauss's gravatar image

ppKrauss
95192225
accept rate: 0%

edited 01 Sep '18, 13:23


On their tips and tricks page they show how to redirect to osm:

http://geohash.org/w21z76281?format=osm

For more geohash features on the openstreetmap.org website, the likely answer is that you would have to implement it and then advocate for it's inclusion.

permanent link

answered 01 Sep '18, 11:59

maxerickson's gravatar image

maxerickson
12.7k1083176
accept rate: 32%

Hi @maxerickson, it is a "blind link", with no box, no "resolution clues" about the Geohash of the link. There are something similar to the cited movable-type.co.uk/scripts/geohash with some e box renderization? And some that is OSM.ORG or Wikidata.org or OpenStreetMap.org (... domain that is really open and reliable)

(01 Sep '18, 12:57) ppKrauss

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×4

question asked: 01 Sep '18, 11:39

question was seen: 2,929 times

last updated: 01 Sep '18, 13:23

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum