Skip to content

Instantly share code, notes, and snippets.

@twobitlabs
Last active May 4, 2018 23:16
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 twobitlabs/b9aec0c1508d21b09dd98139a5ef3ff9 to your computer and use it in GitHub Desktop.
Save twobitlabs/b9aec0c1508d21b09dd98139a5ef3ff9 to your computer and use it in GitHub Desktop.
{
"@context": [
"https://raw.githubusercontent.com/geojson/geojson-ld/master/contexts/geojson-base.jsonld",
{
"@vocab": "https://api.weather.gov/ontology#",
"bearing": {
"@type": "s:QuantitativeValue"
},
"city": "s:addressLocality",
"county": {
"@type": "@id"
},
"distance": {
"@id": "s:Distance",
"@type": "s:QuantitativeValue"
},
"forecastGridData": {
"@type": "@id"
},
"forecastOffice": {
"@type": "@id"
},
"geo": "http://www.opengis.net/ont/geosparql#",
"geometry": {
"@id": "s:GeoCoordinates",
"@type": "geo:wktLiteral"
},
"publicZone": {
"@type": "@id"
},
"s": "https://schema.org/",
"state": "s:addressRegion",
"unit": "http://codes.wmo.int/common/unit/",
"unitCode": {
"@id": "s:unitCode",
"@type": "@id"
},
"value": {
"@id": "s:value"
},
"wx": "https://api.weather.gov/ontology#"
}
],
"geometry": {
"coordinates": [
-122.4398,
37.7628
],
"type": "Point"
},
"id": "https://api.weather.gov/points/37.7628,-122.4398",
"properties": {
"@id": "https://api.weather.gov/points/37.7628,-122.4398",
"@type": "wx:Point",
"county": "https://api.weather.gov/zones/county/CAC075",
"cwa": "MTR",
"fireWeatherZone": "https://api.weather.gov/zones/fire/CAZ006",
"forecast": "https://api.weather.gov/gridpoints/MTR/87,126/forecast",
"forecastGridData": "https://api.weather.gov/gridpoints/MTR/87,126",
"forecastHourly": "https://api.weather.gov/gridpoints/MTR/87,126/forecast/hourly",
"forecastOffice": "https://api.weather.gov/offices/MTR",
"forecastZone": "https://api.weather.gov/zones/forecast/CAZ006",
"gridX": 87,
"gridY": 126,
"observationStations": "https://api.weather.gov/gridpoints/MTR/87,126/stations",
"radarStation": "KMUX",
"relativeLocation": {
"geometry": {
"coordinates": [
-122.464979,
37.700941
],
"type": "Point"
},
"properties": {
"bearing": {
"unitCode": "unit:degrees_true",
"value": 17
},
"city": "Daly City",
"distance": {
"unitCode": "unit:m",
"value": 7226.0458631718
},
"state": "CA"
},
"type": "Feature"
},
"timeZone": "America/Los_Angeles"
},
"type": "Feature"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment