<?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: Different spatial reference issue with Geoprocessing in leaflet in Open Source Mapping Libraries Ques.</title>
    <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/different-spatial-reference-issue-with/m-p/859788#M262</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank's for your help, but I have the solution. Damn!! Didn't know that there is a simple way by using: gpTask.setParam('env:outSR', 4326);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Aug 2017 18:37:00 GMT</pubDate>
    <dc:creator>A_S_</dc:creator>
    <dc:date>2017-08-18T18:37:00Z</dc:date>
    <item>
      <title>Different spatial reference issue with Geoprocessing in leaflet</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/different-spatial-reference-issue-with/m-p/859785#M259</link>
      <description>&lt;P&gt;Hi, I’m building a web map with ArcGIS Server, Leaflet and Esri-Leaflet.&lt;/P&gt;
&lt;P&gt;Now I’m trying to add a standard geoprocess out of the ArcToolbox (Select Layer by Attribute) but I’m having a problem with the output spatial reference system.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All my data on the Server is in ETRS_1989 and for the web map its transformed into EPSG 4326. Starting my geoprocess replays me data in ERTS_1989, so I changed in ArcMap the “Output Coordinates” in Environment Settings before publishing the service, but that didn’t change anything, services still replays in ERTS_1989.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only way to change that behaviour is using the ArcGIS Server Manager via my browser, guide through Home &amp;gt; services &amp;gt; SelectLayerByAttribute (GPServer) &amp;gt; Select Layer By Attribute &amp;gt; subitmitJob to: Options – Output Spatial Reference and write down 4326 there. This allows me to get back data in 4326 for all future tasks, but only for that one layer I was asking for, all other layers still replay with ETRS_1989.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So is there a way how I can handle that problem? Because I don’t want to change the output spatial reference for each layer by hand using the browser server manager.&lt;/P&gt;
&lt;P&gt;Do I have to do something more as described above before publishing that service or is there a way to change output coordinate system with leaflet? I saw that there is a method in ArcGIS Java Script API but I didn’t see something similar in Esri-Leaflet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help in advance. Let me know, if you need more information to help me.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 13:17:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/different-spatial-reference-issue-with/m-p/859785#M259</guid>
      <dc:creator>A_S_</dc:creator>
      <dc:date>2023-08-28T13:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Different spatial reference issue with Geoprocessing in leaflet</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/different-spatial-reference-issue-with/m-p/859786#M260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you publish a simplified public GP service (perhaps with dummy data) and share some steps to get it to return data in both coordinate systems please? that would &lt;EM&gt;really&lt;/EM&gt; speed up troubleshooting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Aug 2017 13:03:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/different-spatial-reference-issue-with/m-p/859786#M260</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2017-08-15T13:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Different spatial reference issue with Geoprocessing in leaflet</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/different-spatial-reference-issue-with/m-p/859787#M261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your fast answer. I'm not a server admin and after requesting to publish a public GP service I'm not allowed to do this. Would it be helpful to load some screens of GP creation? Maybe I forget only a button or something else. Anyway, if you have tips or ideas for trouble shooting this would be also helpful for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Aug 2017 17:48:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/different-spatial-reference-issue-with/m-p/859787#M261</guid>
      <dc:creator>A_S_</dc:creator>
      <dc:date>2017-08-18T17:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Different spatial reference issue with Geoprocessing in leaflet</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/different-spatial-reference-issue-with/m-p/859788#M262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank's for your help, but I have the solution. Damn!! Didn't know that there is a simple way by using: gpTask.setParam('env:outSR', 4326);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Aug 2017 18:37:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/different-spatial-reference-issue-with/m-p/859788#M262</guid>
      <dc:creator>A_S_</dc:creator>
      <dc:date>2017-08-18T18:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Different spatial reference issue with Geoprocessing in leaflet</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/different-spatial-reference-issue-with/m-p/859789#M263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;glad to hear it! thanks for taking the time to share.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Aug 2017 19:37:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/different-spatial-reference-issue-with/m-p/859789#M263</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2017-08-18T19:37:33Z</dc:date>
    </item>
  </channel>
</rss>

