<?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 Extract shapefile from web map??? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extract-shapefile-from-web-map/m-p/205756#M19100</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This task is going to be the death me. I know just enough about ESRI and GIS to be dangerous.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel like my task should be simple, but I just can't figure it out after searching forums and trying different methods for weeks. All I want to do is click a button on the map and export the current viewable extent to the user in the form of a shapefile. I've tried several built-in processes with absolutely no luck. I cross one hurdle only to fall face first into the next one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently focused on ExtractData but am running into a login prompt because the creation of the ExtractData object is trying to access arcgis/rest/info?f=json on my server and it doesn't have access to that. I'm so frustrated. This may not even be the best way to do what I'm attempting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me, or point me to sample code (which I'm having no luck finding,) how to export spatial data from a web map?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Oct 2019 15:33:12 GMT</pubDate>
    <dc:creator>TomLewis</dc:creator>
    <dc:date>2019-10-15T15:33:12Z</dc:date>
    <item>
      <title>Extract shapefile from web map???</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extract-shapefile-from-web-map/m-p/205756#M19100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This task is going to be the death me. I know just enough about ESRI and GIS to be dangerous.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel like my task should be simple, but I just can't figure it out after searching forums and trying different methods for weeks. All I want to do is click a button on the map and export the current viewable extent to the user in the form of a shapefile. I've tried several built-in processes with absolutely no luck. I cross one hurdle only to fall face first into the next one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently focused on ExtractData but am running into a login prompt because the creation of the ExtractData object is trying to access arcgis/rest/info?f=json on my server and it doesn't have access to that. I'm so frustrated. This may not even be the best way to do what I'm attempting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me, or point me to sample code (which I'm having no luck finding,) how to export spatial data from a web map?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2019 15:33:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extract-shapefile-from-web-map/m-p/205756#M19100</guid>
      <dc:creator>TomLewis</dc:creator>
      <dc:date>2019-10-15T15:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Extract shapefile from web map???</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extract-shapefile-from-web-map/m-p/205757#M19101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot do such a thing unless the owner of the data has set up permissions to do so&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2019 15:35:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extract-shapefile-from-web-map/m-p/205757#M19101</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2019-10-15T15:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Extract shapefile from web map???</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extract-shapefile-from-web-map/m-p/205758#M19102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am the owner of the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2019 15:36:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extract-shapefile-from-web-map/m-p/205758#M19102</guid>
      <dc:creator>TomLewis</dc:creator>
      <dc:date>2019-10-15T15:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Extract shapefile from web map???</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extract-shapefile-from-web-map/m-p/205759#M19103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you seen some of the samples posted in this thread?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/176528"&gt;https://community.esri.com/thread/176528&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They might provide some guidance or inspiration.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 22:49:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extract-shapefile-from-web-map/m-p/205759#M19103</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2019-10-16T22:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Extract shapefile from web map???</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extract-shapefile-from-web-map/m-p/205760#M19104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have gone through all of them. I'm just not understanding all of the pieces I guess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought the JavaScript ExtractData class was going to give me what I need, but for some reason, the construction of the ExtractData object is making a call to the root of my rest service (&lt;SPAN style="background-color: #ffffff;"&gt;arcgis/rest/info?f=json)&lt;/SPAN&gt;&amp;nbsp;and it's bringing up a logon prompt. I can't have a logon prompt coming up.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 13:11:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extract-shapefile-from-web-map/m-p/205760#M19104</guid>
      <dc:creator>TomLewis</dc:creator>
      <dc:date>2019-10-17T13:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Extract shapefile from web map???</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extract-shapefile-from-web-map/m-p/205761#M19105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried using a proxy?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jshelp/ags_proxy.html" title="https://developers.arcgis.com/javascript/3/jshelp/ags_proxy.html"&gt;Using the proxy | Guide | ArcGIS API for JavaScript 3.30&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 16:21:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extract-shapefile-from-web-map/m-p/205761#M19105</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2019-10-17T16:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: Extract shapefile from web map???</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extract-shapefile-from-web-map/m-p/205762#M19106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do use a proxy. This is what my 2 URL's look like from the&amp;nbsp;browser (development, hence the http):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the ExtractData:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222;"&gt;&lt;A href="http://localhost/proxy.ashx?http://appagsdev.awwu.biz/arcgis/rest/services/TDMS/MapExport/GPServer?f=json"&gt;http://localhost/proxy.ashx?http://xxx.xxx/arcgis/rest/services/TDMS/MapExport/GPServer?f=json&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222;"&gt;Then for some reason, called during creation of ExtractData object which causes the login prompt:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222;"&gt;http://localhost/proxy.ashx?http://&lt;A href="http://localhost/proxy.ashx?http://appagsdev.awwu.biz/arcgis/rest/services/TDMS/MapExport/GPServer?f=json" style="color: #2989c5; text-decoration: none;"&gt;xxx.xxx&lt;/A&gt;/arcgis/rest/info?f=json&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222;"&gt;Strange thing is that both URLs passed through the proxy return without login and with no problems.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222;"&gt;Edit: I mean when I access the URLs directly without the proxy in a browser, there is no login.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 17:11:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extract-shapefile-from-web-map/m-p/205762#M19106</guid>
      <dc:creator>TomLewis</dc:creator>
      <dc:date>2019-10-17T17:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Extract shapefile from web map???</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extract-shapefile-from-web-map/m-p/205763#M19107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you still trying to work on this?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2020 17:40:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extract-shapefile-from-web-map/m-p/205763#M19107</guid>
      <dc:creator>AndreaBoero</dc:creator>
      <dc:date>2020-05-20T17:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Extract shapefile from web map???</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extract-shapefile-from-web-map/m-p/205764#M19108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No. I gave up since ESRI made it next to impossible to implement something so simple. I now create my own shapefiles by reading the features from the REST service and that is much easier. It's also super easy when I'm dealing with my dynamic graphics layers that aren't coming from the server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2020 18:01:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extract-shapefile-from-web-map/m-p/205764#M19108</guid>
      <dc:creator>TomLewis</dc:creator>
      <dc:date>2020-05-20T18:01:03Z</dc:date>
    </item>
  </channel>
</rss>

