Created
June 1, 2020 14:45
-
-
Save fils/f5485292098375628da0bbcf84c4104d to your computer and use it in GitHub Desktop.
A JSON-LD documet with three approach. GeoSPAQL WKT, GeoJSON via linked data, JSON Literal
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
{ | |
"@context": { | |
"@version": 1.1, | |
"geoblob": { | |
"@id": "http://example.com/vocab/json", | |
"@type": "@json" | |
}, | |
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", | |
"rdfs": "http://www.w3.org/2000/01/rdf-schema#", | |
"xsd": "http://www.w3.org/2001/XMLSchema#", | |
"description": "http://igsn.org/core/v1/description", | |
"geosparql": "http://www.opengis.net/ont/geosparql#", | |
"schema": "https://schema.org/" | |
}, | |
"@id": "https://samples.earth/id/do/bqs2dn2u6s73o70jdup0", | |
"@type": "http://igsn.org/core/v1/Sample", | |
"description": "A fake ID for testing", | |
"schema:subjectOf": [ | |
{ | |
"schema:url": "https://samples.earth/id/do/bqs2dn2u6s73o70jdup0.geojson", | |
"@type": "schema:DigitalDocument", | |
"schema:format": [ | |
"application/vnd.geo+json" | |
], | |
"schema:conformsTo": "https://igsn.org/schema/spatial.schema.json" | |
} | |
], | |
"geosparql:hasGeometry": { | |
"@id": "_:N98e75cacc29f40deb555eb583cb162dc", | |
"@type": "http://www.opengis.net/ont/sf#Point", | |
"geosparql:asWKT": { | |
"@type": "http://www.opengis.net/ont/geosparql#wktLiteral", | |
"@value": "POINT(-94.139041 30.091218)" | |
}, | |
"geosparql:crs": { | |
"@id": "http://www.opengis.net/def/crs/OGC/1.3/CRS84" | |
} | |
}, | |
"geoblob": { | |
"type": "FeatureCollection", | |
"features": [ | |
{ | |
"type": "Feature", | |
"properties": {}, | |
"geometry": { | |
"type": "Point", | |
"coordinates": [ | |
-79.453125, | |
40.17887331434696 | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": {}, | |
"geometry": { | |
"type": "Point", | |
"coordinates": [ | |
-96.328125, | |
43.58039085560784 | |
] | |
} | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment