<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Elevationsync profile request syntax in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/elevationsync-profile-request-syntax/m-p/244306#M1528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use the Elevationsync request to retrieve elevations but no matter what I submit the response error is 400, unable to process request.&amp;nbsp; I've tried every variation on the syntax but obviously I still haven't got it correct.&amp;nbsp; I would appreciate an example of what exactly will work.&amp;nbsp; The documentation shows the following as a valid request&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://elevation.arcgis.com/arcgis/rest/services/Tools/ElevationSync/GPServer/Profile/execute?f=json&amp;amp;InputLineFeatures=" rel="nofollow" target="_blank"&gt;http://elevation.arcgis.com/arcgis/rest/services/Tools/ElevationSync/GPServer/Profile/execute?f=json&amp;amp;InputLineFeatures=&lt;/A&gt;&lt;SPAN&gt;&amp;lt;line_feature&amp;gt;&amp;amp;ProfileIDField=OID&amp;amp;DEMResolution=FINEST&amp;amp;MaximumSampleDistance=13&amp;amp;MaximumSampleDistanceUnits=Meters&amp;amp;returnZ=true&amp;amp;returnM=true&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &amp;lt;line_feature&amp;gt; is documented as having the following syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"geometryType":"geometryType",&lt;/P&gt;&lt;P&gt;"spatialReference":&amp;lt;spatialReference&amp;gt;,&lt;/P&gt;&lt;P&gt;"fields":&amp;lt;fields&amp;gt;,&lt;/P&gt;&lt;P&gt;"features":&amp;lt;features&amp;gt;,&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Substituting a point for &amp;lt;line_feature&amp;gt; I've tried the following with no luck.&amp;nbsp; I've also tried substituting fields with an empty array as&amp;nbsp; I don't believe attributes are required (ie "fields":[]) but doesn't work either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://elevation.arcgis.com/arcgis/rest/services/Tools/ElevationSync/GPServer/Profile/execute?f=json&amp;amp;InputLineFeatures=" rel="nofollow" target="_blank"&gt;http://elevation.arcgis.com/arcgis/rest/services/Tools/ElevationSync/GPServer/Profile/execute?f=json&amp;amp;InputLineFeatures=&lt;/A&gt;&lt;SPAN&gt;{"geometryType":"esriGeometryPoint”,”spatialReference":{"wkid":4326},"fields":[{"name":"x","alias":"x","type":"esriFieldTypeDouble"},{"name":"y","alias":"y","type":"esriFieldTypeDouble"}],"features”:{“geometry":{"x":-122,"y":-49}}}&amp;amp;ProfileIDField=OID&amp;amp;DEMResolution=FINEST&amp;amp;MaximumSampleDistance=13&amp;amp;MaximumSampleDistanceUnits=Meters&amp;amp;returnZ=true&amp;amp;returnM=true&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jul 2014 20:42:18 GMT</pubDate>
    <dc:creator>KatherineLawler</dc:creator>
    <dc:date>2014-07-21T20:42:18Z</dc:date>
    <item>
      <title>Elevationsync profile request syntax</title>
      <link>https://community.esri.com/t5/developers-questions/elevationsync-profile-request-syntax/m-p/244306#M1528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use the Elevationsync request to retrieve elevations but no matter what I submit the response error is 400, unable to process request.&amp;nbsp; I've tried every variation on the syntax but obviously I still haven't got it correct.&amp;nbsp; I would appreciate an example of what exactly will work.&amp;nbsp; The documentation shows the following as a valid request&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://elevation.arcgis.com/arcgis/rest/services/Tools/ElevationSync/GPServer/Profile/execute?f=json&amp;amp;InputLineFeatures=" rel="nofollow" target="_blank"&gt;http://elevation.arcgis.com/arcgis/rest/services/Tools/ElevationSync/GPServer/Profile/execute?f=json&amp;amp;InputLineFeatures=&lt;/A&gt;&lt;SPAN&gt;&amp;lt;line_feature&amp;gt;&amp;amp;ProfileIDField=OID&amp;amp;DEMResolution=FINEST&amp;amp;MaximumSampleDistance=13&amp;amp;MaximumSampleDistanceUnits=Meters&amp;amp;returnZ=true&amp;amp;returnM=true&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &amp;lt;line_feature&amp;gt; is documented as having the following syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"geometryType":"geometryType",&lt;/P&gt;&lt;P&gt;"spatialReference":&amp;lt;spatialReference&amp;gt;,&lt;/P&gt;&lt;P&gt;"fields":&amp;lt;fields&amp;gt;,&lt;/P&gt;&lt;P&gt;"features":&amp;lt;features&amp;gt;,&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Substituting a point for &amp;lt;line_feature&amp;gt; I've tried the following with no luck.&amp;nbsp; I've also tried substituting fields with an empty array as&amp;nbsp; I don't believe attributes are required (ie "fields":[]) but doesn't work either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://elevation.arcgis.com/arcgis/rest/services/Tools/ElevationSync/GPServer/Profile/execute?f=json&amp;amp;InputLineFeatures=" rel="nofollow" target="_blank"&gt;http://elevation.arcgis.com/arcgis/rest/services/Tools/ElevationSync/GPServer/Profile/execute?f=json&amp;amp;InputLineFeatures=&lt;/A&gt;&lt;SPAN&gt;{"geometryType":"esriGeometryPoint”,”spatialReference":{"wkid":4326},"fields":[{"name":"x","alias":"x","type":"esriFieldTypeDouble"},{"name":"y","alias":"y","type":"esriFieldTypeDouble"}],"features”:{“geometry":{"x":-122,"y":-49}}}&amp;amp;ProfileIDField=OID&amp;amp;DEMResolution=FINEST&amp;amp;MaximumSampleDistance=13&amp;amp;MaximumSampleDistanceUnits=Meters&amp;amp;returnZ=true&amp;amp;returnM=true&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 20:42:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/elevationsync-profile-request-syntax/m-p/244306#M1528</guid>
      <dc:creator>KatherineLawler</dc:creator>
      <dc:date>2014-07-21T20:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Elevationsync profile request syntax</title>
      <link>https://community.esri.com/t5/developers-questions/elevationsync-profile-request-syntax/m-p/244307#M1529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm also looking for the answer to this question. How do we perform a simple url request to get an elevation profile synchronously without using json/javascript to make the request? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 13:42:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/elevationsync-profile-request-syntax/m-p/244307#M1529</guid>
      <dc:creator>JohnLawlor</dc:creator>
      <dc:date>2015-05-12T13:42:17Z</dc:date>
    </item>
  </channel>
</rss>

