Skip to content

Instantly share code, notes, and snippets.

@fils
Created May 31, 2020 15:52
Show Gist options
  • Save fils/5afcd19a9d79b3a91f3160a56216c956 to your computer and use it in GitHub Desktop.
Save fils/5afcd19a9d79b3a91f3160a56216c956 to your computer and use it in GitHub Desktop.
JSON-LD with WKT
{
"@context": {
"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#"
},
"@id": "https://samples.earth/id/do/bqs2dn2u6s73o70jdup0",
"@type": "http://igsn.org/core/v1/Sample",
"description": "A fake ID for testing",
"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"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment