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

I have the coordinates (latitude and longitude) for a location. How can I make the map on www.openstreetmap.org display the area in question?

asked 29 Dec '11, 00:57

Allan%20J's gravatar image

Allan J
71123
accept rate: 0%

edited 29 Jul '16, 20:54

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


The web site on www.openstreetmap.org does not have a dedicated coordinate input field, but you can easily construct an URL that gets you to a set of coordinates by writing

http://www.openstreetmap.org/?mlat=latitude&mlon=longitude&zoom=12

You can also enter latitude,longitude in the search box which will then present you with a pseudo "search result" consisting of exactly such a link.

It would be trivial to set up your own OpenLayers web site that has a dedicated latitude/longitude input box if that is important to you.

permanent link

answered 29 Dec '11, 07:30

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

And this make another example why osm is useless.

a friend give me this location. i will use google, because there is no other variant that i can use without installing a server !!!!!!~!! Are you kidding me ?

45°31’49.28″N, 25°59’18.94″E

this is basic, not even basic, but elementary.

happy complaining that people prefer to use gm instead of osm.

Don`t make a google maps competition, but make the site usable at least.

(04 Jun '12, 18:24) Badita Florin
4

Yes. You need coordinates with decimal degrees, not the ones with degrees, minutes, and decimal seconds that you have used. Convert a DD°MM'SS.FF coordinate to decimal degrees by computing the value of DD+(MM/60)+(SS.FF/3600), use a negative sign for West or South. In your case this yields 49.530355 and 25.98859. Of course you could easily make a Javascript page that does this computation if you wanted. You could also ask people to add this code to the main OSM web site but opening your request with the line "OSM is useless" will not get you the desired response.

(04 Jun '12, 18:24) Frederik Ramm ♦
2

Frederik I understand you, but I think that altough he is not polite he represents very big userbase. I think OSM community should start seriously investigate what are the blockers for these users, because by not giving them what need we potentially loose many users and later on contributors. I think we should learn from reactions like that.

(05 Sep '12, 09:04) gorn
2

Fully agree with Gorn, the feature of being able to enter coordinates in some different formats both in the viewer and Potlatch editor is absolutely essential!

(05 Sep '12, 18:41) tobiasra

I am glad for all the answers, and i know that osm.org is not a website, it`s a database.

@Frederik i am saying strong statements because i`m sick of seeing people contributing to the wrong project (by wrong i reffer to closed sourced ) instead of osm because they will not use 10 different websites when they could use only one.

I do workshops and presentations where i present osm and the advantages, asked the romanian users of google map maker why they contribute,etc. As i posted in my diary, a osm website 2.0 it`s useful. http://www.openstreetmap.org/user/baditaflorin/diary/16914

(14 Sep '12, 14:05) Badita Florin

On the map page you will have something like this http://www.openstreetmap.org/#map=9/-38.3266/144.8781

just edit the latitude and longitude. and the map can jump to the new location.

note negative is used for west and south and positive for north and east. If you wish convert Degrees Minutes and seconds to decimal degrees then you can use this site http://transition.fcc.gov/mb/audio/bickel/DDDMMSS-decimal.html (note link not working now) minutes are 1/60 of a degree and seconds are 1/60 of a minute.... you'll need to do the maths. So 52 : 25 : 46 would become 52 + 25/60 + 46/3600 decimal degrees for example.

permanent link

answered 22 Aug '14, 22:21

andy%20mackey's gravatar image

andy mackey
13.2k87143285
accept rate: 4%

edited 29 Jul '16, 20:30

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

another option: just enter some coordinates into the search box (e.g. 52.51834,13.37568 ) and Go/Enter. Then click on the one "Results from Internal" link. It will jump to this location.

permanent link

answered 29 Jul '16, 20:37

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554
accept rate: 18%

This works 52.51834,13.37568.... but 52 N 13 E did not so format is important. This fails 52.5, -.3 but 52.5, -0.3 is ok

(29 Jul '16, 23:08) andy mackey

First to thank you for a great resource in OSM, it is much appreciated.

Wakening an old thread but first result from a Google search. Gorn speaks directly to the point when he says "because by not giving them what need we potentially loose many users and later on contributors. I think we should learn from reactions like that."

My scenario that may or may not prove useful to this regard and is more related to user actions. The conversion appears succesful but the interaction beyond this is not expected.

  1. using Garmin gps and then Basecamp during my travels I mark waypoints for the specific use of my own maps and updating OSM.
  2. reviewing my gps logs/waypoints I download to Basecamp which gives me the location as such "N41° 13.734' W75° 03.450'"
  3. login to OSM to post a 'closed road' or whatever by searching by that exact coordinate returns with the following url and a red dropoint in the middle of the map, looking at the east coast of the USA.
  4. Zoom is far out so I mouse over and mouse click on the zoom adjustment more and more. The red dropoint disappears every time I mouse over the map to zoom in, so adjust, click on search link, zoom, adjust, zoom, adjust, click on search link, etc.
  5. Finally get to reasonable visible level and this is the result url: https://www.openstreetmap.org/search?query=N41%C2%B0%2013.734%27%20W75%C2%B0%2003.450%27#map=13/41.2290/-75.0576
  6. Desired Resolution: keep red dropoint and maintain during click-zoom interaction.

May or not be useful, just some points. Thank you for a great resource and all the work that is provided. Marcus

ps - autolist numbering is odd.

permanent link

answered 22 Aug '14, 21:41

econwatch's gravatar image

econwatch
1
accept rate: 0%

1

It's easy to change the lat/lon format in Basecamp to one in decimal degrees. There are numerous tools online such as GeoHack, nearby.org which will convert between various formats and provide links to major map engines (including

(29 Jul '16, 16:31) SK53 ♦

On many Garmin Gpses lat/lon format as options. so:- Position Format: choose hdddd.dddd and your device will diplay decimal degrees format as used by OSM but note west is represented by negative sign. this may be easier for you.

(30 Jul '16, 07:40) andy mackey

Works on Oregon 450, Vista HCX and NUVI 1310

(30 Jul '16, 07:44) andy mackey

But what about simply putting a marker on the map, without adding anything to the database? By way of example: I would like to be able to pop up OCM from a QR'd URL (for example: https://www.opencyclemap.org/?mlat=61.2 … 5&zoom=18) and have an actual marker at that point. I suppose I could add points in the DB for every instance I placed a QR code maker on a trail, but that seems a bit of extra work for nought.

permanent link

answered 11 Oct '17, 23:40

net-buoy's gravatar image

net-buoy
26224
accept rate: 0%

Thank you, Frederik

It looks like the pointer is provided via the permalink feature (#map), while the (layers=) provides the opencyclemap layer, the zoom can be set by "zoom=" OR it can be set as the first portion of the permalink, appended to the mlon= ( e.g. #map=18/61.20605/-149.78565) Is that all accurate, and if so, is there one part of the wiki that provides the specifics on using URLs to reference OSM?

(12 Oct '17, 17:49) net-buoy
(12 Oct '17, 17:53) SomeoneElse ♦
1

AHA! The link on browsing ( https://wiki.openstreetmap.org/wiki/Browsing ) was just what I needed! The full explanation on the share panel was excellent, and the details on the composition on a URL was comprehensive.

THANKS!

(12 Oct '17, 18:38) net-buoy

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:

×144
×89
×1

question asked: 29 Dec '11, 00:57

question was seen: 80,447 times

last updated: 12 Oct '17, 18:38

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