Created
June 1, 2020 15:03
-
-
Save fils/b9e276efb0332981a086582db3afc45e to your computer and use it in GitHub Desktop.
JSON-LD with 3 spatial approaches
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(-18 -76)" | |
}, | |
"geosparql:crs": { | |
"@id": "http://www.opengis.net/def/crs/OGC/1.3/CRS84" | |
} | |
}, | |
"geoblob": { | |
"type": "GeometryCollection", | |
"geometries": [{ | |
"type": "Point", | |
"coordinates": [-76, -18] | |
}] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment