File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed
Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -448,6 +448,7 @@ resources:
448448 name : SensorThings
449449 data : https://wqp.internetofwater.app/FROST-Server/v1.1/Things
450450 name_field : name
451+ uri_field : uri
451452 expand : Locations,Datastreams/ObservedProperty
452453
453454 # WQIE-WQP/Datastreams:
Original file line number Diff line number Diff line change 2121 "@id": "{{ data['@id'] }}",
2222 "@type": [
2323 "hyf:HY_HydrometricFeature",
24- "hyf:HY_HydroLocation",
25- {% if data ['monitoringLocationType' ] %}
26- "locType:{{ data['monitoringLocationType'] }}"
27- {% endif %}
24+ "hyf:HY_HydroLocation"
2825 ],
2926
30-
3127 {% - if data ['monitoringLocationType' ] %}
3228 "hyf:HydroLocationType": "{{ data['monitoringLocationType'] }}",
3329 {% endif -%}
8278 ],
8379 {% endif -%}
8480
81+ {% - if data ["county" ] or data ["state" ] -%}
82+ "gsp:sfWithin": [
83+ {% - if data ["county" ] -%}
84+ { "@id": "{{ data['county'] }}" }
85+ {% - if data ["state" ] -%} , {% - endif -%}
86+ {% - endif -%}
87+ {% - if data ["state" ] -%}
88+ { "@id": "{{ data['state'] }}" }
89+ {% - endif -%}
90+ ],
91+ {% endif -%}
92+
8593 "subjectOf": [
8694 {% - for stream in data ['Datastreams' ] %}
8795 {
You can’t perform that action at this time.
0 commit comments