<?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 Saving Graphics Layer to locally to SDCARD in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/saving-graphics-layer-to-locally-to-sdcard/m-p/426653#M2891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What is the point of the geometryToEsriShape method?&amp;nbsp; I would like to save my graphics layer to the sdcard, but this method just puts the the geometry in a shape format.&amp;nbsp; It does not do anything with the attributes and does not actually give the ability to save the create a shape file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 May 2012 17:49:09 GMT</pubDate>
    <dc:creator>LukeCatania</dc:creator>
    <dc:date>2012-05-08T17:49:09Z</dc:date>
    <item>
      <title>Saving Graphics Layer to locally to SDCARD</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/saving-graphics-layer-to-locally-to-sdcard/m-p/426653#M2891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What is the point of the geometryToEsriShape method?&amp;nbsp; I would like to save my graphics layer to the sdcard, but this method just puts the the geometry in a shape format.&amp;nbsp; It does not do anything with the attributes and does not actually give the ability to save the create a shape file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 17:49:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/saving-graphics-layer-to-locally-to-sdcard/m-p/426653#M2891</guid>
      <dc:creator>LukeCatania</dc:creator>
      <dc:date>2012-05-08T17:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Graphics Layer to locally to SDCARD</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/saving-graphics-layer-to-locally-to-sdcard/m-p/426654#M2892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I solved this problem by writing a few functions to write features into an sqlite database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also made a tool for arcmap with C# to convert those records back to features on my desktop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However I have only used this for Points.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So the only thing i needed to store in the database where the x and y for the geometry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you also need to store lines, polylines or polygons, you will need to now how to store them in a database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To store this in a sqlite database there are several ways.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found decent information to do this on the website of the "open geospatial consortium" (&lt;/SPAN&gt;&lt;A href="http://www.opengeospatial.org/standards/is"&gt;http://www.opengeospatial.org/standards/is&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in the document "OpenGIS Implementation Specification for Geographic information - Simple feature access - Part 2: SQL option",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you will find the information you need on how to store geometry as text inside a database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately there is no way to export features to the sdcard out of the box.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And writing classes to store geometry that is more complex than points will take a lot of work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should give you a good start, but I won't recommend this solution for complex geometry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For complex geometry it is easier to serialize the objects, export them, and then put them back together on your desktop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gwen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 06:19:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/saving-graphics-layer-to-locally-to-sdcard/m-p/426654#M2892</guid>
      <dc:creator>GwenRoyakkers1</dc:creator>
      <dc:date>2012-05-16T06:19:10Z</dc:date>
    </item>
  </channel>
</rss>

