laptop and a wrench

Bogue

The ArcPy polyline function creates lines that are missing many of the defined vertices.

ArcGIS Pro
Numéro d’ID de bogue BUG-000164162
EnvoiJanuary 5, 2024
Dernière modificationDecember 15, 2024
S’applique àArcGIS Pro
Version trouvée3.2.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutAs Designed

Informations supplémentaires

The polyline geometry is missing a spatial_reference, it must be created as follows (or based on the spatial reference of the target feature class `poly = arcpy.Polyline(array, spatial_reference=arcpy.SpatialReference(4326))`. Problem with current script: The polyline geometry is created as follows: `poly = arcpy.Polyline(array)` Since no spatial_reference is specified, the geometry is created with UnknownSpatialReference which has a XYTolerance and resolution of 0.001 and 0.0001 respectively. The data is obviously WGS1984 data, and the XY tolerance value of 0.001 decimal degrees at the data's latitude is approximately 65 meters. The arcpy.da.InsertCursor simplifies the data (using XY tolerance) to insure data integrity. This matches pretty well with the output.

Étapes pour reproduire

ID de bogue: BUG-000164162

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement