laptop and a wrench

Error

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

Última publicación: February 26, 2019 ArcGIS API for Python
Número de ID del error BUG-000119560
EnviadoJanuary 23, 2019
Última modificaciónJune 30, 2025
Relacionado conArcGIS API for Python
Versión encontrada1.5.1
Versión corregida1.6.2
EstadoFixed

Solución alternativa

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 >>).

Pasos para reproducir

ID del error: BUG-000119560

Software:

  • ArcGIS API for Python

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga