-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add JSON-FG feature - lenient examples
- Loading branch information
Showing
5 changed files
with
112 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
- title: Example feature for a fence without time or place | ||
snippets: | ||
- language: json | ||
ref: examples/fence-lenient.json | ||
base-uri: https://example.com/json-fg/ | ||
|
||
- title: Example feature for a fence (full) | ||
snippets: | ||
- language: json | ||
ref: https://github.com/opengeospatial/ogc-feat-geo-json/raw/main/core/examples/fence.json | ||
base-uri: https://example.com/json-fg/ | ||
|
||
- title: Example feature for a building without time or place | ||
snippets: | ||
- language: json | ||
ref: examples/building-lenient.json | ||
base-uri: https://example.com/json-fg/ | ||
|
||
- title: Example feature for a building (full) | ||
snippets: | ||
- language: json | ||
ref: https://github.com/opengeospatial/ogc-feat-geo-json/raw/main/core/examples/building.json | ||
base-uri: https://example.com/json-fg/ | ||
|
||
- title: Feature with a custom geometry (Arc) without time | ||
content: | | ||
This feature follows | ||
[the Arc extension](https://github.com/opengeospatial/ogc-feat-geo-json/blob/main/core/examples/extensions/arc.json) | ||
for the `place` property. | ||
snippets: | ||
- language: json | ||
base-uri: "https://example.com/json-fg/" | ||
ref: examples/custom-geometry-lenient.json |
46 changes: 46 additions & 0 deletions
46
registereditems/geo/json-fg/feature-lenient/examples/building-lenient.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"type": "Feature", | ||
"id": "DENW19AL0000giv5BL", | ||
"conformsTo": [ | ||
"[ogc-json-fg-1-0.2:core]" , | ||
"[ogc-json-fg-1-0.2:types-schemas]", | ||
"[ogc-json-fg-1-0.2:3d]" | ||
], | ||
"featureType": "app:building", | ||
"featureSchema": "https://example.org/data/v1/collections/buildings/schema", | ||
"coordRefSys": "http://www.opengis.net/def/crs/EPSG/0/5555", | ||
"geometry": { | ||
"type": "Polygon", | ||
"coordinates": [ | ||
[ | ||
[8.7092045, 51.5035285, 100], | ||
[8.7093128, 51.5034570, 100], | ||
[8.7093919, 51.5035030, 100], | ||
[8.7092837, 51.5035747, 100], | ||
[8.7092045, 51.5035285, 100] | ||
] | ||
] | ||
}, | ||
"links": [ | ||
{ | ||
"href": "https://example.org/data/v1/collections/cadastralparcel/items/05297001600313______", | ||
"rel": "http://www.opengis.net/def/rel/ogc/1.0/within", | ||
"title": "Cadastral parcel 313 in district Wünnenberg (016)" | ||
}, | ||
{ | ||
"href" : "https://inspire.ec.europa.eu/featureconcept/Building", | ||
"rel" : "type" , | ||
"title": "This feature is of type 'building'" | ||
} | ||
], | ||
"properties": { | ||
"lastChange": "2014-04-24T10:50:18Z", | ||
"built": "2012-03", | ||
"function": "Agricultural building", | ||
"height_m": 20.0, | ||
"owners": [ | ||
{"href": "https://example.org/john-doe", "title": "John Doe"}, | ||
{"href": "https://example.org/jane-doe", "title": "Jane Doe"} | ||
] | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
registereditems/geo/json-fg/feature-lenient/examples/custom-geometry-lenient.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"type": "Feature", | ||
"id": "my-space-station", | ||
"conformsTo": [ | ||
"[ogc-json-fg-1-0.2:core]", | ||
"[ogc-json-fg-1-0.2:3d]" | ||
], | ||
"featureType": "space-station", | ||
"geometry": null, | ||
"coordRefSys": "http://www.opengis.net/def/crs/EPSG/0/7415", | ||
"place": { | ||
"type": "Arc", | ||
"coordinates": [ | ||
81220.15, | ||
455113.71, | ||
44143.21 | ||
] | ||
}, | ||
"properties": {} | ||
} |
9 changes: 9 additions & 0 deletions
9
registereditems/geo/json-fg/feature-lenient/examples/fence-lenient.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"type": "Feature", | ||
"id": "fence.1", | ||
"conformsTo" : [ "[ogc-json-fg-1-0.2:core]", "[ogc-json-fg-1-0.2:3d]" ], | ||
"featureType": "fence", | ||
"geometry": null, | ||
"coordRefSys": "http://www.opengis.net/def/crs/EPSG/0/7415", | ||
"properties": null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters