Hi, Can I use OpenStreetMap to find map coordinates for a street by name? I'm interested for a web application using php/html/javascript/mysql technologies. asked 11 May '11, 08:29 xprt64 Frederik Ramm ♦ |
You are looking for geocoding based on OpenStreetMap. There are several different ways to do it. If you want to set up your own server, try Nominatim. There are other solutions out there, e.g. the GeoCommons geocoder aimed primarily at geocoding US addresses (not sure how far their OpenStreetMap import project has progressed) and Gisgraphy who have a working OSM import but don't do house numbers yet. If you are looking for an online service (i.e. don't want to run your own server), then your best bet is MapQuest's free Nominatim-based service. answered 11 May '11, 08:47 Frederik Ramm ♦ Can you please provide more information regarding the link to "MapQuest's free Nominatim-based service"? I would need exactly the lat/lng coordinates which represent a street. Thx
(31 Oct '21, 18:34)
VARGAPeter1971
2
The answer you referring to is 10 years old. To answer your question: https://nominatim.org/release-docs/latest/api/Search/ should help for a start, but please adhere to the Nominatim usage policy found here: https://operations.osmfoundation.org/policies/nominatim/ . If you need to geocode large amounts of data, a third party provider may help, see list here: https://wiki.openstreetmap.org/wiki/Nominatim#Alternatives_.2F_Third-party_providers
(01 Nov '21, 09:32)
Spiekerooger
Thank you! I am a bloody beginner and somehow I am lost. I am playing around with this site: You see the street "Avenida Huerta Belón" is marked only partially. Can you please point me to the right direction that the whole road would be marked abd how do I get all of the latitudes/longitudes values for this polyline? This would really help me a lot. I am missing something and I am "stuck". I tried also - according to the link you posted - this URL, but it still doesn't return all coordinates for the road and the road is marked only partially:
(01 Nov '21, 16:41)
VARGAPeter1971
May be the viewbox had the wrong parameters. This is an updated URL, but no change:
(01 Nov '21, 19:28)
VARGAPeter1971
|
The comments of this answer have the solution. I could solve it. Apparently it's forbidden in OSM forums to be more specific so I don't want to be rude and break this rule. answered 23 Nov '21, 22:05 VARGAPeter1971 |