<?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 Re: Elevation Profile - meters only? in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245936#M7567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;When configuring the Elevation Profile widget for ArcGIS Viewer for Flex 3.x to use feet (rather than meters), the graph's y-axis still shows numbers that are obviously meters even though they are labled as feet.&amp;nbsp; Does anyone have a solution for this problem?&lt;BR /&gt;&lt;BR /&gt;I have also noticed the distance measurement (x-axis) looks correct but is off slightly, but I am chalking that one up to Web Mercatur.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;-Dan&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have access to the source code or are you working with the compiled version?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jan 2013 17:18:24 GMT</pubDate>
    <dc:creator>GISDev1</dc:creator>
    <dc:date>2013-01-22T17:18:24Z</dc:date>
    <item>
      <title>Elevation Profile - meters only?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245935#M7566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When configuring the Elevation Profile widget for ArcGIS Viewer for Flex 3.x to use feet (rather than meters), the graph's y-axis still shows numbers that are obviously meters even though they are labled as feet.&amp;nbsp; Does anyone have a solution for this problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have also noticed the distance measurement (x-axis) looks correct but is off slightly, but I am chalking that one up to Web Mercatur.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 17:03:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245935#M7566</guid>
      <dc:creator>DanJensen</dc:creator>
      <dc:date>2013-01-22T17:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Elevation Profile - meters only?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245936#M7567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;When configuring the Elevation Profile widget for ArcGIS Viewer for Flex 3.x to use feet (rather than meters), the graph's y-axis still shows numbers that are obviously meters even though they are labled as feet.&amp;nbsp; Does anyone have a solution for this problem?&lt;BR /&gt;&lt;BR /&gt;I have also noticed the distance measurement (x-axis) looks correct but is off slightly, but I am chalking that one up to Web Mercatur.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;-Dan&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have access to the source code or are you working with the compiled version?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 17:18:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245936#M7567</guid>
      <dc:creator>GISDev1</dc:creator>
      <dc:date>2013-01-22T17:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Elevation Profile - meters only?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245937#M7568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;When configuring the Elevation Profile widget for ArcGIS Viewer for Flex 3.x to use feet (rather than meters), the graph's y-axis still shows numbers that are obviously meters even though they are labled as feet.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What configuration changes did you do?&amp;nbsp; Just the label or also the multiplyByToConvertFromMeters tag?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 17:22:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245937#M7568</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2013-01-22T17:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Elevation Profile - meters only?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245938#M7569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Do you have access to the source code or are you working with the compiled version?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I do have access to the source code and flash builder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 17:23:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245938#M7569</guid>
      <dc:creator>DanJensen</dc:creator>
      <dc:date>2013-01-22T17:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Elevation Profile - meters only?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245939#M7570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What configuration changes did you do?&amp;nbsp; Just the label or also the multiplyByToConvertFromMeters tag?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I commented out the meters and km section and uncommented the feet and miles section.&amp;nbsp; The multiplyByToConvertFromMeters tag for the applicable section was already filled in.&amp;nbsp; See below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;multiplyByToConvertFromMeters&amp;gt;3.2808399&amp;lt;/multiplyByToConvertFromMeters&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 17:28:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245939#M7570</guid>
      <dc:creator>DanJensen</dc:creator>
      <dc:date>2013-01-22T17:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Elevation Profile - meters only?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245940#M7571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What version are you using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I commented out the meters and uncommented the feet so it looked like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; &amp;lt;unitsAndLabeling&amp;gt;
&amp;nbsp; &amp;lt;elevation&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;label&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;chart&amp;gt;feet&amp;lt;/chart&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dataTip&amp;gt;ft&amp;lt;/dataTip&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/label&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;multiplyByToConvertFromMeters&amp;gt;3.2808399&amp;lt;/multiplyByToConvertFromMeters&amp;gt;
&amp;nbsp; &amp;lt;/elevation&amp;gt;
&amp;nbsp; &amp;lt;distanceAlongPath&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;label&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;chart&amp;gt;miles&amp;lt;/chart&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dataTip&amp;gt;mi&amp;lt;/dataTip&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/label&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;multiplyByToConvertFromMeters&amp;gt;0.000621371192&amp;lt;/multiplyByToConvertFromMeters&amp;gt;
&amp;nbsp; &amp;lt;/distanceAlongPath&amp;gt;
 &amp;lt;/unitsAndLabeling&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and the values as well as the axis change to feet/miles.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:14:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245940#M7571</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2021-12-11T12:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Elevation Profile - meters only?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245941#M7572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;R_,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using ArcGIS viewer for Flex 3.0.&amp;nbsp; I just downloaded the widget today and have tried both the 3.0 and 3.1 version, but experienced the same anomaly.&amp;nbsp; The units are stated as feet and miles but the elevation values are about 1/3.28 what they should be (ie 1600 instead of 5248).&amp;nbsp; I have the same configuration as you have, but evidently am getting different results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed the multiplyByToConvertFromMeters to 30 to see if I could get a big reaction, but the elevation value is the same no matter what the multiplier is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 19:59:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245941#M7572</guid>
      <dc:creator>DanJensen</dc:creator>
      <dc:date>2013-01-22T19:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Elevation Profile - meters only?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245942#M7573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure what to tell you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried it using both the built in ESRI SOE and my own SOE, as well as using my state plane wkid, then also removed that and used the arcgisbasemaps to set my map wkid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can not get it to reproduce what you are seeing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using FV3.1.&amp;nbsp; If I get a chance, I'll see if I can make it happen in 3.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 20:35:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245942#M7573</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-01-22T20:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Elevation Profile - meters only?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245943#M7574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;tried with fv3.0 also.&amp;nbsp; working as expected.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 22:39:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245943#M7574</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-01-22T22:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Elevation Profile - meters only?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245944#M7575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;R_,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In looking at the code I get the feeling I am not seeing something.&amp;nbsp; Here is the elevation function from the ChartWindow.mxml file I downloaded yesterday.&amp;nbsp; Notice that it takes as input the multiplication factor (nFromMeters).&amp;nbsp; Also notice the place where nFromMeters is used is commented out.&amp;nbsp; When I remove the comments and run the widget I get this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;A problem occurred while parsing and charting the returned elevation data:&lt;BR /&gt;Error #1010: A term is undefined and has no properties.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I am curious to know what the code for the Elevations function looks like in your working copy.&amp;nbsp; Could you post it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;/**
