Skip to content

Instantly share code, notes, and snippets.

@ksonda
Last active December 5, 2022 02:55
Show Gist options
  • Save ksonda/d4a648c191d21d03f8f70f47c95fb9a5 to your computer and use it in GitHub Desktop.
Save ksonda/d4a648c191d21d03f8f70f47c95fb9a5 to your computer and use it in GitHub Desktop.
usgs-sensorthings-by-mainstem-query

https://labs.waterdata.usgs.gov/sta/v1.1/Locations?$filter=properties/mainstemURL%20eq%20%27https://geoconnex.us/ref/mainstems/29559%27&$expand=Things($select=id)/Datastreams($filter=properties/ParameterCode%20eq%20%2700065%27)/Observations($top=1)&$resultFormat=GeoJSON"

https://labs.waterdata.usgs.gov/sta/v1.1/Locations?$filter=properties/mainstemURL%20eq%20%27https://geoconnex.us/ref/mainstems/29559%27&$expand=Things($select=id)/Datastreams($filter=properties/ParameterCode%20eq%20%2700065%27)/Observations($top=1)&$resultFormat=GeoJSON"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment