Skip to content

Instantly share code, notes, and snippets.

@jyutzler
Created June 14, 2014 02:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jyutzler/d26a97d37108c4b5aa7c to your computer and use it in GitHub Desktop.
Save jyutzler/d26a97d37108c4b5aa7c to your computer and use it in GitHub Desktop.
Possible GeoJSON-LD files
{
"@context": {
"Feature": "http://example.com/vocab#Feature",
"Instant": "http://www.w3.org/2006/time#Instant",
"Interval": "http://www.w3.org/2006/time#Interval",
"Point": "http://example.com/vocab#Point",
"coordinates": "http://example.com/vocab#coordinates",
"geometry": "http://example.com/vocab#geometry",
"id": "http://example.com/vocab#id",
"datetime": {
"@id": "http://www.w3.org/2006/time#inXSDDateTime",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"properties": "http://example.com/vocab#properties",
"start": {
"@id": "http://www.w3.org/2006/time#hasBeginning",
"@type": "when"
},
"stop": {
"@id": "http://www.w3.org/2006/time#hasEnding",
"@type": "when"
},
"type": "http://example.com/vocab#type",
"when": "http://example.com/vocab#when",
"whens": {
"@container": "@set",
"@id": "http://example.com/vocab#whens",
"@type": "when"
}
},
"geometry": {
"coordinates": [
0.0,
0.0
],
"type": "Point"
},
"id": "1",
"properties": {},
"type": "Feature",
"@type": "Feature",
"whens": [{
"name":"onset",
"datetime": "2014-04-24",
"@type": "Instant"
},{
"name":"effective",
"start": {"datetime":"2014-04-24",
"@type":"Instant"},
"stop": {"datetime":"2014-04-25",
"@type":"Instant"},
"@type": "Interval"
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment