{"basePath":"/elevation/","consumes":["application/json","text/plain"],"definitions":{"GeoJSON LineString":{"description":"GeoJSON LineString Feature","example":"{\"type\":\"LineString\",\"coordinates\": [ [ 357302.175761808815878, 5818114.630082961171865 ], [ 371263.579381466959603, 5789370.563807193189859 ], [ 379886.799264197063167, 5786906.786697841249406 ], [ 390563.166738053492736, 5791423.711398321203887 ], [ 390563.166738053492736, 5791423.711398321203887 ] ]}","externalDocs":"https://datatracker.ietf.org/doc/html/rfc7946","type":"string"},"GeoJSON Point":{"description":"GeoJSON Point Feature","example":"{\"type\": \"Point\",\"coordinates\": [357302.175761, 5818114.630082]}","externalDocs":"https://datatracker.ietf.org/doc/html/rfc7946","type":"string"},"JSON PointList":{"description":"A JSON list of coordinates with elevation data","example":[{"dist":0.0,"nr":1,"x":357302.1757618088,"y":5818114.630082961,"z":35.2899169921875},{"dist":100.0,"nr":2,"x":357345.8661580825,"y":5818024.679267104,"z":34.42049026489258},{"dist":200.0,"nr":3,"x":357389.5565543562,"y":5817934.728451246,"z":33.60026168823242}],"schema":{"$schema":"http://json-schema.org/draft-04/schema#","items":[{"properties":{"dist":{"type":"integer"},"nr":{"type":"integer"},"x":{"type":"number"},"y":{"type":"number"},"z":{"type":"number"}},"required":["dist","nr","x","y","z"],"type":"object"}],"type":"array"},"type":"string"},"Point":{"description":"Point Coordinate","example":"357302.175761,5818114.630082","type":"string"},"WKT LineString":{"description":"WKT LineString Feature","example":"LineString (357302.17576180881587788 5818114.63008296117186546, 371263.57938146695960313 5789370.56380719318985939, 379886.79926419706316665 5786906.78669784124940634, 390563.16673805349273607 5791423.71139832120388746, 390563.16673805349273607 5791423.71139832120388746)","externalDocs":"https://www.ogc.org/standards/sfa","type":"string"},"WKT Point":{"description":"WKT Point Feature","example":"Point (357302.175761 5818114.630082)","externalDocs":"https://www.ogc.org/standards/sfa","type":"string"},"Z-Value":{"description":"Z-Value for given coordinates in meter","example":35.289917,"type":"string"}},"info":{"description":"Returns interpolated elevation data in exchange for geospatial features. Coordinates are expected in EPSG:25833 and will be returned in the same CRS. Geometries have to be within Berlin/Brandenburg.\n","title":"Elevation API","version":"0.9.1"},"paths":{"/geojson/line":{"post":{"consumes":["application/json"],"parameters":[{"in":"body","name":"geojson","required":true,"schema":{"$ref":"#/definitions/GeoJSON LineString"},"type":"string"}],"produces":["application/json"],"responses":{"200":{"$ref":"#/responses/200","schema":{"$ref":"#/definitions/JSON PointList"}},"400":{"$ref":"#/responses/400"},"404":{"$ref":"#/responses/404"},"500":{"$ref":"#/responses/500"}},"summary":"Returns a json with interpolated elevation points.\n","tags":["geojson"]}},"/geojson/point":{"post":{"consumes":["application/json"],"parameters":[{"in":"body","name":"geojson","required":true,"schema":{"$ref":"#/definitions/GeoJSON Point"},"type":"string"}],"produces":["text/plain"],"responses":{"200":{"$ref":"#/responses/200","schema":{"$ref":"#/definitions/Z-Value"}},"400":{"$ref":"#/responses/400"},"404":{"$ref":"#/responses/404"},"500":{"$ref":"#/responses/500"}},"summary":"Returns an elevation value.\n","tags":["geojson"]}},"/latlon/point":{"get":{"consumes":["text/plain"],"parameters":[{"in":"query","name":"coordinates","required":true,"schema":{"$ref":"#/definitions/Point"},"type":"string"}],"produces":["text/plain"],"responses":{"200":{"$ref":"#/responses/200","schema":{"$ref":"#/definitions/Z-Value"}},"400":{"$ref":"#/responses/400"},"404":{"$ref":"#/responses/404"},"500":{"$ref":"#/responses/500"}},"summary":"Returns an elevation value.\n","tags":["latlon"]}},"/wkt/line":{"post":{"consumes":["text/plain"],"parameters":[{"in":"body","name":"wkt","required":true,"schema":{"$ref":"#/definitions/WKT LineString"},"type":"string"}],"produces":["application/json"],"responses":{"200":{"$ref":"#/responses/200","schema":{"$ref":"#/definitions/JSON PointList"}},"400":{"$ref":"#/responses/400"},"404":{"$ref":"#/responses/404"},"500":{"$ref":"#/responses/500"}},"summary":"Returns a json with interpolated elevation points.\n","tags":["wkt"]}},"/wkt/point":{"post":{"consumes":["text/plain"],"parameters":[{"in":"body","name":"wkt","required":true,"schema":{"$ref":"#/definitions/WKT Point"},"type":"string"}],"produces":["text/plain"],"responses":{"200":{"$ref":"#/responses/200","schema":{"$ref":"#/definitions/Z-Value"}},"400":{"$ref":"#/responses/400"},"404":{"$ref":"#/responses/404"},"500":{"$ref":"#/responses/500"}},"summary":"Returns an elevation value.\n","tags":["wkt"]}}},"produces":["application/json","text/plain"],"responses":{"200":{"description":"Success"},"400":{"description":"BAD REQUEST"},"404":{"description":"NOT FOUND"},"500":{"description":"INTERNAL SERVER ERROR"}},"schemes":["https"],"swagger":"2.0"}
