laptop and a wrench

漏洞

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

ArcGIS Pro
漏洞 ID 编号 BUG-000164162
已提交January 5, 2024
上次修改时间December 15, 2024
适用范围ArcGIS Pro
找到的版本3.2.1
操作系统Windows OS
操作系统版本10.0 64 Bit
状态As Designed

附加信息

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.

重现步骤

漏洞 ID: BUG-000164162

软件:

  • ArcGIS Pro

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项