

hans@pc-mint20:~$ curl 'https://nominatim.openstreetmap.org/?city=osterburg&street=2 roggenworth&countrycodes=de&format=geojson'
{"type":"FeatureCollection","licence":"Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright","features":[{"type":"Feature","properties":{"place_id":132060130,"osm_type":"way","osm_id":130002877,"display_name":"2, Roggenworth, Osterburg, Osterburg (Altmark), Stendal, Sachsen-Anhalt, 39606, Deutschland","place_rank":30,"category":"building","type":"yes","importance":0.31100000000000005},"bbox":[11.7541011,52.7981511,11.7543599,52.798287],"geometry":{"type":"Point","coordinates":[11.754230512868853,52.79821905]}}]}

hans@pc-mint20:~$ curl 'https://nominatim.openstreetmap.org/?city=osterburg&street=2 roggenworth&countrycodes=de&format=geojson'

*Ausgabe in einer Konsole:*

{"type":"FeatureCollection","licence":"Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright","features":[{"type":"Feature","properties":{"place_id":132060130,"osm_type":"way","osm_id":130002877,"display_name":"2, Roggenworth, Osterburg, Osterburg (Altmark), Stendal, Sachsen-Anhalt, 39606, Deutschland","place_rank":30,"category":"building","type":"yes","importance":0.31100000000000005},"bbox":[11.7541011,52.7981511,11.7543599,52.798287],"geometry":{"type":"Point","coordinates":[11.754230512868853,52.79821905]}}]}

hans@pc-mint20:~$ curl 'https://nominatim.openstreetmap.org/?city=osterburg&street=2 roggenworth&format=geojson'  Klappt auch hne countrycodes!


{"type":"FeatureCollection","licence":"Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright","features":[{"type":"Feature","properties":{"place_id":132060130,"osm_type":"way","osm_id":130002877,"display_name":"2, Roggenworth, Osterburg, Osterburg (Altmark), Stendal, Sachsen-Anhalt, 39606, Deutschland","place_rank":30,"category":"building","type":"yes","importance":0.31100000000000005},"bbox":[11.7541011,52.7981511,11.7543599,52.798287],"geometry":{"type":"Point","coordinates":[11.754230512868853,52.79821905]}}]}

*Oder formatiert:*

{
  "type": "FeatureCollection",
  "licence": "Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright",
  "features": [
    {
      "type": "Feature",
      "properties": {
        "place_id": 132060130,
        "osm_type": "way",
        "osm_id": 130002877,
        "display_name": "2, Roggenworth, Osterburg, Osterburg (Altmark), Stendal, Sachsen-Anhalt, 39606, Deutschland",
        "place_rank": 30,
        "category": "building",
        "type": "yes",
        "importance": 0,311
      },
      "bbox": [
        11,7541011,
        52,7981511,
        11,7543599,
        52,798287
      ],
      "geometry": {
        "type": "Point",
        "coordinates": [
          11,7542305128689,
          52,79821905
        ]
      }
    }
  ]
}