Overview

You will learn: how to query elevation data using the ArcGIS World Elevation Service.

The ArcGIS World Elevation Service is an advanced service that can derive surface elevation information, perform line-of-sight analyses, and generate hydrology models. If you would like to create an application to get the elevation for a location or for a line, you can use the ArcGIS REST API and the profile operation. All you have to do is pass in an input line and the service will return the results with the elevation information attached. To learn more about this service, please visit the documentation.

In this lab you will use the ArcGIS REST API to access the ArcGIS World Elevation Service elevation profile for a route from Griffith Park Observatory to LA City Hall.

Before you begin

Install Postman to execute HTTP requests. Go to this lab if you need an access token.

Steps

Create a request to reference the elevation service

  1. Open Postman and click [+] in the tab bar to create a new request.

  2. In the new tab, set the following:

    • HTTP Method: POST
    • Request URL: https://elevation.arcgis.com/arcgis/rest/services/Tools/ElevationSync/GPServer/Profile/execute

Add parameters to define how the resolution to use and to add the z-value

  1. Click on Body and add the following Key/Value pairs:

    • f: json
    • token: Go to this lab if you need an access token.
    • returnZ: true
    • DEMResolution: FINEST

Add a parameter to define the lines to profile

  1. Add the following parameters as Key/Value pairs to specify the line along which to calculate the elevation:

    • ProfileIDField: ObjectID
    • InputLineFeatures:
      {
        "geometryType":"esriGeometryPolyline",
        "spatialReference":{
          "wkid": 4326
        },
        "fields":[{
          "name": "ObjectId",
          "alias": "ObjectId",
          "type": "esriFieldTypeOID"
        },
        {
          "name": "Name",
          "alias": "Name",
          "type": "esriFieldTypeString"
        }
        ],
        "features":[
          {
            "attributes":{
              "ObjectID":1,
              "Name":"Los Angeles City Hall, 200 N Spring St, Los Angeles, CA, 90012, USA_1004 - Griffith Observatory, 2800 E Observatory Ave, Los Angeles, CA, 90027, USA_1005"
            },
            "geometry":{
              "paths":[
                [
                  [
                    -118.24354932099999,
                    34.053897980000045
                  ],
                  [
                    -118.24377999999996,
                    34.053650000000061
                  ],
                  [
                    -118.24387999999999,
                    34.05355000000003
                  ],
                  [
                    -118.24412999999998,
                    34.053290000000061
                  ],
                  [
                    -118.24446999999998,
                    34.052940000000035
                  ],
                  [
                    -118.24508999999995,
                    34.053340000000048
                  ],
                  [
                    -118.24554999999998,
                    34.05364000000003
                  ],
                  [
                    -118.24518999999998,
                    34.054030000000068
                  ],
                  [
                    -118.24488999999994,
                    34.054340000000025
                  ],
                  [
                    -118.24455999999998,
                    34.054700000000025
                  ],
                  [
                    -118.24448999999998,
                    34.054780000000051
                  ],
                  [
                    -118.24416999999994,
                    34.055130000000077
                  ],
                  [
                    -118.24411999999995,
                    34.055180000000064
                  ],
                  [
                    -118.24358999999998,
                    34.055760000000078
                  ],
                  [
                    -118.24397999999997,
                    34.056080000000065
                  ],
                  [
                    -118.24448999999998,
                    34.056490000000053
                  ],
                  [
                    -118.24486999999999,
                    34.056810000000041
                  ],
                  [
                    -118.24494999999996,
                    34.056880000000035
                  ],
                  [
                    -118.24556999999999,
                    34.05740000000003
                  ],
                  [
                    -118.24598999999995,
                    34.05776000000003
                  ],
                  [
                    -118.24643999999995,
                    34.058140000000037
                  ],
                  [
                    -118.24633999999998,
                    34.058240000000069
                  ],
                  [
                    -118.24608999999998,
                    34.058490000000063
                  ],
                  [
                    -118.24564999999996,
                    34.058940000000064
                  ],
                  [
                    -118.24556999999999,
                    34.059020000000032
                  ],
                  [
                    -118.24552999999997,
                    34.059060000000045
                  ],
                  [
                    -118.24542999999994,
                    34.059160000000077
                  ],
                  [
                    -118.24532999999997,
                    34.059260000000052
                  ],
                  [
                    -118.24508999999995,
                    34.059500000000071
                  ],
                  [
                    -118.24464999999998,
                    34.059900000000027
                  ],
                  [
                    -118.24454999999995,
                    34.060010000000034
                  ],
                  [
                    -118.24479999999994,
                    34.060130000000072
                  ],
                  [
                    -118.24490999999995,
                    34.060170000000028
                  ],
                  [
                    -118.24528999999995,
                    34.060170000000028
                  ],
                  [
                    -118.24565999999999,
                    34.060200000000066
                  ],
                  [
                    -118.24591999999996,
                    34.060240000000078
                  ],
                  [
                    -118.24628999999999,
                    34.06036000000006
                  ],
                  [
                    -118.24641999999994,
                    34.060410000000047
                  ],
                  [
                    -118.24653999999998,
                    34.060470000000066
                  ],
                  [
                    -118.24678999999998,
                    34.060620000000029
                  ],
                  [
                    -118.24698999999998,
                    34.060800000000029
                  ],
                  [
                    -118.24725999999998,
                    34.061010000000067
                  ],
                  [
                    -118.24728999999996,
                    34.061040000000048
                  ],
                  [
                    -118.24749999999995,
                    34.061280000000068
                  ],
                  [
                    -118.24763999999999,
                    34.061450000000036
                  ],
                  [
                    -118.24791999999997,
                    34.061780000000056
                  ],
                  [
                    -118.24833999999998,
                    34.062270000000069
                  ],
                  [
                    -118.24859999999995,
                    34.062580000000025
                  ],
                  [
                    -118.24867999999998,
                    34.062680000000057
                  ],
                  [
                    -118.24872999999997,
                    34.062730000000045
                  ],
                  [
                    -118.24875999999995,
                    34.062770000000057
                  ],
                  [
                    -118.24880999999999,
                    34.062830000000076
                  ],
                  [
                    -118.24930999999998,
                    34.063390000000027
                  ],
                  [
                    -118.24965999999995,
                    34.063730000000078
                  ],
                  [
                    -118.24996999999996,
                    34.063990000000047
                  ],
                  [
                    -118.25024999999999,
                    34.064190000000053
                  ],
                  [
                    -118.25055999999995,
                    34.064430000000073
                  ],
                  [
                    -118.25069999999999,
                    34.064540000000079
                  ],
                  [
                    -118.25133999999997,
                    34.065000000000055
                  ],
                  [
                    -118.25226999999995,
                    34.065670000000068
                  ],
                  [
                    -118.25320999999997,
                    34.066350000000057
                  ],
                  [
                    -118.25387999999998,
                    34.066820000000064
                  ],
                  [
                    -118.25429999999994,
                    34.067090000000064
                  ],
                  [
                    -118.25432999999998,
                    34.067110000000071
                  ],
                  [
                    -118.25472999999994,
                    34.067330000000027
                  ],
                  [
                    -118.25531999999998,
                    34.067630000000065
                  ],
                  [
                    -118.25603999999998,
                    34.067950000000053
                  ],
                  [
                    -118.25653999999997,
                    34.06815000000006
                  ],
                  [
                    -118.25745999999998,
                    34.068470000000048
                  ],
                  [
                    -118.25800999999996,
                    34.068660000000079
                  ],
                  [
                    -118.25979999999998,
                    34.069290000000024
                  ],
                  [
                    -118.26024999999998,
                    34.069450000000074
                  ],
                  [
                    -118.26051999999999,
                    34.069540000000075
                  ],
                  [
                    -118.26124999999996,
                    34.069800000000043
                  ],
                  [
                    -118.26127999999994,
                    34.069810000000075
                  ],
                  [
                    -118.26149999999996,
                    34.069890000000044
                  ],
                  [
                    -118.26169999999996,
                    34.069960000000037
                  ],
                  [
                    -118.26262999999994,
                    34.070290000000057
                  ],
                  [
                    -118.26299999999998,
                    34.07042000000007
                  ],
                  [
                    -118.26348999999999,
                    34.070610000000045
                  ],
                  [
                    -118.26381999999995,
                    34.070750000000032
                  ],
                  [
                    -118.26433999999995,
                    34.070970000000045
                  ],
                  [
                    -118.26450999999997,
                    34.071050000000071
                  ],
                  [
                    -118.26687999999996,
                    34.072100000000034
                  ],
                  [
                    -118.26758999999998,
                    34.072420000000079
                  ],
                  [
                    -118.26823999999999,
                    34.07269000000008
                  ],
                  [
                    -118.26882999999998,
                    34.072930000000042
                  ],
                  [
                    -118.26913999999999,
                    34.073050000000023
                  ],
                  [
                    -118.26973999999996,
                    34.073300000000074
                  ],
                  [
                    -118.27018999999996,
                    34.073490000000049
                  ],
                  [
                    -118.27151999999995,
                    34.074160000000063
                  ],
                  [
                    -118.27174999999994,
                    34.07427000000007
                  ],
                  [
                    -118.27209999999997,
                    34.074440000000038
                  ],
                  [
                    -118.27231999999998,
                    34.07454000000007
                  ],
                  [
                    -118.27260999999999,
                    34.074660000000051
                  ],
                  [
                    -118.27354999999994,
                    34.075010000000077
                  ],
                  [
                    -118.27409999999998,
                    34.075190000000077
                  ],
                  [
                    -118.27421999999996,
                    34.075230000000033
                  ],
                  [
                    -118.27430999999996,
                    34.075260000000071
                  ],
                  [
                    -118.27491999999995,
                    34.075440000000071
                  ],
                  [
                    -118.27635999999995,
                    34.075850000000059
                  ],
                  [
                    -118.27660999999995,
                    34.075920000000053
                  ],
                  [
                    -118.27729999999997,
                    34.07612000000006
                  ],
                  [
                    -118.27751999999998,
                    34.076190000000054
                  ],
                  [
                    -118.27848999999998,
                    34.076470000000029
                  ],
                  [
                    -118.27913999999998,
                    34.076660000000061
                  ],
                  [
                    -118.27978999999999,
                    34.076840000000061
                  ],
                  [
                    -118.28042999999997,
                    34.077000000000055
                  ],
                  [
                    -118.28129999999999,
                    34.07719000000003
                  ],
                  [
                    -118.28163999999998,
                    34.077270000000055
                  ],
                  [
                    -118.28369999999995,
                    34.077740000000063
                  ],
                  [
                    -118.28413999999998,
                    34.077840000000037
                  ],
                  [
                    -118.28439999999995,
                    34.077900000000056
                  ],
                  [
                    -118.28489999999999,
                    34.078010000000063
                  ],
                  [
                    -118.28524999999996,
                    34.078090000000032
                  ],
                  [
                    -118.28578999999996,
                    34.078190000000063
                  ],
                  [
                    -118.28630999999996,
                    34.078290000000038
                  ],
                  [
                    -118.28679999999997,
                    34.078380000000038
                  ],
                  [
                    -118.28762999999998,
                    34.078540000000032
                  ],
                  [
                    -118.28803999999997,
                    34.078630000000032
                  ],
                  [
                    -118.28826999999995,
                    34.078690000000051
                  ],
                  [
                    -118.28862999999996,
                    34.078800000000058
                  ],
                  [
                    -118.28895999999997,
                    34.078910000000064
                  ],
                  [
                    -118.28937999999999,
                    34.079070000000058
                  ],
                  [
                    -118.28963999999996,
                    34.07928000000004
                  ],
                  [
                    -118.28998999999999,
                    34.079470000000072
                  ],
                  [
                    -118.29045999999994,
                    34.079760000000078
                  ],
                  [
                    -118.29085999999995,
                    34.080030000000079
                  ],
                  [
                    -118.29105999999996,
                    34.080220000000054
                  ],
                  [
                    -118.29127999999997,
                    34.080420000000061
                  ],
                  [
                    -118.29141999999996,
                    34.080530000000067
                  ],
                  [
                    -118.29154999999997,
                    34.080560000000048
                  ],
                  [
                    -118.29170999999997,
                    34.080620000000067
                  ],
                  [
                    -118.29170999999997,
                    34.081030000000055
                  ],
                  [
                    -118.29171999999994,
                    34.081750000000056
                  ],
                  [
                    -118.29171999999994,
                    34.082040000000063
                  ],
                  [
                    -118.29171999999994,
                    34.082100000000025
                  ],
                  [
                    -118.29170999999997,
                    34.082870000000071
                  ],
                  [
                    -118.29170999999997,
                    34.08358000000004
                  ],
                  [
                    -118.29171999999994,
                    34.084320000000048
                  ],
                  [
                    -118.29171999999994,
                    34.084640000000036
                  ],
                  [
                    -118.29171999999994,
                    34.084850000000074
                  ],
                  [
                    -118.29171999999994,
                    34.084990000000062
                  ],
                  [
                    -118.29171999999994,
                    34.085060000000055
                  ],
                  [
                    -118.29172999999997,
                    34.085640000000069
                  ],
                  [
                    -118.29173999999995,
                    34.085870000000057
                  ],
                  [
                    -118.29172999999997,
                    34.086380000000077
                  ],
                  [
                    -118.29172999999997,
                    34.086660000000052
                  ],
                  [
                    -118.29172999999997,
                    34.087140000000034
                  ],
                  [
                    -118.29172999999997,
                    34.087680000000034
                  ],
                  [
                    -118.29172999999997,
                    34.088170000000048
                  ],
                  [
                    -118.29173999999995,
                    34.088720000000023
                  ],
                  [
                    -118.29174999999998,
                    34.089090000000056
                  ],
                  [
                    -118.29174999999998,
                    34.089440000000025
                  ],
                  [
                    -118.29173999999995,
                    34.089780000000076
                  ],
                  [
                    -118.29173999999995,
                    34.090130000000045
                  ],
                  [
                    -118.29173999999995,
                    34.090380000000039
                  ],
                  [
                    -118.29172999999997,
                    34.090870000000052
                  ],
                  [
                    -118.29173999999995,
                    34.091630000000066
                  ],
                  [
                    -118.29175999999995,
                    34.092420000000061
                  ],
                  [
                    -118.29175999999995,
                    34.092750000000024
                  ],
                  [
                    -118.29175999999995,
                    34.093450000000075
                  ],
                  [
                    -118.29175999999995,
                    34.093990000000076
                  ],
                  [
                    -118.29174999999998,
                    34.094560000000058
                  ],
                  [
                    -118.29174999999998,
                    34.09495000000004
                  ],
                  [
                    -118.29175999999995,
                    34.09555000000006
                  ],
                  [
                    -118.29175999999995,
                    34.096120000000042
                  ],
                  [
                    -118.29175999999995,
                    34.096450000000061
                  ],
                  [
                    -118.29176999999999,
                    34.097020000000043
                  ],
                  [
                    -118.29176999999999,
                    34.097190000000069
                  ],
                  [
                    -118.29176999999999,
                    34.097450000000038
                  ],
                  [
                    -118.29176999999999,
                    34.097690000000057
                  ],
                  [
                    -118.29176999999999,
                    34.098150000000032
                  ],
                  [
                    -118.29177999999996,
                    34.098730000000046
                  ],
                  [
                    -118.29177999999996,
                    34.099080000000072
                  ],
                  [
                    -118.29177999999996,
                    34.099410000000034
                  ],
                  [
                    -118.29176999999999,
                    34.100260000000048
                  ],
                  [
                    -118.29176999999999,
                    34.10038000000003
                  ],
                  [
                    -118.29176999999999,
                    34.100550000000055
                  ],
                  [
                    -118.29176999999999,
                    34.100710000000049
                  ],
                  [
                    -118.29176999999999,
                    34.101170000000025
                  ],
                  [
                    -118.29176999999999,
                    34.10125000000005
                  ],
                  [
                    -118.29176999999999,
                    34.101710000000026
                  ],
                  [
                    -118.29176999999999,
                    34.101770000000045
                  ],
                  [
                    -118.29176999999999,
                    34.10185000000007
                  ],
                  [
                    -118.29176999999999,
                    34.102130000000045
                  ],
                  [
                    -118.29176999999999,
                    34.102690000000052
                  ],
                  [
                    -118.29176999999999,
                    34.103580000000079
                  ],
                  [
                    -118.29177999999996,
                    34.103860000000054
                  ],
                  [
                    -118.29178999999999,
                    34.104490000000055
                  ],
                  [
                    -118.29178999999999,
                    34.104760000000056
                  ],
                  [
                    -118.29178999999999,
                    34.105090000000075
                  ],
                  [
                    -118.29178999999999,
                    34.105320000000063
                  ],
                  [
                    -118.29178999999999,
                    34.105410000000063
                  ],
                  [
                    -118.29178999999999,
                    34.105620000000044
                  ],
                  [
                    -118.29178999999999,
                    34.105810000000076
                  ],
                  [
                    -118.29178999999999,
                    34.106130000000064
                  ],
                  [
                    -118.29178999999999,
                    34.10686000000004
                  ],
                  [
                    -118.29179999999997,
                    34.107680000000073
                  ],
                  [
                    -118.29179999999997,
                    34.108120000000042
                  ],
                  [
                    -118.29179999999997,
                    34.10844000000003
                  ],
                  [
                    -118.29179999999997,
                    34.10982000000007
                  ],
                  [
                    -118.29179999999997,
                    34.109960000000058
                  ],
                  [
                    -118.29179999999997,
                    34.110080000000039
                  ],
                  [
                    -118.29181999999997,
                    34.110600000000034
                  ],
                  [
                    -118.29181999999997,
                    34.110820000000047
                  ],
                  [
                    -118.29181999999997,
                    34.111060000000066
                  ],
                  [
                    -118.29170999999997,
                    34.111370000000079
                  ],
                  [
                    -118.29168999999996,
                    34.111550000000079
                  ],
                  [
                    -118.29168999999996,
                    34.111760000000061
                  ],
                  [
                    -118.29167999999999,
                    34.112180000000023
                  ],
                  [
                    -118.29167999999999,
                    34.112400000000036
                  ],
                  [
                    -118.29165999999998,
                    34.112530000000049
                  ],
                  [
                    -118.29159999999996,
                    34.112700000000075
                  ],
                  [
                    -118.29157999999995,
                    34.112770000000069
                  ],
                  [
                    -118.29148999999995,
                    34.112900000000025
                  ],
                  [
                    -118.29137999999995,
                    34.113010000000031
                  ],
                  [
                    -118.29124999999999,
                    34.113100000000031
                  ],
                  [
                    -118.29065999999995,
                    34.113420000000076
                  ],
                  [
                    -118.29043999999999,
                    34.113570000000038
                  ],
                  [
                    -118.29024999999996,
                    34.113740000000064
                  ],
                  [
                    -118.29013999999995,
                    34.113880000000051
                  ],
                  [
                    -118.29004999999995,
                    34.114070000000027
                  ],
                  [
                    -118.28997999999996,
                    34.114210000000071
                  ],
                  [
                    -118.28993999999994,
                    34.114500000000078
                  ],
                  [
                    -118.28993999999994,
                    34.114840000000072
                  ],
                  [
                    -118.28995999999995,
                    34.115060000000028
                  ],
                  [
                    -118.29006999999996,
                    34.11552000000006
                  ],
                  [
                    -118.29018999999994,
                    34.115840000000048
                  ],
                  [
                    -118.29050999999998,
                    34.116370000000074
                  ],
                  [
                    -118.29094999999995,
                    34.116950000000031
                  ],
                  [
                    -118.29111999999998,
                    34.117130000000031
                  ],
                  [
                    -118.29141999999996,
                    34.117380000000026
                  ],
                  [
                    -118.29169999999999,
                    34.117560000000026
                  ],
                  [
                    -118.29193999999995,
                    34.117670000000032
                  ],
                  [
                    -118.29231999999996,
                    34.117810000000077
                  ],
                  [
                    -118.29250999999999,
                    34.117850000000033
                  ],
                  [
                    -118.29272999999995,
                    34.117880000000071
                  ],
                  [
                    -118.29327999999998,
                    34.117910000000052
                  ],
                  [
                    -118.29358999999999,
                    34.117970000000071
                  ],
                  [
                    -118.29373999999996,
                    34.117980000000045
                  ],
                  [
                    -118.29408999999998,
                    34.118220000000065
                  ],
                  [
                    -118.29427999999996,
                    34.118380000000059
                  ],
                  [
                    -118.29466999999994,
                    34.118780000000072
                  ],
                  [
                    -118.29474999999996,
                    34.118870000000072
                  ],
                  [
                    -118.29494999999997,
                    34.119150000000047
                  ],
                  [
                    -118.29528999999997,
                    34.119580000000042
                  ],
                  [
                    -118.29620999999997,
                    34.120850000000075
                  ],
                  [
                    -118.29671999999999,
                    34.121740000000045
                  ],
                  [
                    -118.29676999999998,
                    34.121860000000027
                  ],
                  [
                    -118.29680999999999,
                    34.121970000000033
                  ],
                  [
                    -118.29688999999996,
                    34.122280000000046
                  ],
                  [
                    -118.29691999999994,
                    34.122460000000046
                  ],
                  [
                    -118.29695999999996,
                    34.123110000000054
                  ],
                  [
                    -118.29695999999996,
                    34.123190000000079
                  ],
                  [
                    -118.29693999999995,
                    34.124160000000074
                  ],
                  [
                    -118.29697999999996,
                    34.124270000000024
                  ],
                  [
                    -118.29711999999995,
                    34.124400000000037
                  ],
                  [
                    -118.29725999999999,
                    34.124470000000031
                  ],
                  [
                    -118.29735999999997,
                    34.124510000000043
                  ],
                  [
                    -118.29745999999994,
                    34.124510000000043
                  ],
                  [
                    -118.29754999999994,
                    34.124480000000062
                  ],
                  [
                    -118.29761999999994,
                    34.124420000000043
                  ],
                  [
                    -118.29792999999995,
                    34.124000000000024
                  ],
                  [
                    -118.29796999999996,
                    34.123910000000024
                  ],
                  [
                    -118.29800999999998,
                    34.123720000000048
                  ],
                  [
                    -118.29800999999998,
                    34.123510000000067
                  ],
                  [
                    -118.29803999999996,
                    34.123400000000061
                  ],
                  [
                    -118.29811999999998,
                    34.12331000000006
                  ],
                  [
                    -118.29821999999996,
                    34.123250000000041
                  ],
                  [
                    -118.29897999999997,
                    34.123060000000066
                  ],
                  [
                    -118.29917999999998,
                    34.123030000000028
                  ],
                  [
                    -118.29926999999998,
                    34.12304000000006
                  ],
                  [
                    -118.29945999999995,
                    34.123110000000054
                  ],
                  [
                    -118.29959999999994,
                    34.123190000000079
                  ],
                  [
                    -118.29988999999995,
                    34.123450000000048
                  ],
                  [
                    -118.29997999999995,
                    34.123560000000055
                  ],
                  [
                    -118.30012999999997,
                    34.12364000000008
                  ],
                  [
                    -118.30021999999997,
                    34.123660000000029
                  ],
                  [
                    -118.30074999999999,
                    34.123670000000061
                  ],
                  [
                    -118.30137999999999,
                    34.123680000000036
                  ],
                  [
                    -118.30146999999999,
                    34.123680000000036
                  ],
                  [
                    -118.30173999999994,
                    34.123660000000029
                  ],
                  [
                    -118.30219999999997,
                    34.123360000000048
                  ],
                  [
                    -118.30278999999996,
                    34.122990000000073
                  ],
                  [
                    -118.30282999999997,
                    34.12295000000006
                  ],
                  [
                    -118.30287999999996,
                    34.122810000000072
                  ],
                  [
                    -118.30284999999998,
                    34.122670000000028
                  ],
                  [
                    -118.30245999999994,
                    34.122190000000046
                  ],
                  [
                    -118.30220999999995,
                    34.121900000000039
                  ],
                  [
                    -118.30208999999996,
                    34.121800000000064
                  ],
                  [
                    -118.30200999999994,
                    34.121760000000052
                  ],
                  [
                    -118.30185999999998,
                    34.121750000000077
                  ],
                  [
                    -118.30177999999995,
                    34.121760000000052
                  ],
                  [
                    -118.30143999999996,
                    34.121890000000064
                  ],
                  [
                    -118.30123999999995,
                    34.121890000000064
                  ],
                  [
                    -118.30104999999998,
                    34.121830000000045
                  ],
                  [
                    -118.30099999999999,
                    34.121780000000058
                  ],
                  [
                    -118.30092999999999,
                    34.121730000000071
                  ],
                  [
                    -118.30080999999996,
                    34.121590000000026
                  ],
                  [
                    -118.30069999999995,
                    34.121390000000076
                  ],
                  [
                    -118.30051999999995,
                    34.120780000000025
                  ],
                  [
                    -118.30047999999999,
                    34.120660000000044
                  ],
                  [
                    -118.30045999999999,
                    34.120580000000075
                  ],
                  [
                    -118.30045999999999,
                    34.120460000000037
                  ],
                  [
                    -118.30045999999999,
                    34.120400000000075
                  ],
                  [
                    -118.30046999999996,
                    34.120200000000068
                  ],
                  [
                    -118.30047999999999,
                    34.120010000000036
                  ],
                  [
                    -118.30049999999994,
                    34.11970000000008
                  ],
                  [
                    -118.30048999999997,
                    34.119430000000079
                  ],
                  [
                    -118.30048999999997,
                    34.119350000000054
                  ],
                  [
                    -118.30044999999996,
                    34.119240000000048
                  ],
                  [
                    -118.30040999999994,
                    34.119210000000066
                  ],
                  [
                    -118.30036999999999,
                    34.119210000000066
                  ]
                ]
              ]
            }
          }
        ]
      }
      

