You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
we use ArcGIS API for Python in a project and encountered the following problem:
In ArcGIS API for Python 1.5.1 the boolean type property "is_valid" of geometries of type Polygon was removed and replaced by a method. This method is_valid() does not work like the boolean property in the previous versions. It throws an error for valid Polygon geometries as shown below:
In ArcGIS API for Python 1.5.0 the boolean type attribute worked well:
Do you have an idea how to work around this problem ?
Best regards,
Lukas Bug
Student assistant at Esri Deutschland
The text was updated successfully, but these errors were encountered:
I prepared two jupyter notebooks to be able to reproduce this issue. You will find them in the following zip file (Unfortunately Jupyter Notebooks are not supported as a file type on Git):
@achapkowski , look at lines 22, 64, 79, and 80 in geometry/_types.py. Someone wrote bad type checks involving variables that are never defined in the module: list_types, number_type .
Hello,
we use ArcGIS API for Python in a project and encountered the following problem:
In ArcGIS API for Python 1.5.1 the boolean type property "is_valid" of geometries of type Polygon was removed and replaced by a method. This method is_valid() does not work like the boolean property in the previous versions. It throws an error for valid Polygon geometries as shown below:

In ArcGIS API for Python 1.5.0 the boolean type attribute worked well:

Do you have an idea how to work around this problem ?
Best regards,
Lukas Bug
Student assistant at Esri Deutschland
The text was updated successfully, but these errors were encountered: