<?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 adding feature using REST API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-feature-using-rest-api/m-p/681195#M63479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i have a feature layer&lt;/SPAN&gt;&lt;A href="http://services1.arcgis.com/6KARYenaCPY4jndv/ArcGIS/rest/services/employeeDetails/FeatureServer" rel="nofollow noopener noreferrer" target="_blank"&gt;EMPLOYEE&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and i tried to add the feature using the REST API &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://services1.arcgis.com/6KARYenaCPY4jndv/ArcGIS/rest/services/employeeDetails/FeatureServer/0/addFeatures" rel="nofollow noopener noreferrer" target="_blank"&gt;http://services1.arcgis.com/6KARYenaCPY4jndv/ArcGIS/rest/services/employeeDetails/FeatureServer/0/addFeatures&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and input as &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
{"geometry":{"x":13.25,"y":76.4},"attributes":{"employeeId":123,"Address":"#9/10, 2nd main, 7th Main, Vijaynagar,Bangalore,Karnataka,560040","employeeName":"Tester"}}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where the geometry is the lat/long which i gave the India's some place lat/long&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My Issue is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1: It is showing some where near Africa.. it is because of spatial reference problem.. how can i get X and Y from Lat/Long&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2: I have address as feature attribute, Which REST API to use to add the feature on the map&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Chiru&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 04:40:45 GMT</pubDate>
    <dc:creator>ChiranjeeviGK</dc:creator>
    <dc:date>2021-12-12T04:40:45Z</dc:date>
    <item>
      <title>adding feature using REST API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-feature-using-rest-api/m-p/681195#M63479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i have a feature layer&lt;/SPAN&gt;&lt;A href="http://services1.arcgis.com/6KARYenaCPY4jndv/ArcGIS/rest/services/employeeDetails/FeatureServer" rel="nofollow noopener noreferrer" target="_blank"&gt;EMPLOYEE&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and i tried to add the feature using the REST API &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://services1.arcgis.com/6KARYenaCPY4jndv/ArcGIS/rest/services/employeeDetails/FeatureServer/0/addFeatures" rel="nofollow noopener noreferrer" target="_blank"&gt;http://services1.arcgis.com/6KARYenaCPY4jndv/ArcGIS/rest/services/employeeDetails/FeatureServer/0/addFeatures&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and input as &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
{"geometry":{"x":13.25,"y":76.4},"attributes":{"employeeId":123,"Address":"#9/10, 2nd main, 7th Main, Vijaynagar,Bangalore,Karnataka,560040","employeeName":"Tester"}}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where the geometry is the lat/long which i gave the India's some place lat/long&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My Issue is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1: It is showing some where near Africa.. it is because of spatial reference problem.. how can i get X and Y from Lat/Long&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2: I have address as feature attribute, Which REST API to use to add the feature on the map&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Chiru&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:40:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-feature-using-rest-api/m-p/681195#M63479</guid>
      <dc:creator>ChiranjeeviGK</dc:creator>
      <dc:date>2021-12-12T04:40:45Z</dc:date>
    </item>
  </channel>
</rss>

