<?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: How to add shapefile without ArcGIS Online? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-shapefile-without-arcgis-online/m-p/167337#M15521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply! Is this written in Node.js? I am not sure if I can setup the Node.js in my servers, but is there any other library, server object extension or sample to do the same thing also?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jan 2015 04:26:03 GMT</pubDate>
    <dc:creator>StephenLam</dc:creator>
    <dc:date>2015-01-27T04:26:03Z</dc:date>
    <item>
      <title>How to add shapefile without ArcGIS Online?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-shapefile-without-arcgis-online/m-p/167335#M15519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refering to this &lt;A href="https://developers.arcgis.com/javascript/jssamples/portal_addshapefile.html"&gt;sample&lt;/A&gt;, I can do the things as expected. However, my ArcGIS Server and client PC cannot go to the internet, so can I setup the same thing in my intranet environment or can I just simply enable it in my ArcGIS manager? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 10:36:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-shapefile-without-arcgis-online/m-p/167335#M15519</guid>
      <dc:creator>StephenLam</dc:creator>
      <dc:date>2015-01-22T10:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to add shapefile without ArcGIS Online?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-shapefile-without-arcgis-online/m-p/167336#M15520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might be able to use this library:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/mbostock/shapefile" title="https://github.com/mbostock/shapefile"&gt;mbostock/shapefile · GitHub&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 16:25:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-shapefile-without-arcgis-online/m-p/167336#M15520</guid>
      <dc:creator>JeffJacobson</dc:creator>
      <dc:date>2015-01-22T16:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to add shapefile without ArcGIS Online?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-shapefile-without-arcgis-online/m-p/167337#M15521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply! Is this written in Node.js? I am not sure if I can setup the Node.js in my servers, but is there any other library, server object extension or sample to do the same thing also?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 04:26:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-shapefile-without-arcgis-online/m-p/167337#M15521</guid>
      <dc:creator>StephenLam</dc:creator>
      <dc:date>2015-01-27T04:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to add shapefile without ArcGIS Online?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-shapefile-without-arcgis-online/m-p/167338#M15522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stephen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can always host the javascript API locally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the last paragraph here: &lt;A href="https://developers.arcgis.com/javascript/jshelp/intro_accessapi.html" title="https://developers.arcgis.com/javascript/jshelp/intro_accessapi.html"&gt;Get the ArcGIS API for JavaScript | Guide | ArcGIS API for JavaScript&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 13:45:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-shapefile-without-arcgis-online/m-p/167338#M15522</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2015-01-27T13:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to add shapefile without ArcGIS Online?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-shapefile-without-arcgis-online/m-p/167339#M15523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't notice it was designed for Node.js.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are other J&lt;A href="https://github.com/search?l=JavaScript&amp;amp;q=shapefile&amp;amp;type=Repositories&amp;amp;utf8=%E2%9C%93"&gt;avaScript libraries for shapefiles on GitHub&lt;/A&gt;, though. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on its documentation it looks like &lt;A href="https://github.com/calvinmetcalf/shapefile-js"&gt;shapefile-js&lt;/A&gt; is designed to work in a browser.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 20:56:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-shapefile-without-arcgis-online/m-p/167339#M15523</guid>
      <dc:creator>JeffJacobson</dc:creator>
      <dc:date>2015-01-27T20:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to add shapefile without ArcGIS Online?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-shapefile-without-arcgis-online/m-p/167340#M15524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Leaflet.js map with leaflet.shapefile at &lt;A href="https://github.com/calvinmetcalf/leaflet.shapefile" title="https://github.com/calvinmetcalf/leaflet.shapefile"&gt;calvinmetcalf/leaflet.shapefile · GitHub&lt;/A&gt;&amp;nbsp; it requires shapefile JS. Then you create a map as in the code below. In the zip I have 4 shapefiles with points and polygons. And you can use ESRI's leaflet plugin for their other stuff if you want. I am over the ESRI JavaScript API - I hate DOJO. It's like they love huge things like Flex and Silverlight and now DOJO for all the fancy widgets. Pretty over functional.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.JPG" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/55263_1.JPG" style="width: 620px; height: 473px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var m = L.map('map').setView([ 35.10418, -106.62987],8);&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var watercolor = L.tileLayer('&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;{s}.tile.stamen.com/watercolor/{z}/{x}/{y}.jpg',{attribution:'Map tiles by &amp;lt;a href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://stamen.com" rel="nofollow" target="_blank"&gt;http://stamen.com&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;Stamen Design&amp;lt;/a&amp;gt;, &amp;lt;a href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://creativecommons.org/licenses/by/3.0" rel="nofollow" target="_blank"&gt;http://creativecommons.org/licenses/by/3.0&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;CC BY 3.0&amp;lt;/a&amp;gt; &amp;amp;mdash; Map data &amp;amp;copy; &amp;lt;a href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://openstreetmap.org" rel="nofollow" target="_blank"&gt;http://openstreetmap.org&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;OpenStreetMap&amp;lt;/a&amp;gt; contributors, &amp;lt;a href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://creativecommons.org/licenses/by-sa/2.0/" rel="nofollow" target="_blank"&gt;http://creativecommons.org/licenses/by-sa/2.0/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;CC-BY-SA&amp;lt;/a&amp;gt;'}).addTo(m);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var shpfile = new L.Shapefile('apsschools.zip',{onEachFeature:function(feature, layer) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (feature.properties) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; layer.bindPopup(Object.keys(feature.properties).map(function(k){&lt;/P&gt;&lt;P&gt;&amp;nbsp; return k + ": " + feature.properties&lt;K&gt; ;&lt;/K&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }).join("&amp;lt;br /&amp;gt;"),{maxHeight:200});&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; }});&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shpfile.addTo(m);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shpfile.once("load", function(){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log("finished loading shapefile");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 21:06:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-shapefile-without-arcgis-online/m-p/167340#M15524</guid>
      <dc:creator>PaulCrickard</dc:creator>
      <dc:date>2015-01-27T21:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to add shapefile without ArcGIS Online?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-shapefile-without-arcgis-online/m-p/167341#M15525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Paul, It works! Can this API convert the geometry based on my coordinate system of shape file? &lt;/P&gt;&lt;P&gt;I also don't like DOJO as it is huge size and slow performance....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 07:08:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-shapefile-without-arcgis-online/m-p/167341#M15525</guid>
      <dc:creator>StephenLam</dc:creator>
      <dc:date>2015-01-29T07:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to add shapefile without ArcGIS Online?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-shapefile-without-arcgis-online/m-p/167342#M15526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My shapefile is in state plane and it converted automatically. If you want to read it back in the original projection, use something like proj4js.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 20:08:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-shapefile-without-arcgis-online/m-p/167342#M15526</guid>
      <dc:creator>PaulCrickard</dc:creator>
      <dc:date>2015-01-29T20:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to add shapefile without ArcGIS Online?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-shapefile-without-arcgis-online/m-p/167343#M15527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey paul, thanks for the codes, it works like a charm&lt;/P&gt;&lt;P&gt;but how to change the outline of the shapefile? like how to customize it to another color and change it from watercolor to a better outline&lt;/P&gt;&lt;P&gt;hope you can help, thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 01:26:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-shapefile-without-arcgis-online/m-p/167343#M15527</guid>
      <dc:creator>BaizuraNapiah</dc:creator>
      <dc:date>2015-12-15T01:26:31Z</dc:date>
    </item>
  </channel>
</rss>

