Skip to content

Commit 9868aac

Browse files
authored
Update clause_specification_text.adoc
1 parent 84be157 commit 9868aac

1 file changed

Lines changed: 26 additions & 2 deletions

File tree

standard/clause_specification_text.adoc

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1624,15 +1624,15 @@ Coverage example:
16241624
//### 11.9. Polygon
16251625
==== Polygon
16261626

1627-
Polygons in this domain domain type are defined equally to GeoJSON, except that they can only contain `[x,y]` positions (and not `z` or additional coordinates):
1627+
Polygons in this domain domain type are defined equivalent to GeoJSON, except that they can only contain `[x,y]` positions (and not `z` or additional coordinates):
16281628
- A LinearRing is an array of 4 or more `[x,y]` arrays where each of `x` and `y` is a coordinate value. The first and last `[x,y]` elements are identical.
16291629
- A Polygon is an array of LinearRing arrays. For Polygons with multiple rings, the first MUST be the exterior ring and any others MUST be interior rings or holes.
16301630

16311631
- A domain with Polygon domain type MUST have the axis `"composite"` which has a single Polygon value.
16321632
- The axis `"composite"` MUST have the data type `"polygon"` and the coordinate identifiers `"x","y"`, in that order.
16331633
- A Polygon domain MAY have the axes `"z"` and `"t"` which both MUST have a single coordinate value only.
16341634

1635-
Domain example:
1635+
Domain example of a Simple Polygon:
16361636

16371637
[%unnumbered%]
16381638
```json
@@ -1654,6 +1654,30 @@ Domain example:
16541654
}
16551655
```
16561656

1657+
Domain example of a Polygon with two holes:
1658+
1659+
[%unnumbered%]
1660+
```json
1661+
{
1662+
"type": "Domain",
1663+
"domainType": "Polygon",
1664+
"axes": {
1665+
"composite": {
1666+
"dataType": "polygon",
1667+
"coordinates": ["x","y"],
1668+
"values": [
1669+
[ [ [100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0] ]
1670+
[ [100.3, 0.2], [100.3, 0.4], [100.5, 0.4], [100.5, 0.2], [100.3, 0.2] ]
1671+
[ [100.7, 0.6], [100.8, 0.8], [100.9, 0.6], [100.7, 0.6] ] ]
1672+
]
1673+
},
1674+
"z": { "values": [2] },
1675+
"t": { "values": ["2008-01-01T04:00:00Z"] }
1676+
},
1677+
"referencing": [...]
1678+
}
1679+
```
1680+
16571681
Coverage example:
16581682

16591683
[%unnumbered%]

0 commit comments

Comments
 (0)