Why not ask your question on the new OpenStreetMap Community Forum?


I would like to capture latitude and longitude (or another searchable geocoding mechanism) when a user enters an address or selects a location on a map.

How can I do this?

Thanks, Jim

asked 07 Nov '22, 00:10

jtappe's gravatar image

accept rate: 0%

If you browse the map or do an address search the Lat Long are the co-ords of the screen center. Lat lon is highlighted.

alt text

permanent link

answered 07 Nov '22, 09:52

andy%20mackey's gravatar image

andy mackey
accept rate: 4%

edited 07 Nov '22, 10:41

Note : OSM represents South and West as negative numbers. With lat long North is a positive south is negative (-) East is positive, West is negative (-)

(07 Nov '22, 09:59) andy mackey
Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 07 Nov '22, 00:10

question was seen: 547 times

last updated: 07 Nov '22, 10:41

powered by OSQA