<?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 Using Feature Service URL in Arcpy in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/using-feature-service-url-in-arcpy/m-p/611311#M27206</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys whats the best way to process a Feature services url in arcpy?&lt;/P&gt;&lt;P&gt;I have number of feature services (here's and example of one layer:&amp;nbsp;&lt;A class="link-titled" href="https://services1.arcgis.com/d0ZCwU7eGKVeNiEE/ArcGIS/rest/services/MVT_Trails/FeatureServer/0" title="https://services1.arcgis.com/d0ZCwU7eGKVeNiEE/ArcGIS/rest/services/MVT_Trails/FeatureServer/0"&gt;https://services1.arcgis.com/d0ZCwU7eGKVeNiEE/ArcGIS/rest/services/MVT_Trails/FeatureServer/0&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;I am trying to process these layers, clip them to my jurisdiction and then save them in a GDB. However, arcpy does not recognize a feature service and I am getting&amp;nbsp;an error.&lt;/P&gt;&lt;P&gt;Does anyone know what I need to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Mar 2020 20:00:43 GMT</pubDate>
    <dc:creator>aam</dc:creator>
    <dc:date>2020-03-19T20:00:43Z</dc:date>
    <item>
      <title>Using Feature Service URL in Arcpy</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/using-feature-service-url-in-arcpy/m-p/611311#M27206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys whats the best way to process a Feature services url in arcpy?&lt;/P&gt;&lt;P&gt;I have number of feature services (here's and example of one layer:&amp;nbsp;&lt;A class="link-titled" href="https://services1.arcgis.com/d0ZCwU7eGKVeNiEE/ArcGIS/rest/services/MVT_Trails/FeatureServer/0" title="https://services1.arcgis.com/d0ZCwU7eGKVeNiEE/ArcGIS/rest/services/MVT_Trails/FeatureServer/0"&gt;https://services1.arcgis.com/d0ZCwU7eGKVeNiEE/ArcGIS/rest/services/MVT_Trails/FeatureServer/0&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;I am trying to process these layers, clip them to my jurisdiction and then save them in a GDB. However, arcpy does not recognize a feature service and I am getting&amp;nbsp;an error.&lt;/P&gt;&lt;P&gt;Does anyone know what I need to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 20:00:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/using-feature-service-url-in-arcpy/m-p/611311#M27206</guid>
      <dc:creator>aam</dc:creator>
      <dc:date>2020-03-19T20:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using Feature Service URL in Arcpy</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/using-feature-service-url-in-arcpy/m-p/611312#M27207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see this post of mine:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/246363-using-arcpy-to-copy-a-portal-feature-service-to-a-fgdb-feature-class"&gt;https://community.esri.com/thread/246363-using-arcpy-to-copy-a-portal-feature-service-to-a-fgdb-feature-class&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you'll need to venture into the arcpy api....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 21:08:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/using-feature-service-url-in-arcpy/m-p/611312#M27207</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-03-19T21:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using Feature Service URL in Arcpy</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/using-feature-service-url-in-arcpy/m-p/611313#M27208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;would it be easier to use model builder instead. I've never used Arcpy API.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2020 12:57:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/using-feature-service-url-in-arcpy/m-p/611313#M27208</guid>
      <dc:creator>aam</dc:creator>
      <dc:date>2020-03-20T12:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using Feature Service URL in Arcpy</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/using-feature-service-url-in-arcpy/m-p/611314#M27209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not a model builder guy; if you follow what &lt;A href="https://community.esri.com/migrated-users/3420"&gt;Joshua Bixby&lt;/A&gt;‌ instructs me to do, you should be fine.&amp;nbsp; That was my first time into the api myself...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2020 14:32:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/using-feature-service-url-in-arcpy/m-p/611314#M27209</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-03-20T14:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using Feature Service URL in Arcpy</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/using-feature-service-url-in-arcpy/m-p/1413857#M82250</link>
      <description>&lt;P&gt;Assuming you want to use the service as an input for geoprocessing tools in arcpy, I would recommend using the MakeFeatureLayer_management() function:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;url = r"https://services1.arcgis.com/d0ZCwU7eGKVeNiEE/ArcGIS/rest/services/MVT_Trails/FeatureServer/0"
layer_name = "MVT Trails"
layer = MakeFeatureLayer_management(url, layer_name).getOutput(0)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 00:16:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/using-feature-service-url-in-arcpy/m-p/1413857#M82250</guid>
      <dc:creator>ANH</dc:creator>
      <dc:date>2024-04-23T00:16:30Z</dc:date>
    </item>
  </channel>
</rss>