Execute the request

  1. Click Send to run the request.

    Running the requests in this DevLab will deduct less than one credit from your account. You can sign into ArcGIS for Developers to view your available credits.

  2. In the response window, change the view to JSON. It should look something like this:

    {
      "results": [
        {
            "paramName": "OutputProfile",
            "dataType": "GPFeatureRecordSetLayer",
            "value": {
                "displayFieldName": "",
                "hasZ": true,
                "geometryType": "esriGeometryPolyline",
                "spatialReference": {
                    "wkid": 4326,
                    "latestWkid": 4326
                },
                "fields": [
                    {
                        "name": "OBJECTID",
                        "type": "esriFieldTypeOID",
                        "alias": "OBJECTID"
                    },
                    {
                        "name": "DEMResolution",
                        "type": "esriFieldTypeString",
                        "alias": "DEM Resolution",
                        "length": 50
                    },
                    {
                        "name": "ProductName",
                        "type": "esriFieldTypeString",
                        "alias": "Product Name",
                        "length": 50
                    },
                    {
                        "name": "Source",
                        "type": "esriFieldTypeString",
                        "alias": "Source",
                        "length": 50
                    },
                    {
                        "name": "Source_URL",
                        "type": "esriFieldTypeString",
                        "alias": "Source URL",
                        "length": 84
                    },
                    {
                        "name": "ProfileLength",
                        "type": "esriFieldTypeDouble",
                        "alias": "Length Meters"
                    },
                    {
                        "name": "Shape_Length",
                        "type": "esriFieldTypeDouble",
                        "alias": "Shape_Length"
                    }
                ],
                "features": [
                    {
                        "attributes": {
                            "OBJECTID": 1,
                            "DEMResolution": "10m",
                            "ProductName": "NED_1r3_arcsec",
                            "Source": "USGS",
                            "Source_URL": "http://ned.usgs.gov",
                            "ProfileLength": 12686.1184428709,
                            "Shape_Length": 0.12468281788126621
                        },
                        "geometry": {
                            "hasZ": true,
                            "paths": [
                                [
                                    [
                                        -118.2435493214191,
                                        34.053897979962187,
                                        94.018800000005285
                                    ],
                                    [
                                        -118.24377999978242,
                                        34.05365000040689,
                                        92.493900000001304
                                    ],
                                    [
                                        -118.24388000009668,
                                        34.053550000092628,
                                        91.994699999995646
                                    ],
                                    [
                                        -118.24413000043268,
                                        34.053290000174854,
                                        91.408200000005309
                                    ],
                                    [
                                        -118.24446999970252,
                                        34.052940000423916,
                                        90.621899999998277
                                    ],
                                    [
                                        -118.24508999985233,
                                        34.053339999882326,
                                        91.414000000004307
                                    ],
                                    [
                                        -118.24555000039862,
                                        34.053639999925792,
                                        91.461500000004889
                                    ],
                                    [
                                        -118.24519000016659,
                                        34.054029999802424,
                                        93.520199999999022
                                    ],
                                    [
                                        -118.24489000012312,
                                        34.054340000326988,
                                        96.207999999998719
                                    ],
                                    [
                                        -118.24456000043506,
                                        34.054699999659704,
                                        97.572700000004261
                                    ],
                                    [
                                        -118.24448999976539,
                                        34.054779999911091,
                                        98.086100000000442
                                    ],
                                    [
                                        -118.24416999965905,
                                        34.055129999662029,
                                        100.93799999999464
                                    ],
                                    [
                                        -118.24411999995158,
                                        34.05518000026882,
                                        101.2271999999939
                                    ],
                                    [
                                        -118.24358999963499,
                                        34.055760000292878,
                                        103.48500000000058
                                    ],
                                    [
                                        -118.24398000041094,
                                        34.05608000039922,
                                        106.26480000000447
                                    ],
                                    [
                                        -118.24448999976539,
                                        34.056490000338727,
                                        109.61269999999786
                                    ],
                                    [
                                        -118.24487000006025,
                                        34.056810000445012,
                                        112.15219999999681
                                    ],
                                    [
                                        -118.24495000031169,
                                        34.056880000215358,
                                        112.65080000000307
                                    ],
                                    [
                                        -118.24556999956212,
                                        34.057400000050848,
                                        116.65409999999974
                                    ],
                                    [
                                        -118.24598999998273,
                                        34.057760000282883,
                                        118.88689999999769
                                    ],
                                    [
                                        -118.24644000004793,
                                        34.058139999678417,
                                        119.91719999999623
                                    ],
                                    [
                                        -118.24633999973366,
                                        34.058239999992679,
                                        119.45990000000165
                                    ],
                                    [
                                        -118.24609000029699,
                                        34.058490000328675,
                                        118.44490000000224
                                    ],
                                    [
                                        -118.24564999981357,
                                        34.058940000393875,
                                        109.67339999999967
                                    ],
                                    [
                                        -118.24556999956212,
                                        34.059019999745999,
                                        108.56190000000061
                                    ],
                                    [
                                        -118.24553000033575,
                                        34.059059999871693,
                                        108.81909999999334
                                    ],
                                    [
                                        -118.24543000002149,
                                        34.059160000185955,
                                        108.70889999999781
                                    ],
                                    [
                                        -118.24532999970722,
                                        34.059259999600897,
                                        110.00049999999464
                                    ],
                                    [
                                        -118.24508999985233,
                                        34.059500000355115,
                                        118.35580000000482
                                    ],
                                    [
                                        -118.24465000026822,
                                        34.059899999813524,
                                        116.68180000000575
                                    ],
                                    [
                                        -118.24454999995396,
                                        34.060009999709564,
                                        115.51290000000154
                                    ],
                                    [
                                        -118.24480000028996,
                                        34.060130000086644,
                                        114.5399000000034
                                    ],
                                    [
                                        -118.24491000018594,
                                        34.060170000212395,
                                        113.26270000000659
                                    ],
                                    [
                                        -118.24528999958153,
                                        34.060170000212395,
                                        112.68080000000191
                                    ],
                                    [
                                        -118.24566000029461,
                                        34.060199999856991,
                                        112.11109999999462
                                    ],
                                    [
                                        -118.24592000021238,
                                        34.060239999982684,
                                        112.27529999999388
                                    ],
                                    [
                                        -118.24629000002619,
                                        34.060360000359822,
                                        110.89639999999781
                                    ],
                                    [
                                        -118.24641999998505,
                                        34.060410000067293,
                                        109.84590000000026
                                    ],
                                    [
                                        -118.24654000036219,
                                        34.060470000255862,
                                        110.15099999999802
                                    ],
                                    [
                                        -118.24678999979886,
                                        34.060620000277595,
                                        111.2676000000065
                                    ],
                                    [
                                        -118.24699000042739,
                                        34.060799999943924,
                                        107.47410000000673
                                    ],
                                    [
                                        -118.24725999992688,
                                        34.061010000154226,
                                        104.23979999999574
                                    ],
                                    [
                                        -118.24728999957154,
                                        34.061039999798822,
                                        104.53010000000359
                                    ],
                                    [
                                        -118.24749999978178,
                                        34.061279999653721,
                                        118.7951999999932
                                    ],
                                    [
                                        -118.24764000022179,
                                        34.061449999738329,
                                        119.40429999999469
                                    ],
                                    [
                                        -118.24792000020238,
                                        34.061780000325712,
                                        117.94079999999667
                                    ],
                                    [
                                        -118.24833999972361,
                                        34.062269999617286,
                                        117.84870000000228
                                    ],
                                    [
                                        -118.24859999964139,
                                        34.06258000014185,
                                        107.95160000000033
                                    ],
                                    [
                                        -118.24867999989283,
                                        34.062679999556792,
                                        103.57790000000386
                                    ],
                                    [
                                        -118.2487299996003,
                                        34.062730000163583,
                                        102.35480000000098
                                    ],
                                    [
                                        -118.24876000014422,
                                        34.062770000289277,
                                        102.41849999999977
                                    ],
                                    [
                                        -118.24880999985169,
                                        34.062829999578526,
                                        103.17780000000494
                                    ],
                                    [
                                        -118.24930999962436,
                                        34.063390000439085,
                                        110.84780000000319
                                    ],
                                    [
                                        -118.24966000027462,
                                        34.063729999708926,
                                        110.52180000000226
                                    ],
                                    [
                                        -118.24996999989986,
                                        34.063989999626699,
                                        111.08969999999681
                                    ],
                                    [
                                        -118.25024999988045,
                                        34.064190000255223,
                                        110.18630000000121
                                    ],
                                    [
                                        -118.25056000040502,
                                        34.064430000110121,
                                        116.37720000000263
                                    ],
                                    [
                                        -118.25069999994565,
                                        34.064540000006161,
                                        116.89770000000135
                                    ],
                                    [
                                        -118.25134000015828,
                                        34.064999999653139,
                                        119.32850000000326
                                    ],
                                    [
                                        -118.25226999993328,
                                        34.065670000409682,
                                        124.95320000000356
                                    ],
                                    [
                                        -118.25321000018943,
                                        34.066349999848683,
                                        127.43120000000636
                                    ],
                                    [
                                        -118.25388000004665,
                                        34.066819999976758,
                                        127.95389999999315
                                    ],
                                    [
                                        -118.25429999956793,
                                        34.067090000375629,
                                        127.88569999999891
                                    ],
                                    [
                                        -118.25433000011185,
                                        34.067110000438447,
                                        127.90009999999893
                                    ],
                                    [
                                        -118.25472999957026,
                                        34.067330000230527,
                                        127.898199999996
                                    ],
                                    [
                                        -118.25532000007541,
                                        34.067630000273994,
                                        128.05160000000615
                                    ],
                                    [
                                        -118.25603999964017,
                                        34.067950000380279,
                                        127.64029999999912
                                    ],
                                    [
                                        -118.25654000031216,
                                        34.068150000109483,
                                        127.51469999999972
                                    ],
                                    [
                                        -118.25745999960606,
                                        34.068470000215825,
                                        127.30169999999634
                                    ],
                                    [
                                        -118.25800999998552,
                                        34.068660000363252,
                                        124.66099999999278
                                    ],
                                    [
                                        -118.25979999976522,
                                        34.069290000094782,
                                        118.38069999999425
                                    ],
                                    [
                                        -118.26024999983042,
                                        34.069449999698293,
                                        118.06549999999697
                                    ],
                                    [
                                        -118.26052000022929,
                                        34.069540000430777,
                                        117.83419999999751
                                    ],
                                    [
                                        -118.26125000027508,
                                        34.06980000034855,
                                        116.14879999999539
                                    ],
                                    [
                                        -118.26127999991968,
                                        34.069809999930328,
                                        116.22179999999935
                                    ],
                                    [
                                        -118.26149999971176,
                                        34.069890000181715,
                                        122.31549999999697
                                    ],
                                    [
                                        -118.26170000034028,
                                        34.069959999952061,
                                        124.38809999999648
                                    ],
                                    [
                                        -118.26263000011528,
                                        34.070289999640124,
                                        127.24830000000657
                                    ],
                                    [
                                        -118.26299999992909,
                                        34.070419999599039,
                                        126.84260000000359
                                    ],
                                    [
                                        -118.26349000011999,
                                        34.070609999746466,
                                        126.681700000001
                                    ],
                                    [
                                        -118.26381999980805,
                                        34.070750000186422,
                                        126.73940000000584
                                    ],
                                    [
                                        -118.2643399996436,
                                        34.070969999978502,
                                        126.91529999999329
                                    ],
                                    [
                                        -118.26450999972815,
                                        34.071050000229889,
                                        127.29240000000573
                                    ],
                                    [
                                        -118.26688000043129,
                                        34.072100000382022,
                                        115.95900000000256
                                    ],
                                    [
                                        -118.26759000041426,
                                        34.072419999588988,
                                        122.72629999999481
                                    ],
                                    [
                                        -118.26824000020861,
                                        34.072689999987858,
                                        120.61430000000109
                                    ],
                                    [
                                        -118.2688299998145,
                                        34.072929999842756,
                                        121.42690000000584
                                    ],
                                    [
                                        -118.26914000033901,
                                        34.073050000219894,
                                        121.81660000000556
                                    ],
                                    [
                                        -118.26974000042594,
                                        34.07329999965657,
                                        119.27060000000347
                                    ],
                                    [
                                        -118.27018999959182,
                                        34.073489999803996,
                                        115.3350999999966
                                    ],
                                    [
                                        -118.2715199997246,
                                        34.074159999661219,
                                        111.94199999999546
                                    ],
                                    [
                                        -118.27174999999772,
                                        34.074269999557259,
                                        111.3353000000061
                                    ],
                                    [
                                        -118.27209999974866,
                                        34.074439999641868,
                                        110.3917999999976
                                    ],
                                    [
                                        -118.27232000044,
                                        34.07453999995613,
                                        110.47629999999481
                                    ],
                                    [
                                        -118.27261000000243,
                                        34.074660000333211,
                                        110.51020000000426
                                    ],
                                    [
                                        -118.27355000025852,
                                        34.075010000084148,
                                        109.74439999999595
                                    ],
                                    [
                                        -118.27409999973867,
                                        34.075189999750535,
                                        110.05819999999949
                                    ],
                                    [
                                        -118.27422000011575,
                                        34.075229999876228,
                                        110.05299999999988
                                    ],
                                    [
                                        -118.27430999994891,
                                        34.075260000420144,
                                        110.01350000000093
                                    ],
                                    [
                                        -118.27491999961762,
                                        34.07544000008653,
                                        108.87639999999374
                                    ],
                                    [
                                        -118.27635999964639,
                                        34.07585000002598,
                                        103.55180000000109
                                    ],
                                    [
                                        -118.27660999998238,
                                        34.075919999796326,
                                        102.55620000000636
                                    ],
                                    [
                                        -118.27729999990248,
                                        34.076120000424851,
                                        99.822899999999208
                                    ],
                                    [
                                        -118.27751999969456,
                                        34.076190000195197,
                                        99.606599999999162
                                    ],
                                    [
                                        -118.27848999959525,
                                        34.076470000175789,
                                        99.875799999994342
                                    ],
                                    [
                                        -118.27914000028898,
                                        34.076660000323216,
                                        92.078099999998813
                                    ],
                                    [
                                        -118.27979000008338,
                                        34.076839999989602,
                                        93.677500000005239
                                    ],
                                    [
                                        -118.28043000029601,
                                        34.076999999593056,
                                        92.727599999998347
                                    ],
                                    [
                                        -118.28129999988249,
                                        34.077189999740483,
                                        91.165699999997742
                                    ],
                                    [
                                        -118.28164000005165,
                                        34.077269999991927,
                                        89.572100000004866
                                    ],
                                    [
                                        -118.28370000023023,
                                        34.077740000119945,
                                        92.419599999993807
                                    ],
                                    [
                                        -118.28413999981433,
                                        34.077840000434207,
                                        92.52730000000156
                                    ],
                                    [
                                        -118.2843999997321,
                                        34.077899999723456,
                                        85.620200000004843
                                    ],
                                    [
                                        -118.28490000040409,
                                        34.078009999619496,
                                        92.365200000000186
                                    ],
                                    [
                                        -118.28525000015503,
                                        34.078089999870883,
                                        92.440300000002026
                                    ],
                                    [
                                        -118.2857900000534,
                                        34.078190000185145,
                                        93.028099999995902
                                    ],
                                    [
                                        -118.28630999988889,
                                        34.078289999600088,
                                        94.527000000001863
                                    ],
                                    [
                                        -118.28680000007978,
                                        34.078380000332629,
                                        91.775699999998324
                                    ],
                                    [
                                        -118.28763000043989,
                                        34.078539999936083,
                                        95.884500000000116
                                    ],
                                    [
                                        -118.28804000037934,
                                        34.078629999769305,
                                        95.102700000003097
                                    ],
                                    [
                                        -118.2882699997532,
                                        34.078689999957817,
                                        93.189100000003236
                                    ],
                                    [
                                        -118.28862999998523,
                                        34.078799999853857,
                                        93.030499999993481
                                    ],
                                    [
                                        -118.2889599996733,
                                        34.078909999749897,
                                        92.9603000000061
                                    ],
                                    [
                                        -118.28938000009384,
                                        34.079070000252727,
                                        92.764400000000023
                                    ],
                                    [
                                        -118.28964000001162,
                                        34.079279999563653,
                                        88.751600000003236
                                    ],
                                    [
                                        -118.28998999976255,
                                        34.079469999711137,
                                        86.902600000001257
                                    ],
                                    [
                                        -118.29045999989063,
                                        34.079760000172826,
                                        86.029999999998836
                                    ],
                                    [
                                        -118.29086000024836,
                                        34.08002999967232,
                                        90.60920000000624
                                    ],
                                    [
                                        -118.29105999997756,
                                        34.080219999819803,
                                        91.074099999997998
                                    ],
                                    [
                                        -118.29127999976959,
                                        34.080420000448328,
                                        93.535999999992782
                                    ],
                                    [
                                        -118.29142000020954,
                                        34.080530000344311,
                                        94.456300000005285
                                    ],
                                    [
                                        -118.29155000016846,
                                        34.080559999988964,
                                        94.05909999999858
                                    ],
                                    [
                                        -118.29170999977197,
                                        34.080620000177532,
                                        93.468599999992875
                                    ],
                                    [
                                        -118.29170999977197,
                                        34.081030000116982,
                                        94.606400000004214
                                    ],
                                    [
                                        -118.29172000025301,
                                        34.081749999681733,
                                        94.093299999993178
                                    ],
                                    [
                                        -118.29172000025301,
                                        34.082040000143422,
                                        93.382599999997183
                                    ],
                                    [
                                        -118.29172000025301,
                                        34.082100000331991,
                                        93.140599999998813
                                    ],
                                    [
                                        -118.29170999977197,
                                        34.082869999604156,
                                        91.314700000002631
                                    ],
                                    [
                                        -118.29170999977197,
                                        34.08357999958713,
                                        89.708100000003469
                                    ],
                                    [
                                        -118.29172000025301,
                                        34.084320000114019,
                                        91.313999999998487
                                    ],
                                    [
                                        -118.29172000025301,
                                        34.084640000220361,
                                        91.815700000006473
                                    ],
                                    [
                                        -118.29172000025301,
                                        34.084850000430663,
                                        91.906000000002678
                                    ],
                                    [
                                        -118.29172000025301,
                                        34.084989999971299,
                                        91.827399999994668
                                    ],
                                    [
                                        -118.29172000025301,
                                        34.085059999741588,
                                        91.827799999999115
                                    ],
                                    [
                                        -118.29172999983479,
                                        34.085639999765704,
                                        91.594700000001467
                                    ],
                                    [
                                        -118.29174000031588,
                                        34.085870000038824,
                                        91.724400000006426
                                    ],
                                    [
                                        -118.29172999983479,
                                        34.086380000292593,
                                        91.742700000002515
                                    ],
                                    [
                                        -118.29172999983479,
                                        34.086660000273184,
                                        91.833499999993364
                                    ],
                                    [
                                        -118.29172999983479,
                                        34.08713999998298,
                                        92.842199999999139
                                    ],
                                    [
                                        -118.29172999983479,
                                        34.087679999881402,
                                        94.246100000003935
                                    ],
                                    [
                                        -118.29172999983479,
                                        34.088170000072296,
                                        94.744900000005146
                                    ],
                                    [
                                        -118.29174000031588,
                                        34.088719999552438,
                                        95.767699999996694
                                    ],
                                    [
                                        -118.29174999989766,
                                        34.089090000265514,
                                        97.33969999999681
                                    ],
                                    [
                                        -118.29174999989766,
                                        34.089440000016452,
                                        97.827399999994668
                                    ],
                                    [
                                        -118.29174000031588,
                                        34.089780000185613,
                                        98.183099999994738
                                    ],
                                    [
                                        -118.29174000031588,
                                        34.090129999936551,
                                        100.46649999999499
                                    ],
                                    [
                                        -118.29174000031588,
                                        34.090380000272546,
                                        100.99860000000626
                                    ],
                                    [
                                        -118.29172999983479,
                                        34.09086999956412,
                                        102.48519999999553
                                    ],
                                    [
                                        -118.29174000031588,
                                        34.091630000153884,
                                        104.61849999999686
                                    ],
                                    [
                                        -118.29176000037876,
                                        34.092420000388245,
                                        106.11280000000261
                                    ],
                                    [
                                        -118.29176000037876,
                                        34.092750000076364,
                                        106.85580000000482
                                    ],
                                    [
                                        -118.29176000037876,
                                        34.09344999957824,
                                        108.96799999999348
                                    ],
                                    [
                                        -118.29176000037876,
                                        34.093990000375925,
                                        109.89909999999509
                                    ],
                                    [
                                        -118.29174999989766,
                                        34.094559999918886,
                                        110.23140000000421
                                    ],
                                    [
                                        -118.29174999989766,
                                        34.094949999795517,
                                        111.08590000000549
                                    ],
                                    [
                                        -118.29176000037876,
                                        34.095549999882451,
                                        112.53710000000137
                                    ],
                                    [
                                        -118.29176000037876,
                                        34.096120000324788,
                                        113.9091000000044
                                    ],
                                    [
                                        -118.29176000037876,
                                        34.096450000012851,
                                        114.66000000000349
                                    ],
                                    [
                                        -118.29176999996048,
                                        34.097019999555869,
                                        116.17530000000261
                                    ],
                                    [
                                        -118.29176999996048,
                                        34.09718999964042,
                                        116.78329999999551
                                    ],
                                    [
                                        -118.29176999996048,
                                        34.097449999558194,
                                        117.98390000000654
                                    ],
                                    [
                                        -118.29176999996048,
                                        34.097690000312411,
                                        118.31110000000626
                                    ],
                                    [
                                        -118.29176999996048,
                                        34.098149999959389,
                                        119.76309999999648
                                    ],
                                    [
                                        -118.29178000044158,
                                        34.098729999983448,
                                        121.25599999999395
                                    ],
                                    [
                                        -118.29178000044158,
                                        34.099079999734386,
                                        122.03269999999611
                                    ],
                                    [
                                        -118.29178000044158,
                                        34.099410000321825,
                                        123.04129999999714
                                    ],
                                    [
                                        -118.29176999996048,
                                        34.100259999845434,
                                        126.65769999999611
                                    ],
                                    [
                                        -118.29176999996048,
                                        34.100380000222515,
                                        127.06729999999516
                                    ],
                                    [
                                        -118.29176999996048,
                                        34.100550000307123,
                                        127.49319999999716
                                    ],
                                    [
                                        -118.29176999996048,
                                        34.100709999910634,
                                        127.87459999999555
                                    ],
                                    [
                                        -118.29176999996048,
                                        34.101169999557555,
                                        128.10159999999451
                                    ],
                                    [
                                        -118.29176999996048,
                                        34.101249999808999,
                                        128.10069999999541
                                    ],
                                    [
                                        -118.29176999996048,
                                        34.101710000355297,
                                        129.15810000000056
                                    ],
                                    [
                                        -118.29176999996048,
                                        34.101769999644489,
                                        129.3405999999959
                                    ],
                                    [
                                        -118.29176999996048,
                                        34.101849999895933,
                                        129.57229999999981
                                    ],
                                    [
                                        -118.29176999996048,
                                        34.102129999876524,
                                        130.30270000000019
                                    ],
                                    [
                                        -118.29176999996048,
                                        34.102689999837764,
                                        132.22079999999551
                                    ],
                                    [
                                        -118.29176999996048,
                                        34.103580000386387,
                                        134.49520000000484
                                    ],
                                    [
                                        -118.29178000044158,
                                        34.103860000366979,
                                        135.2271000000037
                                    ],
                                    [
                                        -118.29179000002335,
                                        34.104490000098565,
                                        136.818299999999
                                    ],
                                    [
                                        -118.29179000002335,
                                        34.104759999598059,
                                        137.31810000000405
                                    ],
                                    [
                                        -118.29179000002335,
                                        34.105090000185498,
                                        137.85529999999562
                                    ],
                                    [
                                        -118.29179000002335,
                                        34.105319999559299,
                                        138.37209999999322
                                    ],
                                    [
                                        -118.29179000002335,
                                        34.105410000291783,
                                        138.5847999999969
                                    ],
                                    [
                                        -118.29179000002335,
                                        34.105619999602766,
                                        139.04369999999471
                                    ],
                                    [
                                        -118.29179000002335,
                                        34.105809999750193,
                                        139.58490000000165
                                    ],
                                    [
                                        -118.29179000002335,
                                        34.106129999856535,
                                        140.47789999999804
                                    ],
                                    [
                                        -118.29179000002335,
                                        34.106859999902326,
                                        142.48410000000149
                                    ],
                                    [
                                        -118.29179999960513,
                                        34.10767999978134,
                                        144.75190000000293
                                    ],
                                    [
                                        -118.29179999960513,
                                        34.108120000264762,
                                        146.47539999999572
                                    ],
                                    [
                                        -118.29179999960513,
                                        34.108440000371047,
                                        148.32309999999416
                                    ],
                                    [
                                        -118.29179999960513,
                                        34.1098200002113,
                                        156.49319999999716
                                    ],
                                    [
                                        -118.29179999960513,
                                        34.109959999751936,
                                        157.28699999999662
                                    ],
                                    [
                                        -118.29179999960513,
                                        34.110080000129017,
                                        157.92969999999332
                                    ],
                                    [
                                        -118.29181999966795,
                                        34.110599999964563,
                                        161.47319999999308
                                    ],
                                    [
                                        -118.29181999966795,
                                        34.110819999756586,
                                        163.00100000000384
                                    ],
                                    [
                                        -118.29181999966795,
                                        34.111059999611541,
                                        164.21829999999318
                                    ],
                                    [
                                        -118.29170999977197,
                                        34.111370000136048,
                                        166.43949999999313
                                    ],
                                    [
                                        -118.29168999970909,
                                        34.111549999802435,
                                        168.0914000000048
                                    ],
                                    [
                                        -118.29168999970909,
                                        34.111760000012737,
                                        170.01859999999579
                                    ],
                                    [
                                        -118.29168000012731,
                                        34.112180000433284,
                                        173.39720000000671
                                    ],
                                    [
                                        -118.29168000012731,
                                        34.112400000225364,
                                        175.32069999999658
                                    ],
                                    [
                                        -118.2916600000645,
                                        34.112530000184222,
                                        176.31410000000324
                                    ],
                                    [
                                        -118.29159999987593,
                                        34.112700000268831,
                                        177.65570000000298
                                    ],
                                    [
                                        -118.29157999981305,
                                        34.11277000003912,
                                        178.21339999999327
                                    ],
                                    [
                                        -118.29148999997989,
                                        34.112899999998035,
                                        179.26769999999669
                                    ],
                                    [
                                        -118.29138000008385,
                                        34.113009999894018,
                                        180.03979999999865
                                    ],
                                    [
                                        -118.29125000012499,
                                        34.11309999972724,
                                        180.68379999999888
                                    ],
                                    [
                                        -118.29065999961983,
                                        34.113419999833525,
                                        182.4597999999969
                                    ],
                                    [
                                        -118.29043999982775,
                                        34.113569999855258,
                                        184.16099999999278
                                    ],
                                    [
                                        -118.29024999968033,
                                        34.113739999939867,
                                        185.35439999999653
                                    ],
                                    [
                                        -118.29013999978429,
                                        34.113880000379822,
                                        185.86759999999776
                                    ],
                                    [
                                        -118.29004999995112,
                                        34.11406999962793,
                                        187.08030000000144
                                    ],
                                    [
                                        -118.28998000018078,
                                        34.114210000067885,
                                        187.88929999999527
                                    ],
                                    [
                                        -118.28994000005508,
                                        34.114499999630254,
                                        189.31149999999616
                                    ],
                                    [
                                        -118.28994000005508,
                                        34.114839999799472,
                                        191.9661000000051
                                    ],
                                    [
                                        -118.28996000011796,
                                        34.115059999591494,
                                        194.1426000000065
                                    ],
                                    [
                                        -118.290070000014,
                                        34.115520000137792,
                                        197.68510000000242
                                    ],
                                    [
                                        -118.29019000039108,
                                        34.115840000244134,
                                        199.69759999999951
                                    ],
                                    [
                                        -118.2905099995981,
                                        34.116369999661401,
                                        203.17149999999674
                                    ],
                                    [
                                        -118.29095000008152,
                                        34.11694999968546,
                                        206.79580000000715
                                    ],
                                    [
                                        -118.29112000016613,
                                        34.117130000251166,
                                        207.96790000000328
                                    ],
                                    [
                                        -118.29142000020954,
                                        34.117379999687842,
                                        210.9033000000054
                                    ],
                                    [
                                        -118.29170000019019,
                                        34.117560000253491,
                                        212.14100000000326
                                    ],
                                    [
                                        -118.29194000004509,
                                        34.117670000149531,
                                        213.67089999999735
                                    ],
                                    [
                                        -118.29232000033994,
                                        34.117809999690166,
                                        218.2268999999942
                                    ],
                                    [
                                        -118.29250999958811,
                                        34.11784999981586,
                                        219.25920000000042
                                    ],
                                    [
                                        -118.29273000027945,
                                        34.117880000359833,
                                        218.95080000000598
                                    ],
                                    [
                                        -118.29327999975959,
                                        34.117910000004429,
                                        223.9774999999936
                                    ],
                                    [
                                        -118.29359000028415,
                                        34.117970000192997,
                                        224.87900000000081
                                    ],
                                    [
                                        -118.29374000030589,
                                        34.117979999774718,
                                        225.02950000000419
                                    ],
                                    [
                                        -118.29409000005683,
                                        34.118219999629673,
                                        227.8234999999986
                                    ],
                                    [
                                        -118.29428000020425,
                                        34.118380000132447,
                                        229.6765000000014
                                    ],
                                    [
                                        -118.29467000008088,
                                        34.118779999590856,
                                        234.02159999999276
                                    ],
                                    [
                                        -118.29475000033233,
                                        34.118870000323398,
                                        234.95930000000226
                                    ],
                                    [
                                        -118.29495000006153,
                                        34.119150000303989,
                                        237.56810000000405
                                    ],
                                    [
                                        -118.29529000023069,
                                        34.119580000306314,
                                        241.64650000000256
                                    ],
                                    [
                                        -118.29621000042391,
                                        34.120850000250528,
                                        252.99510000000009
                                    ],
                                    [
                                        -118.29671999977836,
                                        34.12173999989983,
                                        261.19439999999304
                                    ],
                                    [
                                        -118.29677000038515,
                                        34.121860000276968,
                                        262.67309999999998
                                    ],
                                    [
                                        -118.29680999961153,
                                        34.121970000172951,
                                        263.96730000000389
                                    ],
                                    [
                                        -118.29688999986297,
                                        34.122279999798195,
                                        266.53019999999378
                                    ],
                                    [
                                        -118.29692000040689,
                                        34.122460000363844,
                                        267.68670000000566
                                    ],
                                    [
                                        -118.29695999963326,
                                        34.123110000158249,
                                        273.44130000000587
                                    ],
                                    [
                                        -118.29695999963326,
                                        34.123190000409693,
                                        274.29090000000724
                                    ],
                                    [
                                        -118.29693999957038,
                                        34.124160000310383,
                                        285.06059999999707
                                    ],
                                    [
                                        -118.29697999969613,
                                        34.124270000206423,
                                        284.59739999999874
                                    ],
                                    [
                                        -118.29712000013609,
                                        34.124400000165281,
                                        286.37239999999292
                                    ],
                                    [
                                        -118.29725999967673,
                                        34.124469999935627,
                                        289.55849999999919
                                    ],
                                    [
                                        -118.29735999999099,
                                        34.124510000061321,
                                        291.6021999999939
                                    ],
                                    [
                                        -118.29746000030525,
                                        34.124510000061321,
                                        291.96940000000177
                                    ],
                                    [
                                        -118.29755000013841,
                                        34.124480000416725,
                                        291.74039999999513
                                    ],
                                    [
                                        -118.29761999990876,
                                        34.124420000228156,
                                        290.73500000000058
                                    ],
                                    [
                                        -118.29793000043333,
                                        34.123999999807552,
                                        298.06230000000505
                                    ],
                                    [
                                        -118.2979699996597,
                                        34.123909999974387,
                                        297.829899999997
                                    ],
                                    [
                                        -118.29800999978539,
                                        34.12371999982696,
                                        297.46150000000489
                                    ],
                                    [
                                        -118.29800999978539,
                                        34.123509999616658,
                                        297.45729999999458
                                    ],
                                    [
                                        -118.29804000032931,
                                        34.123399999720675,
                                        298.70010000000184
                                    ],
                                    [
                                        -118.29811999968143,
                                        34.123309999887454,
                                        301.17489999999816
                                    ],
                                    [
                                        -118.29821999999569,
                                        34.123249999698942,
                                        302.08160000000498
                                    ],
                                    [
                                        -118.29897999968608,
                                        34.123059999551458,
                                        308.41250000000582
                                    ],
                                    [
                                        -118.29918000031466,
                                        34.123029999906862,
                                        308.47890000000189
                                    ],
                                    [
                                        -118.29927000014783,
                                        34.123040000387959,
                                        309.81639999999607
                                    ],
                                    [
                                        -118.29946000029526,
                                        34.123110000158249,
                                        312.8978000000061
                                    ],
                                    [
                                        -118.29959999983589,
                                        34.123190000409693,
                                        313.25260000000708
                                    ],
                                    [
                                        -118.29989000029758,
                                        34.123450000327466,
                                        314.75139999999374
                                    ],
                                    [
                                        -118.29998000013074,
                                        34.123560000223449,
                                        316.01390000000538
                                    ],
                                    [
                                        -118.30013000015248,
                                        34.123639999575573,
                                        320.64949999999953
                                    ],
                                    [
                                        -118.3002199999857,
                                        34.123659999638392,
                                        325.78040000000328
                                    ],
                                    [
                                        -118.30075000030229,
                                        34.123670000119489,
                                        357.9826999999932
                                    ],
                                    [
                                        -118.30138000003382,
                                        34.123679999701267,
                                        325.92059999999765
                                    ],
                                    [
                                        -118.30146999986698,
                                        34.123679999701267,
                                        322.04929999999877
                                    ],
                                    [
                                        -118.30174000026585,
                                        34.123659999638392,
                                        317.35060000000522
                                    ],
                                    [
                                        -118.30219999991283,
                                        34.123359999594925,
                                        310.6137000000017
                                    ],
                                    [
                                        -118.30279000041799,
                                        34.122989999781169,
                                        313.64840000000549
                                    ],
                                    [
                                        -118.30282999964436,
                                        34.122949999655475,
                                        314.63340000000608
                                    ],
                                    [
                                        -118.30288000025115,
                                        34.122810000114782,
                                        318.13679999999295
                                    ],
                                    [
                                        -118.30284999970723,
                                        34.122669999674827,
                                        319.30490000000282
                                    ],
                                    [
                                        -118.3024599998306,
                                        34.12218999996503,
                                        320.78560000000289
                                    ],
                                    [
                                        -118.30221000039393,
                                        34.121900000402661,
                                        326.13959999999497
                                    ],
                                    [
                                        -118.30209000001679,
                                        34.121800000088399,
                                        327.23159999999916
                                    ],
                                    [
                                        -118.3020099997654,
                                        34.121759999962705,
                                        328.32150000000547
                                    ],
                                    [
                                        -118.30185999974367,
                                        34.121750000380928,
                                        330.81690000000526
                                    ],
                                    [
                                        -118.30178000039155,
                                        34.121759999962705,
                                        332.22580000000016
                                    ],
                                    [
                                        -118.30144000022239,
                                        34.121889999921564,
                                        333.55210000000079
                                    ],
                                    [
                                        -118.30123999959386,
                                        34.121889999921564,
                                        333.47759999999835
                                    ],
                                    [
                                        -118.30105000034575,
                                        34.121829999732995,
                                        333.6585999999952
                                    ],
                                    [
                                        -118.30099999973896,
                                        34.121780000025524,
                                        333.48390000000654
                                    ],
                                    [
                                        -118.30092999996862,
                                        34.121730000318053,
                                        333.97460000000137
                                    ],
                                    [
                                        -118.30080999959154,
                                        34.121589999878097,
                                        337.79619999999704
                                    ],
                                    [
                                        -118.3006999996955,
                                        34.121390000148892,
                                        339.03190000000177
                                    ],
                                    [
                                        -118.30052000002917,
                                        34.120779999580861,
                                        344.04459999999381
                                    ],
                                    [
                                        -118.30047999990342,
                                        34.120660000103101,
                                        344.300900000002
                                    ],
                                    [
                                        -118.3004599998406,
                                        34.120579999851657,
                                        344.50169999999343
                                    ],
                                    [
                                        -118.3004599998406,
                                        34.120460000373896,
                                        344.5286999999953
                                    ],
                                    [
                                        -118.3004599998406,
                                        34.120400000185327,
                                        344.60679999999411
                                    ],
                                    [
                                        -118.3004700003217,
                                        34.120199999556803,
                                        344.96279999999388
                                    ],
                                    [
                                        -118.30047999990342,
                                        34.120010000308696,
                                        344.52929999999469
                                    ],
                                    [
                                        -118.30049999996629,
                                        34.119699999784132,
                                        345.31669999999576
                                    ],
                                    [
                                        -118.30049000038451,
                                        34.119430000284581,
                                        344.62399999999616
                                    ],
                                    [
                                        -118.30049000038451,
                                        34.119350000033194,
                                        344.42170000000624
                                    ],
                                    [
                                        -118.30045000025882,
                                        34.119240000137154,
                                        345.18640000000596
                                    ],
                                    [
                                        -118.30041000013313,
                                        34.119209999593238,
                                        346.11079999999492
                                    ],
                                    [
                                        -118.30037000000743,
                                        34.119209999593238,
                                        346.52019999999902
                                    ]
                                ]
                            ]
                        }
                    }
                ],
                "exceededTransferLimit": false
            }
        }
    ],
    "messages": []
    }
    
  3. The result of your query will be an array of results in the response. Each result will contain a value which will contain a features property, and each feature will have the following key properties:

    • attributes:
    • geometryType: The type of geometry in the geometry key. Usually this will be esriGeometryPolyline.
    • geometry: Will be a geometry of the type indicated by geometryType. However, coordinates will be in x/y/z format with z representing the elevation of those coordinates in meters.

  1. In Postman click Code below the Send button. Select a programming language and use Postman to generate sample code for your application to run this request.

Congratulations, you're done!

You have calculated the elevation profile of a route from Griffith Park Observatory to LA City Hall.

Challenge

Calculate a viewshed

In addition to creating elevation profiles you can also create viewsheds, the area visible from a specific point based on elevation data. Learn more about calculating viewsheds.