-
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.
- Loading branch information
1 parent
4f436a8
commit 83d4ed7
Showing
11 changed files
with
122 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 |
---|---|---|
|
@@ -6,3 +6,4 @@ assets/img/.DS_Store | |
__pycache__ | ||
|
||
build-local/ | ||
.idea/ |
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
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,14 @@ | ||
{ | ||
"id": "f1", | ||
"type": "Feature", | ||
"geometry": { | ||
"type": "Point", | ||
"coordinates": [ | ||
174.7501603083, | ||
-36.9307359096 | ||
] | ||
}, | ||
"properties": { | ||
"comment": "An attribute value" | ||
} | ||
} |
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,10 @@ | ||
- title: Example | ||
content: |- | ||
Minimal example of this schema. | ||
NB. uses a local @context in the data example where application specialisations would apply such mappings. | ||
snippets: | ||
- language: json | ||
ref: example.json | ||
base-uri: http://www.example.com/features/ |
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
26 changes: 26 additions & 0 deletions
26
registereditems/geo/features/featureCollection/example.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,26 @@ | ||
{ | ||
"@context": { | ||
"my": "http://my.org/featureTypes/", | ||
"skos": "http://www.w3.org/2004/02/skos/core#", | ||
"name": "skos:prefLabel" | ||
}, | ||
"id": "MyFeatureCollection", | ||
"name": "MyFeatureCollection", | ||
"type": "FeatureCollection", | ||
"features": [ | ||
{ | ||
"id": "f1", | ||
"type": "Feature", | ||
"geometry": { | ||
"type": "Point", | ||
"coordinates": [ | ||
174.7501603083, | ||
-36.9307359096 | ||
] | ||
}, | ||
"properties": { | ||
"comment": "An attribute value" | ||
} | ||
} | ||
] | ||
} |
10 changes: 10 additions & 0 deletions
10
registereditems/geo/features/featureCollection/examples.yaml
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,10 @@ | ||
- title: Example | ||
content: |- | ||
Minimal example of this schema. | ||
NB. uses a local @context in the data example where application specialisations would apply such mappings. | ||
snippets: | ||
- language: json | ||
ref: example.json | ||
base-uri: http://www.example.com/features/ |
File renamed without changes.
30 changes: 30 additions & 0 deletions
30
registereditems/geo/json-fg/featureCollection/example.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,30 @@ | ||
{ | ||
"@context": { | ||
"my": "http://my.org/featureTypes/", | ||
"skos": "http://www.w3.org/2004/02/skos/core#", | ||
"name": "skos:prefLabel" | ||
}, | ||
"id": "MyFeatureCollection", | ||
"name": "MyFeatureCollection", | ||
"type": "FeatureCollection", | ||
"features": [ | ||
{ | ||
"id": "f1", | ||
"type": "Feature", | ||
"featureType": "my:FeatureType", | ||
"geometry": null, | ||
"time": null, | ||
"coordRefSys": "EPSG", | ||
"place": { | ||
"type": "Point", | ||
"coordinates": [ | ||
174.7501603083, | ||
-36.9307359096 | ||
] | ||
}, | ||
"properties": { | ||
"comment": "An attribute value" | ||
} | ||
} | ||
] | ||
} |
10 changes: 10 additions & 0 deletions
10
registereditems/geo/json-fg/featureCollection/examples.yaml
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,10 @@ | ||
- title: Example | ||
content: |- | ||
Minimal example of this schema. | ||
NB. uses a local @context in the data example where application specialisations would apply such mappings. | ||
snippets: | ||
- language: json | ||
ref: example.json | ||
base-uri: http://www.example.com/features/ |
20 changes: 20 additions & 0 deletions
20
registereditems/geo/json-fg/featureCollection/tests/required-properties-fail.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 @@ | ||
{ | ||
"name": "MyFeatureCollection", | ||
"type": "FeatureCollection", | ||
"features": [ | ||
{ | ||
"id": "f1", | ||
"type": "Feature", | ||
"geometry": { | ||
"type": "Point", | ||
"coordinates": [ | ||
174.7501603083, | ||
-36.9307359096 | ||
] | ||
}, | ||
"properties": { | ||
"comment": "An attribute value" | ||
} | ||
} | ||
] | ||
} |