Bug
Bug ID Number | BUG-000177805 |
---|---|
Submitted | July 9, 2025 |
Last Modified | July 15, 2025 |
Applies to | ArcGIS Online |
Version found | June 2025 |
Operating System | Windows OS |
Operating System Version | 11.0 64 bit |
Status | Known Limit |
Polygon geometries are encoded as a series of rings. Filled rings must have vertices ordered clockwise, while holes must have vertices ordered counter-clockwise. Additionally, the sequence of the rings is important: the first ring is interpreted as a filled polygon, followed by any number of holes. After that, another filled ring may follow, along with its associated holes, and so on.
If the holes intended for the first filled ring are placed after a subsequent filled ring, they will not be applied as expected. To ensure correct rendering in Scene Viewer, the ring order must be strictly followed.
Adding the following JSON to addFeatures will produce the expected result:
[ { "geometry": { "rings": [ [ [2.0, 0.0], [1.618033988749895, 1.1755705045849463], [0.6180339887498949, 1.902113032590307], [-0.6180339887498947, 1.9021130325903073], [-1.6180339887498947, 1.1755705045849465], [-2.0, 2.4492935982947064e-16], [-1.618033988749895, -1.175570504584946], [-0.6180339887498951, -1.902113032590307], [0.6180339887498945, -1.9021130325903073], [1.6180339887498947, -1.1755705045849467], [2.0, 0.0] ], [ [0, -0.5], [-0.5, 0.5], [1.618033988749895, 1.1755705045849463], [0, -0.5] ] ], "spatialReference": { "wkid": 4326 } }, "attributes": {} } ]
Bug ID: BUG-000177805
Software:
Get help from ArcGIS experts
Download the Esri Support App