<?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 How to access .shp file from local computer or some other server. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-access-shp-file-from-local-computer-or-some/m-p/476184#M44218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Below is the code in which we can access a feature layer from ArcGIS sample server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;queryTask = new esri.arcgis.gmaps.QueryTask("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3" rel="nofollow" target="_blank"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I want to access my own .shp file residing on my local computer or on another server, e.g this..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;queryTask = new esri.arcgis.gmaps.QueryTask("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://172.20.100.12/Demo/Resources/ABC.shp" rel="nofollow" target="_blank"&gt;http://172.20.100.12/Demo/Resources/ABC.shp&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this case, queryTask does not return featureSet and so .shp file could not display on Map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anybody help me .. where is problem and how i can fix it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Feb 2011 09:17:11 GMT</pubDate>
    <dc:creator>MustafaNoor</dc:creator>
    <dc:date>2011-02-08T09:17:11Z</dc:date>
    <item>
      <title>How to access .shp file from local computer or some other server.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-access-shp-file-from-local-computer-or-some/m-p/476184#M44218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Below is the code in which we can access a feature layer from ArcGIS sample server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;queryTask = new esri.arcgis.gmaps.QueryTask("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3" rel="nofollow" target="_blank"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I want to access my own .shp file residing on my local computer or on another server, e.g this..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;queryTask = new esri.arcgis.gmaps.QueryTask("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://172.20.100.12/Demo/Resources/ABC.shp" rel="nofollow" target="_blank"&gt;http://172.20.100.12/Demo/Resources/ABC.shp&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this case, queryTask does not return featureSet and so .shp file could not display on Map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anybody help me .. where is problem and how i can fix it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 09:17:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-access-shp-file-from-local-computer-or-some/m-p/476184#M44218</guid>
      <dc:creator>MustafaNoor</dc:creator>
      <dc:date>2011-02-08T09:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to access .shp file from local computer or some other server.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-access-shp-file-from-local-computer-or-some/m-p/476185#M44219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can't be done...you'll need to publish your .shp file as a map service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other possibility, if you're not dealing with a large number of features (let's say &amp;lt;1000), is to convert your features to .json, grab them and then display them as graphics on top of a basemap.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 14:52:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-access-shp-file-from-local-computer-or-some/m-p/476185#M44219</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-02-08T14:52:13Z</dc:date>
    </item>
  </channel>
</rss>

