Table([
{
Type: "Point",
Example: `{
"type": "Point",
"coordinates": [30, 10]
}`
},
{
Type: "LineString",
Example: `{
"type": "LineString",
"coordinates": [
[30, 10], [10, 30], [40, 40]
]
}`
},
{
Type: "Polygon",
Example: `{
"type": "Polygon",
"coordinates": [
[[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]
]
}`
},
{
Type: "Polygon with hole",
Example: `{
"type": "Polygon",
"coordinates": [
[[35, 10], [45, 45], [15, 40], [10, 20], [35, 10]],
[[20, 30], [35, 35], [30, 20], [20, 30]]
]
}`
},
{
Type: "MultiPoint",
Example: `{
"type": "MultiPoint",
"coordinates": [
[10, 40], [40, 30], [20, 20], [30, 10]
]
}`
},
{
Type: "MultiLineString",
Example: `{
"type": "MultiLineString",
"coordinates": [
[[10, 10], [20, 20], [10, 40]],
[[40, 40], [30, 30], [40, 20], [30, 10]]
]
}`
},
{
Type: "MultiPolygon",
Example: `{
"type": "MultiPolygon",
"coordinates": [
[
[[30, 20], [45, 40], [10, 40], [30, 20]]
],
[
[[15, 5], [40, 10], [10, 20], [5, 10], [15, 5]]
]
]
}`
},
{
Type: "MultiPolygon with hole",
Example: `{
"type": "MultiPolygon",
"coordinates": [
[
[[40, 40], [20, 45], [45, 30], [40, 40]]
],
[
[[20, 35], [10, 30], [10, 10], [30, 5], [45, 20], [20, 35]],
[[30, 20], [20, 15], [20, 25], [30, 20]]
]
]
}`
},
{
Type: "GeometryCollection",
Example: `{
"type": "GeometryCollection",
"geometries": [
{
"type": "Point",
"coordinates": [40, 10]
},
{
"type": "LineString",
"coordinates": [
[10, 10], [20, 20], [10, 40]
]
},
{
"type": "Polygon",
"coordinates": [
[[40, 40], [20, 45], [45, 30], [40, 40]]
]
}
]
}`
}
])