<?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 Correction for WGS84 - 4326 GeoJSON  Displaying at Correct Height in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevation-correction-for-wgs84-4326-geojson/m-p/1185316#M77750</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/503459"&gt;@GreteSoosalu&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I will find some spare time in the next day to try this out and share a codepen. Thank you for responding and your patience.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jun 2022 23:49:25 GMT</pubDate>
    <dc:creator>developerarce</dc:creator>
    <dc:date>2022-06-22T23:49:25Z</dc:date>
    <item>
      <title>Elevation Correction for WGS84 - 4326 GeoJSON  Displaying at Correct Height</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevation-correction-for-wgs84-4326-geojson/m-p/1184702#M77731</link>
      <description>&lt;P&gt;GeoJSON data being displayed on the Map with a renderer for a 3D Line Symbol as a Path.&lt;BR /&gt;&lt;BR /&gt;I am assuming the elevation of the Map is using `absolute-height`, but my 4326 data is showing up still too far below the earth. From my understanding, the height I have is from the ellipsoid of the 4326 datum. So, why is it not getting displayed correctly on the ArcGIS Map?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const map = new ArcGISMap({
    basemap: 'hybrid',
    ground: 'world-elevation',
});

const view = new SceneView();
view.spatialReference = SpatialReference.WGS84;

const renderer = new SimpleRenderer({
    symbol: new LineSymbol3D({
      symbolLayers: [
        new PathSymbol3DLayer({
          profile: 'circle',
          width: 0.508,
          material: { color: [255, 75, 75] },
        }),
      ],
    }),
});

