<?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: Display GeoJSON file data on web map using ArcGIS JavaScript API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-geojson-file-data-on-web-map-using-arcgis/m-p/227231#M21210</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may want to take a look at &lt;A href="http://terraformer.io/"&gt;Terraformer&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;It can convert data between GeoJSON and ArcGIS JSON Objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's also this &lt;A href="https://github.com/Esri/geojson-layer-js"&gt;geojson-layer&lt;/A&gt; that was put up not too long ago. Haven't used it, but it looks pretty good.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Feb 2015 22:43:05 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2015-02-18T22:43:05Z</dc:date>
    <item>
      <title>Display GeoJSON file data on web map using ArcGIS JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-geojson-file-data-on-web-map-using-arcgis/m-p/227230#M21209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data that is stored in GeoJSON format that I would like to be able to display on a web map. Anything I have read so far about GeoJSON indicates that the data must be in Geographic Coordinates (wkid 4326). Which I believe this file is not? Based on the snippet below:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;{"crs":{
&amp;nbsp;&amp;nbsp; "properties":{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name":"urn:ogc:def:crs:EPSG::3776"
&amp;nbsp;&amp;nbsp; },
&amp;nbsp;&amp;nbsp; "type":"name"
&amp;nbsp;&amp;nbsp; },
&amp;nbsp;&amp;nbsp; "features":[
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {"geometry":{"coordinates":[5368.1140,5659635.35],"type":"Point"},&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone indicate if my thinking is correct? If so am I out of luck with getting this data to display on a map?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 11:04:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-geojson-file-data-on-web-map-using-arcgis/m-p/227230#M21209</guid>
      <dc:creator>ChrisHolmes</dc:creator>
      <dc:date>2021-12-11T11:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Display GeoJSON file data on web map using ArcGIS JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-geojson-file-data-on-web-map-using-arcgis/m-p/227231#M21210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may want to take a look at &lt;A href="http://terraformer.io/"&gt;Terraformer&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;It can convert data between GeoJSON and ArcGIS JSON Objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's also this &lt;A href="https://github.com/Esri/geojson-layer-js"&gt;geojson-layer&lt;/A&gt; that was put up not too long ago. Haven't used it, but it looks pretty good.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 22:43:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-geojson-file-data-on-web-map-using-arcgis/m-p/227231#M21210</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2015-02-18T22:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Display GeoJSON file data on web map using ArcGIS JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-geojson-file-data-on-web-map-using-arcgis/m-p/227232#M21211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rene. I did read a bit at the terraformer site, but was under the impression that the coordinate restriction still applies?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 22:49:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-geojson-file-data-on-web-map-using-arcgis/m-p/227232#M21211</guid>
      <dc:creator>ChrisHolmes</dc:creator>
      <dc:date>2015-02-18T22:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Display GeoJSON file data on web map using ArcGIS JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-geojson-file-data-on-web-map-using-arcgis/m-p/227233#M21212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad, you're right.&lt;BR /&gt;I missed that bit in your sample GeoJSON.&lt;/P&gt;&lt;P&gt;Depending on how much data you have, you could run it through &lt;A href="https://github.com/proj4js/proj4js"&gt;proj4js&lt;/A&gt; to convert the coordinates.&lt;/P&gt;&lt;P&gt;There's a post &lt;A _jive_internal="true" href="https://community.esri.com/groups/geodev/blog/2014/11/03/use-proj4js-alongside-the-arcgis-api-for-javascript-to-reproject-coordinates-on-the-fly"&gt;here on GeoNet&lt;/A&gt; on how you might work with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to get hands on, &lt;A href="https://github.com/Esri/geojson-utils/blob/master/src/jsonConverters.js#L163"&gt;this library&lt;/A&gt; has some code that may help to just convert the GeoJSON directly to EsriJSON regardless of projection. You basically just need to change the structure of the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 22:55:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-geojson-file-data-on-web-map-using-arcgis/m-p/227233#M21212</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2015-02-18T22:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Display GeoJSON file data on web map using ArcGIS JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-geojson-file-data-on-web-map-using-arcgis/m-p/227234#M21213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again Rene, looking at around 2000 records in the GeoJSON file. I'll follow up on your suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 22:59:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-geojson-file-data-on-web-map-using-arcgis/m-p/227234#M21213</guid>
      <dc:creator>ChrisHolmes</dc:creator>
      <dc:date>2015-02-18T22:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Display GeoJSON file data on web map using ArcGIS JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-geojson-file-data-on-web-map-using-arcgis/m-p/227235#M21214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just an additional question. I do not know why the folks who wrote the code that creates the GeoJSON file chose to create it in GeoJSON. Would things be easier for me if they had created it as JSON?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 15:21:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-geojson-file-data-on-web-map-using-arcgis/m-p/227235#M21214</guid>
      <dc:creator>ChrisHolmes</dc:creator>
      <dc:date>2015-02-19T15:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Display GeoJSON file data on web map using ArcGIS JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-geojson-file-data-on-web-map-using-arcgis/m-p/227236#M21215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not necessarily. GeoJSON is &lt;EM&gt;&lt;A href="http://geojson.org/geojson-spec.html"&gt;the spec&lt;/A&gt;&lt;/EM&gt; for spatial data over the web. I don't know exact history, but I'm guessing Esri defined their spec of &lt;EM&gt;(not the official name) &lt;/EM&gt;EsriJSON (which is part of their &lt;A href="http://www.esri.com/industries/landing-pages/geoservices/geoservices"&gt;GeoServices spec&lt;/A&gt;). Like I said, not sure of the discrepency or reasons behind it, maybe a lot of it comes from ArcObjects stuff built up over the years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, it makes sense that some would provide you with GeoJSON data for location information. If you still need to work with Esri data and this GeoJSON data you have, you may want to look at using &lt;A href="http://esri.github.io/esri-leaflet/"&gt;esri-leaflet&lt;/A&gt; as Leaflet &lt;A href="http://leafletjs.com/examples/geojson.html"&gt;uses GeoJSON&lt;/A&gt; out of the box and esri-leaflet adds the ability to use ArcGIS services with it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 15:43:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-geojson-file-data-on-web-map-using-arcgis/m-p/227236#M21215</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2015-02-19T15:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Display GeoJSON file data on web map using ArcGIS JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-geojson-file-data-on-web-map-using-arcgis/m-p/227237#M21216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rene. Sounds like I should learn about leaflet. I have come across reference to it in my searches, but didn't know what it was, also I have map services that I also want to reference. So it sounds like it could be a match.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 16:07:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-geojson-file-data-on-web-map-using-arcgis/m-p/227237#M21216</guid>
      <dc:creator>ChrisHolmes</dc:creator>
      <dc:date>2015-02-19T16:07:39Z</dc:date>
    </item>
  </channel>
</rss>

