laptop and a wrench

Bug

The arcgis.geometry.Polygon.is_valid() method for polygons does not work.

Zuletzt veröffentlicht: February 26, 2019 ArcGIS API for Python
Bug-ID-Nummer BUG-000119560
EingereichtJanuary 23, 2019
Zuletzt geändertJune 30, 2025
Gilt fürArcGIS API for Python
Gefunden in Version1.5.1
Behoben in Version1.6.2
StatusFixed

Workaround

Modify the _types.py file mentioned in errors. For example, in this case: /data/anaconda3/lib/python3.6/site-packages/arcgis/geometry/_types.pyEdit _types.py to include the following lines after the import statements:
list_types = (list, tuple)
number_type = (int, float, complex)Save the file. Restart the kernel if using Jupyter Notebook to reflect the update (i.e, click >>).

Schritte zur Reproduzierung

Bug-ID: BUG-000119560

Software:

  • ArcGIS API for Python

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln