| Numéro d’ID de bogue |
BUG-000149691 |
| Envoi | June 2, 2022 |
| Dernière modification | March 19, 2025 |
| S’applique à | ArcGIS Pro |
| Version trouvée | 2.9.2 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 10.0 64 Bit |
| Statut | As Designed
Après examen par l’équipe de développement, il a été déterminé que ce comportement est prévu. Pour plus d’informations, reportez-vous à la section Informations supplémentaires.
|
Informations supplémentaires
When creating geometry objects via ArcPy, the spatial reference object must be set to enable high precision coordinates. For the code samples provided, adding `spatial_reference = WGS84` accomplishes this and allows the geometries to be interacted with as expected. Geometries created without a spatial reference are stored in a low precision mode which collapses geometries within short distances of one another. Note that properties like the area are rendered in the non-existent unit of 'square decimal degrees', and for real calculations a projection should be applied before calculation at this time.
Solution de contournement
- Create polylines from arcpy.Polygon with an array of points.
- Create a polyline feature class using Create Feature Class (Data Management) tool.
- Create a polygon feature class from polylines with the same Create Feature Class (Data Management) tool.
Étapes pour reproduire
ID de bogue: BUG-000149691
Logiciel: