Skip to content

Instantly share code, notes, and snippets.

@ksonda
Last active June 6, 2022 14:20
Show Gist options
  • Save ksonda/f10657cf9b27be7bc3ed9a94cc67c871 to your computer and use it in GitHub Desktop.
Save ksonda/f10657cf9b27be7bc3ed9a94cc67c871 to your computer and use it in GitHub Desktop.
wade geoconnex template
{
"@context": [{
"schema": "http://schema.org/",
"skos": "https://www.w3.org/TR/skos-reference/",
"sosa": "http://www.w3.org/ns/sosa/",
"hyf": "https://www.opengis.net/def/schema/hy_features/hyf/",
"gsp": "http://www.opengeospatial.org/standards/geosparql/",
"name": "schema:name",
"sameAs": "schema:sameAs",
"related": "skos:related",
"description": "schema:description",
"geo": "schema:geo",
"image": {
"@id": "schema:image",
"@type": "@id"
}
}],
"@id": "https://geoconnex.us/wade/sites/COwr_S105841",
"@type": [
"hyf:HY_HydrometricFeature",
"hyf:HY_HydroLocation",
"sosa:FeatureOfInterest"
],
"name": "WYNN WELL NO 1",
"description": "longer name?",
"schema:about": {
"@id": "original state source URL if that's a thing, if not, omit"
},
"sosa:isFeatureOfInterestOf": {
"schema:url": "https://wade-api-qa.azure-api.net/v1/SiteAllocationAmounts/COwr_S105841",
"@type": "sosa:ObservationCollection",
"schema:format": [
"application/json"
],
"schema:provider": "https://westernstateswater.org/wade"
},
"schema:geoWithin": [
"https://geoconnex.us/ref/states/2-digit-fips-code",
"https://geoconnex.us/ref/counties/5-digit-fips-code",
"https://geoconnex.us/nhdplusv2/huc12/12digits",
"https://geoconnex.us/ref/hu08/8digits"
],
"hyf:HY_HydroLocationType": [
"Well"
],
"geo": {
"@type": "schema:GeoCoordinates",
"schema:latitude": "39.450141",
"schema:longitude": "-107.736173"
},
"gsp:hasGeometry": {
"@type": "gsp:Geometry",
"gsp:asWKT": "POINT (-107.736173 39.450141)"
}
}
@ksonda
Copy link
Author

ksonda commented Jun 6, 2022

Note: hyf:HY_HydroLocationType could be well vs. surface. or can just omit.

Note: schema:about I had a GNIS id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment