Does the openstreetmap.org URL support any parameters other than "layers"?

Hi -

The main reason for the question is that I’d like to add a note to a map that I can share with folks simply by adding one or more arguments to a URL. For instance, perhaps something along the lines of

openstreetmap .org/#map=19/43.112366/-72.903782&layers=N&note=“OUR BUILDING”

I would also be interested in seeing a list of any other options that might be supported.

Thanks

I know of placing a marker using mlat and mlon : OpenStreetMap

If you want something more than a simple marker, maybe look at umap.openstreetmap.fr or www.facilmap.org

1 Like

Sorry if I’ve misunderstood, but why not just add your building to the map?

Thanks for all the quick responses. It looks like umap is exactly what I’m looking for.

1 Like

Why not share Way: 1105058797 | OpenStreetMap in the first place?

1 Like

Great idea, hlfan. Thx! In general, is there an easy method of finding the way id of an object? I was able to do it using the following painful process. I’m hoping there is a more direct approach.

  1. Select “Export” from top row menu
  2. Manually draw a rectangle as close as possible to the object
  3. Click “Export” button to download “map.osm” file
  4. View the downloaded “map.osm” file to find the “id” attribute of <way>elements.

The challenge is that there may be many entries, even when drawing a very tight rectangle. Trial and error might be needed to find the correct one.

For example, I exported the data for one of the Stratton buildings. There were 14 <way>elements. I was able to rule out some of them since the number of <nd> child elements was much less than the number of points in the polygon. But there were still several <way> elements that I needed to try.

You can use the Query tool (icon with arrow and Question mark in the panel on the right). Use this to click close to the object, or inside if it is a closed way. That will show a panel with a list of nearby and enclosing objects - it’s usually easy enough to find the one you are interested in. That will give you the url directly, you don’t need to manually type the way id.

1 Like

That did the trick. Thanks.

1 Like