<?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 Python Api in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-python-api/m-p/868915#M4582</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In terms of not being able to import ArcPy after applying the 2.3.1 patch, I haven't seen that come up as an issue.&amp;nbsp; I know for me importing ArcPy still works after the patch was installed.&amp;nbsp; I think it would be worth doing a clean install of Pro 2.3 and the 2.3.1 patch.&amp;nbsp; As much as reinstalling Pro might seem like a hassle, uninstalling and reinstalling Pro is much faster than ArcMap, and I have found over the years that the upfront hassle of reinstalling is usually quicker in the long run than trying to troubleshoot gremlins related to a messed up install.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Mar 2019 16:59:52 GMT</pubDate>
    <dc:creator>JoshuaBixby</dc:creator>
    <dc:date>2019-03-11T16:59:52Z</dc:date>
    <item>
      <title>Arcgis Python Api</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-python-api/m-p/868914#M4581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi ,&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Since updating arcgis to 2.3.1, Ive ran into several issues,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;I can no longer import arcpy :&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt; File "&amp;lt;pyshell#14&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt; import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt; File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\__init__.py", line 72, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt; from arcpy.geoprocessing import gp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt; File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\__init__.py", line 14, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt; from ._base import *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt; File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 14, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt; import arcgisscripting&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;ImportError: DLL load failed: The specified procedure could not be found.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 15px; "&gt;Reading in a Spatially enabled dataframe with Polylines results in the geometries being in an invalid format&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 15px; "&gt;I can open the files using other packages such as QGIS with no issues, but when using :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;pd.DataFrame.spatial.from_featureclass("path\SHAPEFILE.shp")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 15px; "&gt;the line geometries&amp;nbsp; appear like this :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;{'paths': ((187630.82, 180236.282), (187678.006, 180294.916)), 'spatialReference': {'wkid': 4326}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;STRONG&gt;instead of&lt;/STRONG&gt;&amp;nbsp;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN&gt;{'paths': [[[187630.82, 180236.282], [187678.006, 180294.916]]], 'spatialReference': {'wkid': 4326}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 15px; "&gt;requiring a manual change of all records in reading in files.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 15px; "&gt;And Third I previously created a script which uses :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN&gt;result=point_geometries_SEDF.SHAPE.geom.within(a_point.buffer(0.5))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 15px; "&gt;which no longer works it appears the buffer function has been broken as using the within function on a point does not return an error only on a buffer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; start_point.within(start_point)&lt;BR /&gt;True&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; start_point.within(start_point.buffer(1))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt; File "&amp;lt;pyshell#6&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt; start_point.within(start_point.buffer(1))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt; File "C:\Users\CIM_Laptop\AppData\Local\ESRI\conda\envs\arcgis1_5\lib\site-packages\arcgis\geometry\_types.py", line 2223, in within&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt; return self.as_shapely.within(second_geometry)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt; File "C:\Users\CIM_Laptop\AppData\Local\ESRI\conda\envs\arcgis1_5\lib\site-packages\shapely\geometry\base.py", line 723, in within&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt; return bool(self.impl['within'](self, other))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt; File "C:\Users\CIM_Laptop\AppData\Local\ESRI\conda\envs\arcgis1_5\lib\site-packages\shapely\predicates.py", line 13, in __call__&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt; self._validate(other, stop_prepared=True)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt; File "C:\Users\CIM_Laptop\AppData\Local\ESRI\conda\envs\arcgis1_5\lib\site-packages\shapely\topology.py", line 18, in _validate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt; raise ValueError("Null geometry supports no operations")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;ValueError: Null geometry supports no operations&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2019 14:02:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-python-api/m-p/868914#M4581</guid>
      <dc:creator>OisinSlevin</dc:creator>
      <dc:date>2019-03-11T14:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis Python Api</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-python-api/m-p/868915#M4582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In terms of not being able to import ArcPy after applying the 2.3.1 patch, I haven't seen that come up as an issue.&amp;nbsp; I know for me importing ArcPy still works after the patch was installed.&amp;nbsp; I think it would be worth doing a clean install of Pro 2.3 and the 2.3.1 patch.&amp;nbsp; As much as reinstalling Pro might seem like a hassle, uninstalling and reinstalling Pro is much faster than ArcMap, and I have found over the years that the upfront hassle of reinstalling is usually quicker in the long run than trying to troubleshoot gremlins related to a messed up install.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2019 16:59:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-python-api/m-p/868915#M4582</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-03-11T16:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis Python Api</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-python-api/m-p/868916#M4583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've got back to my previous installation, all is working, think I'm going to avoid the update button until I have the time to fight gremlins.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2019 17:43:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-python-api/m-p/868916#M4583</guid>
      <dc:creator>OisinSlevin</dc:creator>
      <dc:date>2019-03-11T17:43:14Z</dc:date>
    </item>
  </channel>
</rss>

