<?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 What is the best practice for creating a geodatabase and copying a feature class into it using the ArcGIS Pro SDK? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/what-is-the-best-practice-for-creating-a/m-p/812431#M2394</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been reading through the online documentation and I can't seem to find any snippets or examples that do these very basic functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I need to do is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Create a new geodatabase&lt;/P&gt;&lt;P&gt;2) Reference a feature service&lt;/P&gt;&lt;P&gt;3) copy that feature service into the geodatabase&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've found snippets that allow me to add layer to a map&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;//create a layer using a URL&lt;BR /&gt;string url = @"&lt;SPAN style="text-decoration: underline;"&gt;http://sampleserver6.arcgisonline.com/arcgis/rest/services/NapervilleShelters/FeatureServer/0&lt;/SPAN&gt;";&lt;BR /&gt;Layer lyr = LayerFactory.Instance.CreateLayer(new Uri(url), map);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I cannot find the method to then save that layer to a geodatabase.&lt;BR /&gt;&lt;BR /&gt;Any help would be much appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 May 2020 16:53:32 GMT</pubDate>
    <dc:creator>JohnPhillipsGeo</dc:creator>
    <dc:date>2020-05-14T16:53:32Z</dc:date>
    <item>
      <title>What is the best practice for creating a geodatabase and copying a feature class into it using the ArcGIS Pro SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/what-is-the-best-practice-for-creating-a/m-p/812431#M2394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been reading through the online documentation and I can't seem to find any snippets or examples that do these very basic functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I need to do is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Create a new geodatabase&lt;/P&gt;&lt;P&gt;2) Reference a feature service&lt;/P&gt;&lt;P&gt;3) copy that feature service into the geodatabase&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've found snippets that allow me to add layer to a map&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;//create a layer using a URL&lt;BR /&gt;string url = @"&lt;SPAN style="text-decoration: underline;"&gt;http://sampleserver6.arcgisonline.com/arcgis/rest/services/NapervilleShelters/FeatureServer/0&lt;/SPAN&gt;";&lt;BR /&gt;Layer lyr = LayerFactory.Instance.CreateLayer(new Uri(url), map);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I cannot find the method to then save that layer to a geodatabase.&lt;BR /&gt;&lt;BR /&gt;Any help would be much appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2020 16:53:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/what-is-the-best-practice-for-creating-a/m-p/812431#M2394</guid>
      <dc:creator>JohnPhillipsGeo</dc:creator>
      <dc:date>2020-05-14T16:53:32Z</dc:date>
    </item>
  </channel>
</rss>

