<?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 Converting an IPoint to an ILocation in ArcGIS REST JS Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-js-questions/converting-an-ipoint-to-an-ilocation/m-p/1389090#M52</link>
    <description>&lt;P&gt;I am trying to get weather data for places I am looking up with the 'geocode' and 'reverseGeocode' operations. I notice that they return IPoint objects, rather than latitude/longitude. Is there a way to convert an IPoint to an ILocation? The weather APIs I'm using need lat/long rather than x/y. Apologies if this is a dumb question I'm new to the APIs and not familiar with the coordinate systems!&lt;/P&gt;</description>
    <pubDate>Thu, 29 Feb 2024 20:35:29 GMT</pubDate>
    <dc:creator>dwmkerr</dc:creator>
    <dc:date>2024-02-29T20:35:29Z</dc:date>
    <item>
      <title>Converting an IPoint to an ILocation</title>
      <link>https://community.esri.com/t5/arcgis-rest-js-questions/converting-an-ipoint-to-an-ilocation/m-p/1389090#M52</link>
      <description>&lt;P&gt;I am trying to get weather data for places I am looking up with the 'geocode' and 'reverseGeocode' operations. I notice that they return IPoint objects, rather than latitude/longitude. Is there a way to convert an IPoint to an ILocation? The weather APIs I'm using need lat/long rather than x/y. Apologies if this is a dumb question I'm new to the APIs and not familiar with the coordinate systems!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 20:35:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-js-questions/converting-an-ipoint-to-an-ilocation/m-p/1389090#M52</guid>
      <dc:creator>dwmkerr</dc:creator>
      <dc:date>2024-02-29T20:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Converting an IPoint to an ILocation</title>
      <link>https://community.esri.com/t5/arcgis-rest-js-questions/converting-an-ipoint-to-an-ilocation/m-p/1393106#M54</link>
      <description>&lt;P&gt;Hi, if you're using the &lt;A href="https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-geocoding/geocode/" target="_self"&gt;geocode function&lt;/A&gt;, the default is to return the X and Y in the WGS84 spatial reference (SRID: 4326), which is essentially lat/long. The X will be the longitude and the Y will be the latitude. You can also pass in a different spatial reference for it to return and it will return the X/Y in that spatial reference. But you should not need to do that since you want lat/long and that is the default.&lt;/P&gt;&lt;P&gt;Here is a tutorial that may help:&amp;nbsp;&lt;A href="https://developers.arcgis.com/arcgis-rest-js/geocode-and-search/search-for-an-address/" target="_blank"&gt;https://developers.arcgis.com/arcgis-rest-js/geocode-and-search/search-for-an-address/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 14:14:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-js-questions/converting-an-ipoint-to-an-ilocation/m-p/1393106#M54</guid>
      <dc:creator>GavinRehkemper</dc:creator>
      <dc:date>2024-03-08T14:14:30Z</dc:date>
    </item>
  </channel>
</rss>

