<?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: ArcGIS Save To Local Database like SQL or PostgreSQL in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-save-to-local-database-like-sql-or/m-p/1008020#M71074</link>
    <description>&lt;P&gt;what kind of client you want to use Desktop, Web, Mobile? Also what is your local database?&lt;/P&gt;&lt;P&gt;Some answers you can find on the following help&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/help/editing/overview-of-desktop-editing.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/help/editing/overview-of-desktop-editing.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://enterprise.arcgis.com/en/server/latest/create-web-apps/windows/about-editing-in-web-applications.htm" target="_blank"&gt;https://enterprise.arcgis.com/en/server/latest/create-web-apps/windows/about-editing-in-web-applications.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/help/data/databases/databases-and-arcgis.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/help/data/databases/databases-and-arcgis.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Dec 2020 13:00:14 GMT</pubDate>
    <dc:creator>PanagiotisPapadopoulos</dc:creator>
    <dc:date>2020-12-09T13:00:14Z</dc:date>
    <item>
      <title>ArcGIS Save To Local Database like SQL or PostgreSQL</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-save-to-local-database-like-sql-or/m-p/1008012#M71073</link>
      <description>&lt;P&gt;I want to save coordinates in our local database. How can I do this?.. and also Draw new shapes and took that coordinates also I want to save in our local database...&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 12:10:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-save-to-local-database-like-sql-or/m-p/1008012#M71073</guid>
      <dc:creator>davidkp</dc:creator>
      <dc:date>2020-12-09T12:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Save To Local Database like SQL or PostgreSQL</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-save-to-local-database-like-sql-or/m-p/1008020#M71074</link>
      <description>&lt;P&gt;what kind of client you want to use Desktop, Web, Mobile? Also what is your local database?&lt;/P&gt;&lt;P&gt;Some answers you can find on the following help&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/help/editing/overview-of-desktop-editing.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/help/editing/overview-of-desktop-editing.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://enterprise.arcgis.com/en/server/latest/create-web-apps/windows/about-editing-in-web-applications.htm" target="_blank"&gt;https://enterprise.arcgis.com/en/server/latest/create-web-apps/windows/about-editing-in-web-applications.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/help/data/databases/databases-and-arcgis.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/help/data/databases/databases-and-arcgis.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 13:00:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-save-to-local-database-like-sql-or/m-p/1008020#M71074</guid>
      <dc:creator>PanagiotisPapadopoulos</dc:creator>
      <dc:date>2020-12-09T13:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Save To Local Database like SQL or PostgreSQL</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-save-to-local-database-like-sql-or/m-p/1008021#M71075</link>
      <description>&lt;P&gt;Also to get the coordinates there are many ways to achieve this.&lt;/P&gt;&lt;P&gt;1. Using Geometry Calculation from ArcGIS Pro (&lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/calculate-geometry-attributes.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/tool-reference/data-management/calculate-geometry-attributes.htm&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;2. Use python tools (&lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/data-access/featureclasstonumpyarray.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/arcpy/data-access/featureclasstonumpyarray.htm&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;3. If you are using enterprise Geodatabase with SQL and spatial functions (&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/st-x.htm" target="_blank"&gt;https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/st-x.htm&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 13:08:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-save-to-local-database-like-sql-or/m-p/1008021#M71075</guid>
      <dc:creator>PanagiotisPapadopoulos</dc:creator>
      <dc:date>2020-12-09T13:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Save To Local Database like SQL or PostgreSQL</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-save-to-local-database-like-sql-or/m-p/1008780#M71087</link>
      <description>&lt;P&gt;Actually I am doing in angular, Asp.net Core And Database is SQL server&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 06:06:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-save-to-local-database-like-sql-or/m-p/1008780#M71087</guid>
      <dc:creator>davidkp</dc:creator>
      <dc:date>2020-12-11T06:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Save To Local Database like SQL or PostgreSQL</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-save-to-local-database-like-sql-or/m-p/1008815#M71088</link>
      <description>&lt;P&gt;So on the web app you can use the ArcGIS Javascript API (&lt;A href="https://developers.arcgis.com/javascript/" target="_blank"&gt;https://developers.arcgis.com/javascript/&lt;/A&gt;) in order to create a map and the editing functionality.&lt;/P&gt;&lt;P&gt;The best way is to use an ArcGIS Enterprise in order to Enable and create a Geodatabase on the SQL Server (&lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/enable-enterprise-geodatabase.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/tool-reference/data-management/enable-enterprise-geodatabase.htm&lt;/A&gt;) and create the appropriate web services (Feature services) for the web editing (&lt;A href="https://enterprise.arcgis.com/en/server/latest/publish-services/windows/what-is-a-feature-service-.htm" target="_blank"&gt;https://enterprise.arcgis.com/en/server/latest/publish-services/windows/what-is-a-feature-service-.htm&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Finally on the Web App you can use the out of the box Editing Widget (&lt;A href="https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=ed_simpletoolbar" target="_blank"&gt;https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=ed_simpletoolbar&lt;/A&gt;) or create custom editing tools (&lt;A href="https://developers.arcgis.com/javascript/3/jssamples/ed_feature_creation.html" target="_blank"&gt;https://developers.arcgis.com/javascript/3/jssamples/ed_feature_creation.html&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;The geometries stored directly to the Geodatabase (SQL Server in your case)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If your case is not to apply the ArcGIS Enterprise Solution on the system the only part you can use is the ArcGIS Javascript API to create the map and the editing tools, only for the drawing tools (&lt;A href="https://developers.arcgis.com/javascript/3/jssamples/toolbar_draw.html" target="_blank"&gt;https://developers.arcgis.com/javascript/3/jssamples/toolbar_draw.html&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;After that from the result graphic you can get the geometry (&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/graphic-amd.html#geometry" target="_blank"&gt;https://developers.arcgis.com/javascript/3/jsapi/graphic-amd.html#geometry&lt;/A&gt;) and from the geometry (depends from the geometry type, point line, polygon) you can get the coordinates (vertices)&lt;/P&gt;&lt;P&gt;For point (&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/point-amd.html#x" target="_blank"&gt;https://developers.arcgis.com/javascript/3/jsapi/point-amd.html#x&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;For Line (&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/polyline-amd.html#paths" target="_blank"&gt;https://developers.arcgis.com/javascript/3/jsapi/polyline-amd.html#paths&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;For Polygon (&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/polygon-amd.html#rings" target="_blank"&gt;https://developers.arcgis.com/javascript/3/jsapi/polygon-amd.html#rings&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Also you can convert the geometry to Json.&lt;/P&gt;&lt;P&gt;A sample is here:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if (graphic.geometry.type==="point"){&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;graphic.geometry.x&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;graphic.geometry.y&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;…….&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if (graphic.geometry.type==="polyline"){&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;var RG = graphic.paths[0]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;var countVertex =0;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;for (var im = 0, ilm = RG.length; im &amp;lt; ilm; im++)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; countVertex = countVertex + 1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; var vertex = graphic.getPoint(0,im);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;….&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;….&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;…..&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;…&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if (graphic.geometry.type==="polygon"){&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;var RG = graphic. rings[0]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;var countVertex =0;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;for (var im = 0, ilm = RG. length-1; im &amp;lt; ilm; im++)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; countVertex = countVertex + 1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; var vertex = graphic.getPoint(0,im);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;….&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;….&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;…..&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;….&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;At this point you only have on the client side the graphic and the vertices. With out ArcGIS Enterprise depends to you to implement&amp;nbsp;the way you have to store the data on the database&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;For this case see the Developer options you have in order to use the ArcGIS Javascript API &lt;A href="https://developers.arcgis.com/pricing/" target="_blank"&gt;https://developers.arcgis.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 07:58:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-save-to-local-database-like-sql-or/m-p/1008815#M71088</guid>
      <dc:creator>PanagiotisPapadopoulos</dc:creator>
      <dc:date>2020-12-11T07:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Save To Local Database like SQL or PostgreSQL</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-save-to-local-database-like-sql-or/m-p/1008816#M71089</link>
      <description>&lt;P&gt;Also how to use ArcGIS Javascript API with Angular see here&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/angular-cli-esri-map" target="_blank"&gt;https://github.com/Esri/angular-cli-esri-map&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 08:02:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-save-to-local-database-like-sql-or/m-p/1008816#M71089</guid>
      <dc:creator>PanagiotisPapadopoulos</dc:creator>
      <dc:date>2020-12-11T08:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Save To Local Database like SQL or PostgreSQL</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-save-to-local-database-like-sql-or/m-p/1008825#M71090</link>
      <description>&lt;P&gt;Thank You So Much ....&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 09:18:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-save-to-local-database-like-sql-or/m-p/1008825#M71090</guid>
      <dc:creator>davidkp</dc:creator>
      <dc:date>2020-12-11T09:18:23Z</dc:date>
    </item>
  </channel>
</rss>

