This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Adress handover via URI?

0

Hello,

is it possible to commit an adress to OSM via an URI?

I've got an Access database, which contains the fields postcode, city, street and company name.

I would like to commit these fields to OSM for visualizing the adress on the map.

In Google Maps, I can add the adress fields in the URI, e.g.:

http://maps.google.de/maps?f=q&source=s_q&hl=de&geocode=&q=Street,+City

Kind regards, Daniel

asked 13 Jun '13, 08:41

Daniel%20Schunk's gravatar image

Daniel Schunk
16113
accept rate: 0%


One Answer:

3

OSM uses nominatim for geocoding - use for example http://nominatim.openstreetmap.org/search.php?q=Haarenfeld%2010%2C+Oldenburg&viewbox=8.17%2C53.16%2C8.18%2C53.15&polygon=1 , where you pass the same q parameter as for google maps. You'll need to experiment with the viewbox and polygon parameters.

See and comply with the https://wiki.openstreetmap.org/wiki/Nominatim_usage_policy

answered 13 Jun '13, 09:37

gormo's gravatar image

gormo
2.9k32660
accept rate: 13%

edited 13 Jun '13, 09:39

Source code available on GitHub .