const geoJSONLayer = new GeoJSONLayer();
const url = "..."
geoJSONLayer.url = url;
geoJSONLayer.outFields = ['*'];
geoJSONLayer.renderer = renderer;
map.add(geoJSONLayer);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 17:39:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevation-correction-for-wgs84-4326-geojson/m-p/1184702#M77731</guid>
      <dc:creator>developerarce</dc:creator>
      <dc:date>2022-06-21T17:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Elevation Correction for WGS84 - 4326 GeoJSON  Displaying at Correct Height</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevation-correction-for-wgs84-4326-geojson/m-p/1185062#M77740</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/445592"&gt;@developerarce&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I tried to reproduce your problem with a simple geojson file and I couldn't reproduce the issue - the path symbol is rendered as expected. Here's my test app: &lt;A href="https://codepen.io/gsoosalu/pen/NWyZjMg?editors=1010" target="_blank"&gt;https://codepen.io/gsoosalu/pen/NWyZjMg?editors=1010&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;Could you maybe share a codepen with your app?&lt;/P&gt;&lt;P&gt;Some steps I would check next:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;setting the&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoJSONLayer.html#elevationInfo" target="_self"&gt;elevationInfo.mode&lt;/A&gt;&amp;nbsp;explicitly to&amp;nbsp;&lt;EM&gt;absolute-height&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;recheck the z-values in geojson&lt;/LI&gt;&lt;LI&gt;check the units of the z-values. By default the API expects them to be in meters, but this can be adjusted with &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoJSONLayer.html#elevationInfo" target="_self"&gt;elevationInfo.unit&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 22 Jun 2022 14:23:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevation-correction-for-wgs84-4326-geojson/m-p/1185062#M77740</guid>
      <dc:creator>GreteSoosalu</dc:creator>
      <dc:date>2022-06-22T14:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Elevation Correction for WGS84 - 4326 GeoJSON  Displaying at Correct Height</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevation-correction-for-wgs84-4326-geojson/m-p/1185316#M77750</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/503459"&gt;@GreteSoosalu&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I will find some spare time in the next day to try this out and share a codepen. Thank you for responding and your patience.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 23:49:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevation-correction-for-wgs84-4326-geojson/m-p/1185316#M77750</guid>
      <dc:creator>developerarce</dc:creator>
      <dc:date>2022-06-22T23:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Elevation Correction for WGS84 - 4326 GeoJSON  Displaying at Correct Height</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevation-correction-for-wgs84-4326-geojson/m-p/1185790#M77758</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/503459"&gt;@GreteSoosalu&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thank you for your patience. Code pen below.&lt;BR /&gt;&lt;BR /&gt;You will need to zoom out a little to see the 3D object underground.&lt;BR /&gt;Coordinates were recorded below the surface, but no more than a few meters below. However, the 2 points that make the path at each end appear to be pretty far below the surface and I am not sure why. Coordinates were taken and exported in 4326 wkid (No Geoid) as meters for elevation.&lt;BR /&gt;&lt;A href="https://codepen.io/allidoisace/pen/GRQVoee" target="_blank"&gt;https://codepen.io/allidoisace/pen/GRQVoee&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I ensured absolute height is used as you will see as well as meters.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 21:33:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevation-correction-for-wgs84-4326-geojson/m-p/1185790#M77758</guid>
      <dc:creator>developerarce</dc:creator>
      <dc:date>2022-06-23T21:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Elevation Correction for WGS84 - 4326 GeoJSON  Displaying at Correct Height</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevation-correction-for-wgs84-4326-geojson/m-p/1187341#M77793</link>
      <description>&lt;P&gt;Thanks for the codepen!&lt;/P&gt;&lt;P&gt;The ground elevation value at the area of the feature is about 340m (same when checking the location with&amp;nbsp;&lt;A href="https://apps.nationalmap.gov/viewer/" target="_blank"&gt;https://apps.nationalmap.gov/viewer/&lt;/A&gt;&amp;nbsp;elevation tool) i.e. 30m above your feature.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Do you know approx. how many feet/meters below the ground the feature should be?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 15:16:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevation-correction-for-wgs84-4326-geojson/m-p/1187341#M77793</guid>
      <dc:creator>GreteSoosalu</dc:creator>
      <dc:date>2022-06-28T15:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Elevation Correction for WGS84 - 4326 GeoJSON  Displaying at Correct Height</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevation-correction-for-wgs84-4326-geojson/m-p/1187373#M77794</link>
      <description>&lt;P&gt;Yes, the feature should be about 2ft below the surface.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 15:50:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevation-correction-for-wgs84-4326-geojson/m-p/1187373#M77794</guid>
      <dc:creator>developerarce</dc:creator>
      <dc:date>2022-06-28T15:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Elevation Correction for WGS84 - 4326 GeoJSON  Displaying at Correct Height</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevation-correction-for-wgs84-4326-geojson/m-p/1188654#M77824</link>
      <description>&lt;P class=""&gt;Looks like the elevation difference we see is because the data and the elevation model are in different vertical datums.&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;For the US, Esri provides a 3D elevation service based on USGS data, which is using a vertical datum of &lt;A href="https://en.wikipedia.org/wiki/North_American_Vertical_Datum_of_1988" target="_blank" rel="noopener"&gt;&lt;SPAN class=""&gt;NAVD 88&lt;/SPAN&gt;&lt;/A&gt;. This means the elevation values are orthometric (i.e. based on mean sea level).&lt;/P&gt;&lt;P class=""&gt;As you’ve mentioned, your data uses 4326 ellipsoid datum, so you would need to convert the coordinates accordingly (usually GPS units should be able to do that).&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;Hope this helps!&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;PS: here are some related resources:&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/analytics/analytics/introducing-esris-world-elevation-services/" target="_self"&gt;ArcGIS blog: Introducing Esri’s World Elevation Services&lt;/A&gt;&amp;nbsp; - mentions that the heights coming from terrain service are orthometric&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://www.arcgis.com/home/item.html?id=3af669838f594b378f90c10f98e46a7f" target="_self"&gt;List of datasets used for the World Elevation service&lt;/A&gt;&amp;nbsp;- note that Terrain 3D related datasets are listed under Topography&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://www.usgs.gov/faqs/why-dont-elevations-your-maps-agree-those-provided-my-gps-system-which-are-correct" target="_self"&gt;&lt;SPAN class=""&gt;USGS: Why don't the elevations on your maps agree with those provided by my GPS system?&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/2.8/help/mapping/properties/vertical-datums.htm" target="_self"&gt;ArcGIS Pro: Vertical datums&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 01 Jul 2022 12:02:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevation-correction-for-wgs84-4326-geojson/m-p/1188654#M77824</guid>
      <dc:creator>GreteSoosalu</dc:creator>
      <dc:date>2022-07-01T12:02:29Z</dc:date>
    </item>
  </channel>
</rss>

