<?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 Use esri in a restful service  in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/use-esri-in-a-restful-service/m-p/859574#M5564</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to run a POC to expose a rest API (with a JSON response, no UI is needed), which (at first stage), trying to figure out if there is a line of sight between two points (actually, I need to see if a fresnel zone has no obstructions between two points).&lt;/P&gt;&lt;P&gt;I have no&amp;nbsp;clue on how to get started on that. I tried using the Java SDK, but I do not need a native desktop app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not understand the rest API docs. I do not understand the different things Esri is offering and to be honest, I'm a bit lost right now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone steer me in the right direction? what is the best way of writing a restful service which uses Esri as its internal engine? Where should I start if I have never used Esri's products (or any other similar products)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Apr 2020 11:41:06 GMT</pubDate>
    <dc:creator>YuvalYaari</dc:creator>
    <dc:date>2020-04-20T11:41:06Z</dc:date>
    <item>
      <title>Use esri in a restful service</title>
      <link>https://community.esri.com/t5/developers-questions/use-esri-in-a-restful-service/m-p/859574#M5564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to run a POC to expose a rest API (with a JSON response, no UI is needed), which (at first stage), trying to figure out if there is a line of sight between two points (actually, I need to see if a fresnel zone has no obstructions between two points).&lt;/P&gt;&lt;P&gt;I have no&amp;nbsp;clue on how to get started on that. I tried using the Java SDK, but I do not need a native desktop app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not understand the rest API docs. I do not understand the different things Esri is offering and to be honest, I'm a bit lost right now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone steer me in the right direction? what is the best way of writing a restful service which uses Esri as its internal engine? Where should I start if I have never used Esri's products (or any other similar products)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 11:41:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/use-esri-in-a-restful-service/m-p/859574#M5564</guid>
      <dc:creator>YuvalYaari</dc:creator>
      <dc:date>2020-04-20T11:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Use esri in a restful service</title>
      <link>https://community.esri.com/t5/developers-questions/use-esri-in-a-restful-service/m-p/859575#M5565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like you could use the ESRI JavaScript API to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using similar code to this sample:&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/pen?&amp;amp;editable=true&amp;amp;editors=100"&gt;https://codepen.io/pen?&amp;amp;editable=true&amp;amp;editors=100&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would just need to add some logic that returns a Boolean value on whether the viewshed graphic intersects another point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're uncomfortable using the API, you can start off exploring the ESRI labs:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/labs/" title="https://developers.arcgis.com/labs/"&gt;Get Started | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 14:23:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/use-esri-in-a-restful-service/m-p/859575#M5565</guid>
      <dc:creator>Aled_Jones</dc:creator>
      <dc:date>2020-04-20T14:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Use esri in a restful service</title>
      <link>https://community.esri.com/t5/developers-questions/use-esri-in-a-restful-service/m-p/859576#M5566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/261926"&gt;Aled Jon&lt;/A&gt;‌ Thank you for your quick reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The link you've attached is for an empty codepen. am I'm missing something?&lt;/P&gt;&lt;P&gt;What is the advantage of using the JavaScript API over the Viewshed API?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 14:35:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/use-esri-in-a-restful-service/m-p/859576#M5566</guid>
      <dc:creator>YuvalYaari</dc:creator>
      <dc:date>2020-04-20T14:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Use esri in a restful service</title>
      <link>https://community.esri.com/t5/developers-questions/use-esri-in-a-restful-service/m-p/859577#M5567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry &lt;A href="https://community.esri.com/migrated-users/402708"&gt;Yuval Yaari&lt;/A&gt;!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/pen?&amp;amp;editable=true&amp;amp;editors=100&amp;amp;prefill_data_id=15c58d50-6549-0138-160e-02420aff0019"&gt;https://codepen.io/pen?&amp;amp;editable=true&amp;amp;editors=100&amp;amp;prefill_data_id=15c58d50-6549-0138-160e-02420aff0019&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the post:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/geoprocessing-viewshed/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/geoprocessing-viewshed/index.html"&gt;Geoprocessing - viewshed analysis | ArcGIS API for JavaScript 4.15&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Personally, the advantages are purely for development. In this scenario, I'd use the JavaScript API to develop the logic&amp;nbsp;with a visual output on a small sample set and then extract the logic into a REST API application. It's a personal preference and the JavaScript API resources are great to get started on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 15:33:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/use-esri-in-a-restful-service/m-p/859577#M5567</guid>
      <dc:creator>Aled_Jones</dc:creator>
      <dc:date>2020-04-20T15:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Use esri in a restful service</title>
      <link>https://community.esri.com/t5/developers-questions/use-esri-in-a-restful-service/m-p/859578#M5568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/261926"&gt;Aled Jon&lt;/A&gt;‌ Thanks again.&lt;/P&gt;&lt;P&gt;Do you see any issue on using the logic inside a nodejs server (which will expose the restful api for) ? Do you know if its a common thing to do?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 17:36:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/use-esri-in-a-restful-service/m-p/859578#M5568</guid>
      <dc:creator>YuvalYaari</dc:creator>
      <dc:date>2020-04-20T17:36:30Z</dc:date>
    </item>
  </channel>
</rss>

