openapi: 3.0.1 info: title: ww-elevation-analytics description: "Draw elevation profiles for a location around the world\n" version: '1.0' servers: - url: https://api.bigdataearth.com/ww/elevation-analytics paths: '/lat={lat}&lon={lon}&type={type}&uid={uid}': get: summary: Draw elevation profiles at 4 directions description: 'This API uses a procesed version of the near-global 30m-resolution SRTM data from NASA/USGS. Other high-resolution DEM datasets can be analysed and reported in the same way. Elevation profiles can be handy and very useful for a wide range of environmental applications. **This API is for demonstration only**. Usually, a user will use this API to start the journey of integrating other Location Profile APIs developed and released by BigData Earth. Input parameters and outputs for other APIs are in a similar format. This API endpoint returns a download link to the elevation profile chart that is generated using a user''s input location (latitude and longitude). The response also contains a set of parsed input parameters for the sake of convenience. **A sample chart** is available at [https://www.propertylocation360.com](https://www.propertylocation360.com/images/demo_elevation_profile.png) To try it, please input your location latitude and longitude, along with **type=1101** and **uid=20189000**.' operationId: ww-elevation-analytics-2d-profile parameters: - name: lat in: path description: location latitude (e.g. -30.123456) required: true schema: type: number - name: lon in: path description: location longitude (e.g. 150.123456) required: true schema: type: number - name: type in: path description: product type specified (use "1101" to try) required: true schema: type: string - name: uid in: path description: usage id specified (use "20189000" to try) required: true schema: type: string responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/LocationProfile' example: latitude: 0 longitude: 0 product_type: string usage_id: string links: - report_chart: string components: schemas: LocationProfile: properties: latitude: type: number description: Location latitude longitude: type: number description: Location longitude product_type: type: string description: Product type specified usage_id: type: string description: Usage id specified links: type: array items: $ref: '#/components/schemas/WebLink' WebLink: properties: report_chart: type: string description: link to a chart showing elevation 2D profiles at 4 directions securitySchemes: apiKeyHeader: type: apiKey name: Ocp-Apim-Subscription-Key in: header apiKeyQuery: type: apiKey name: subscription-key in: query security: - apiKeyHeader: [ ] - apiKeyQuery: [ ]