Nominatim kann dies tun, aber im großen Maßstab wäre es effizienter, die USA-Auszüge herunterzuladen und Ihre eigenen zu verwenden.
Nominatim Beispiel:
http://nominatim.openstreetmap.org/search?q=usa[hospitals‹&format=json&polygon=0&addressdetails=1
Kehrt zurück:
[
{
"place_id": "640932",
"licence": "Data © OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright",
"osm_type": "node",
"osm_id": "257489577",
"boundingbox": [
"42.3371238708496",
"42.3371276855469",
"-71.1060409545898",
"-71.1060333251953"
],
"lat": "42.3371263",
"lon": "-71.1060391",
"display_name": "Children's Hospital, Blackfan Street, Fenway, Boston, Suffolk County, Massachusetts, 02215, United States of America",
"class": "amenity",
"type": "hospital",
"importance": 0.44314331355821,
"icon": "http://nominatim.openstreetmap.org/images/mapicons/health_hospital.p.20.png",
"address": {
"hospital": "Children's Hospital",
"road": "Blackfan Street",
"suburb": "Fenway",
"city": "Boston",
"county": "Suffolk County",
"state": "Massachusetts",
"postcode": "02215",
"country": "United States of America",
"country_code": "us"
}
für xml ersetze json durch xml
Quelle:
http://wiki.openstreetmap.org/wiki/Nominatim
Fragen Sie besser hier:
https://help.openstreetmap.org/