* Given the result set of geometries with z-values, produce a new single-dimensional array
* of elevation values. These will eventually be mixed into the location and distance
* array for display in the chart.
* @param oResult: The result object returned from the call to the elevation SOE.
* @param nFromMeters: Factor to multiply by meters to get desired elevation units
* @return A single-dimensional array of elevation values (order unchanged from the 
* original 2-d array) 
**/
function elevations( oResult:Object, nFromMeters:Number ):Array {
 var aryElevations:Array = new Array();
// for ( var iElevationSet:int = 0; iElevationSet &amp;lt; oResult.elevations.length; iElevationSet++ ) {
//&amp;nbsp; var aryElevationSet:Array = oResult.elevations[ iElevationSet ];
//&amp;nbsp; for ( var iElevation:int = 0; iElevation &amp;lt; aryElevationSet.length; iElevation++ ) 
//&amp;nbsp;&amp;nbsp; aryElevations.push( aryElevationSet[ iElevation ] * nFromMeters );
// }
 // For each geometry returned...
 for ( var iGeom:int = 0; iGeom &amp;lt; oResult.geometries.length; iGeom++ ) {
&amp;nbsp; var oGeom:Object = oResult.geometries[ iGeom ];
&amp;nbsp; 
&amp;nbsp; // For each path in each geometry...
&amp;nbsp; for ( var iPath:int = 0; iPath &amp;lt; oGeom.paths.length; iPath++ ) {
&amp;nbsp;&amp;nbsp; var aryPath:Array = oGeom.paths[ iPath ];
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; // For each point in each path...
&amp;nbsp;&amp;nbsp; for ( var iPt:int = 0; iPt &amp;lt; aryPath.length; iPt++ ) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; var ptCurrent:Array = aryPath[ iPt ];
&amp;nbsp;&amp;nbsp;&amp;nbsp; aryElevations.push( ptCurrent[ 2 ] );
&amp;nbsp;&amp;nbsp; }
&amp;nbsp; }
 }
 return aryElevations;
}&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;-Dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:14:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245944#M7575</guid>
      <dc:creator>DanJensen</dc:creator>
      <dc:date>2021-12-11T12:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Elevation Profile - meters only?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245945#M7576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I must have downloaded a bad version of the widget.&amp;nbsp; I had to alter the code in both the elvations function and the consolidateDataForCharts function inside the CharWindow.mxml.&amp;nbsp; After adding the multiplication necessary to those two functions, I am now getting the correct values for elevation in feet.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 14:27:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245945#M7576</guid>
      <dc:creator>DanJensen</dc:creator>
      <dc:date>2013-01-23T14:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Elevation Profile - meters only?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245946#M7577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does look like you got some odd code, maybe even some development code or something as mine has this separated into two functions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my elevations function (and the addElevationsToPoints that looks like is "included" in your elevations function):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; function elevations( oResult:Object, nFromMeters:Number ):Array {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var aryElevations:Array = new Array();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for ( var iElevationSet:int = 0; iElevationSet &amp;lt; oResult.elevations.length; iElevationSet++ ) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var aryElevationSet:Array = oResult.elevations[ iElevationSet ];
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for ( var iElevation:int = 0; iElevation &amp;lt; aryElevationSet.length; iElevation++ ) 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aryElevations.push( aryElevationSet[ iElevation ] * nFromMeters );
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return aryElevations;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; function addElevationsToPoints( oResult:Object, aryElevations:Array ):void {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var aryResult:Array = new Array();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var iCurItemIdx:int = -1;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // For each geometry...
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for ( var iGeom:int = 0; iGeom &amp;lt; oResult.geometries.length; iGeom++ ) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var oGeom:Object = oResult.geometries[ iGeom ];
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // For each path in each geometry...
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for ( var iPath:int = 0; iPath &amp;lt; oGeom.paths.length; iPath++ ) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var aryPath:Array = oGeom.paths[ iPath ];
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // For each point in each path...
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for ( var iPt:int = 0; iPt &amp;lt; aryPath.length; iPt++ ) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var ptCurrent:Array = aryPath[ iPt ];
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ptCurrent.push( aryElevations[ ++iCurItemIdx ] );
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:14:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/elevation-profile-meters-only/m-p/245946#M7577</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2021-12-11T12:14:59Z</dc:date>
    </item>
  </channel>
</rss>

