├── screenshots ├── Node-RED-Atlanta-Watershed-flow.png ├── Node-RED-Ridgewood-Watershed-flow.png ├── Node-RED-Atlanta-Watershed-dashboard.png ├── Node-RED-Ridgewood-Watershed-dashboard.png └── Node-RED-Ridgewood-Watershed-dashboard-WaterReportAlert.png ├── README.md ├── LICENSE └── flows ├── rwdnjwatershed.json └── atlantawatershed.json /screenshots/Node-RED-Atlanta-Watershed-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnwalicki/Node-RED-Water-Sustainability-Dashboard/HEAD/screenshots/Node-RED-Atlanta-Watershed-flow.png -------------------------------------------------------------------------------- /screenshots/Node-RED-Ridgewood-Watershed-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnwalicki/Node-RED-Water-Sustainability-Dashboard/HEAD/screenshots/Node-RED-Ridgewood-Watershed-flow.png -------------------------------------------------------------------------------- /screenshots/Node-RED-Atlanta-Watershed-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnwalicki/Node-RED-Water-Sustainability-Dashboard/HEAD/screenshots/Node-RED-Atlanta-Watershed-dashboard.png -------------------------------------------------------------------------------- /screenshots/Node-RED-Ridgewood-Watershed-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnwalicki/Node-RED-Water-Sustainability-Dashboard/HEAD/screenshots/Node-RED-Ridgewood-Watershed-dashboard.png -------------------------------------------------------------------------------- /screenshots/Node-RED-Ridgewood-Watershed-dashboard-WaterReportAlert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnwalicki/Node-RED-Water-Sustainability-Dashboard/HEAD/screenshots/Node-RED-Ridgewood-Watershed-dashboard-WaterReportAlert.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Node-RED-Water-Sustainability-Dashboard 2 | Display USGS Watershed maps on a Node-RED Dashboard with Water Quality Reports 3 | 4 | Query the watershed area maps of the [Ridgewood, NJ](https://waterdata.usgs.gov/monitoring-location/01390500/#parameterCode=00060) 5 | and [Atlanta, GA watershed](https://www.atlantawatershed.org/) using the 6 | [USGS Hydro Network-Linked Data Index](https://waterdata.usgs.gov/blog/nldi-intro/) 7 | and plot the water basins and rivers on a [Node-RED](https://nodered.org) Dashboard. 8 | 9 | The USGS [NLDI API](https://labs.waterdata.usgs.gov/api/nldi/swagger-ui.html) returns a [geojson](https://en.wikipedia.org/wiki/GeoJSON) set of latitude / longitude coordinates that can be plotted using the node-red-contrib-web-worldmap node. You can [search for a river](https://waterdata.usgs.gov/nwis/inventory?state_cd=nj&format=station_list) near you. To generate your own map visit - http://geojson.io - which allows you to quickly generate a geojson file. 10 | 11 | The dashboard includes several colored map legend switches to show / hide the watershed details. 12 | 13 | Water sustainability requires protecting the groundwater and sub-surface aquifer from dangerous / toxic pollutants. 14 | [Aquagenuity](https://aquagenuity.com/) helps everyday people monitor water quality in their community. 15 | The Aquagenuity GetWaterScore API provides water quality reports for many USA ZipCodes. 16 | The chemical toxins found in the water are displayed in a Node-RED table. 17 | If the toxins exceed the EPA limits, the table highlights the chemical in red and, when selected, 18 | will popup an informational dialog about the health risks of that toxin. 19 | USGS also publishes [Water Quality Data](https://www.waterqualitydata.us/portal/) 20 | 21 | Sadly, the industrial revolution in the 1800s and early 1900s polluted many New Jersey waterways and communities that still linger today. 22 | These toxins are evident in Aquagenuity water score reports for Ridgewood, NJ. 23 | There is continued community dissatisfaction with the 24 | [Ridgewood Water utility](http://water.ridgewoodnj.net/) efforts to provide safe and clean water to residents. 25 | 26 | These example flows and Node-RED Dashboard might be useful as part of a [Call for Code](https://developer.ibm.com/callforcode/) Water Sustainability solution. 27 | 28 | ### Prerequistes 29 | 30 | - [Install Node-RED](https://nodered.org/docs/getting-started/) on your system or in the cloud 31 | - [Add the following nodes](https://nodered.org/docs/user-guide/runtime/adding-nodes) to your Node-RED palette 32 | - [node-red-dashboard](https://flows.nodered.org/node/node-red-dashboard) 33 | - [node-red-contrib-web-worldmap](https://flows.nodered.org/node/node-red-contrib-web-worldmap) 34 | - [node-red-node-ui-table](https://flows.nodered.org/node/node-red-node-ui-table) 35 | 36 | ## Node-RED flow in this repository: 37 | 38 | - Import the [Ridgewood NJ waterbasin flow](flows/rwdnjwatershed.json) 39 | - Import the [Atlanta GA waterbasin flow](flows/atlantawatershed.json) 40 | 41 | --- 42 | ### A flow that displays the Ridgewood NJ watershed on a map 43 | 44 | ![Watershed Dashboard](screenshots/Node-RED-Ridgewood-Watershed-dashboard.png?raw=true "Ridgewood Watershed Dashboard") 45 | 46 | ![Watershed Dashboard Alert](screenshots/Node-RED-Ridgewood-Watershed-dashboard-WaterReportAlert.png?raw=true "Ridgewood Watershed Dashboard Alert") 47 | 48 | ![Watershed flow](screenshots/Node-RED-Ridgewood-Watershed-flow.png?raw=true "Ridgewood flow") 49 | 50 | --- 51 | ### A flow that displays the Atlanta GA watershed on a map 52 | 53 | ![Watershed Dashboard](screenshots/Node-RED-Atlanta-Watershed-dashboard.png?raw=true "Atlanta Watershed Dashboard") 54 | 55 | ![Watershed flow](screenshots/Node-RED-Atlanta-Watershed-flow.png?raw=true "Atlanta flow") 56 | 57 | --- 58 | 59 | ### Authors 60 | 61 | - [John Walicki](https://github.com/johnwalicki) 62 | ___ 63 | 64 | Enjoy! Give us [feedback](https://github.com/johnwalicki/Node-RED-Water-Sustainability-Dashboard/issues) if you have suggestions on how to improve this tutorial. 65 | 66 | ## License 67 | 68 | This tutorial is licensed under the Apache Software License, Version 2. Separate third party code objects invoked within this code pattern are licensed by their respective providers pursuant to their own separate licenses. Contributions are subject to the [Developer Certificate of Origin, Version 1.1 (DCO)](https://developercertificate.org/) and the [Apache Software License, Version 2](http://www.apache.org/licenses/LICENSE-2.0.txt). 69 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /flows/rwdnjwatershed.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "id": "8e729cef.5b4d", 4 | "type": "tab", 5 | "label": "Ridgewood Watershed", 6 | "disabled": false, 7 | "info": "" 8 | }, 9 | { 10 | "id": "c8bea8b0.eb5948", 11 | "type": "http request", 12 | "z": "8e729cef.5b4d", 13 | "name": "USGS Hohokus Brook water basin", 14 | "method": "GET", 15 | "ret": "obj", 16 | "paytoqs": false, 17 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-01391000/basin", 18 | "tls": "", 19 | "persist": false, 20 | "proxy": "", 21 | "authType": "", 22 | "x": 660, 23 | "y": 340, 24 | "wires": [ 25 | [ 26 | "990674f.1a48788" 27 | ] 28 | ] 29 | }, 30 | { 31 | "id": "fc3fd199.35ab3", 32 | "type": "debug", 33 | "z": "8e729cef.5b4d", 34 | "name": "", 35 | "active": true, 36 | "tosidebar": true, 37 | "console": false, 38 | "tostatus": false, 39 | "complete": "false", 40 | "x": 1270, 41 | "y": 340, 42 | "wires": [] 43 | }, 44 | { 45 | "id": "ce5cbe87.79d62", 46 | "type": "debug", 47 | "z": "8e729cef.5b4d", 48 | "name": "", 49 | "active": true, 50 | "tosidebar": true, 51 | "console": false, 52 | "tostatus": false, 53 | "complete": "false", 54 | "x": 1270, 55 | "y": 160, 56 | "wires": [] 57 | }, 58 | { 59 | "id": "5e7c2d7d.d9145c", 60 | "type": "comment", 61 | "z": "8e729cef.5b4d", 62 | "name": "Find your water basin - https://waterdata.usgs.gov/blog/nldi-intro/", 63 | "info": "", 64 | "x": 370, 65 | "y": 440, 66 | "wires": [] 67 | }, 68 | { 69 | "id": "51706025.6c6d68", 70 | "type": "comment", 71 | "z": "8e729cef.5b4d", 72 | "name": "Find your stream - USGS", 73 | "info": "\nhttps://waterdata.usgs.gov/nwis/inventory?state_cd=nj&format=station_list&group_key=NONE&list_of_search_criteria=state_cd", 74 | "x": 250, 75 | "y": 320, 76 | "wires": [] 77 | }, 78 | { 79 | "id": "38809be8.e435e4", 80 | "type": "comment", 81 | "z": "8e729cef.5b4d", 82 | "name": "Zip code boundaries for each of the 50 states", 83 | "info": "Grab your town area map geojson from these\nmassive tables.\nhttps://github.com/OpenDataDE/State-zip-code-GeoJSON\n\nWould be cool if it looked like this:\nhttp://maps.huge.info/zip.htm", 84 | "x": 310, 85 | "y": 140, 86 | "wires": [] 87 | }, 88 | { 89 | "id": "b66f1f59.8af1a", 90 | "type": "http request", 91 | "z": "8e729cef.5b4d", 92 | "name": "USGS Saddle River water basin", 93 | "method": "GET", 94 | "ret": "obj", 95 | "paytoqs": false, 96 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-01391102/basin", 97 | "tls": "", 98 | "persist": false, 99 | "proxy": "", 100 | "authType": "", 101 | "x": 650, 102 | "y": 520, 103 | "wires": [ 104 | [ 105 | "6badb27f.71d7c4" 106 | ] 107 | ] 108 | }, 109 | { 110 | "id": "6badb27f.71d7c4", 111 | "type": "function", 112 | "z": "8e729cef.5b4d", 113 | "name": "Draw Water Basin map", 114 | "func": "// Add some simple-spec styling to this polygon area\nvar properties = { \n \"stroke\" : \"aqua\",\n \"stroke-width\": 5,\n \"fill\": \"#00FFFF\",\n \"fill-opacity\": 0.4\n}\nmsg.payload.features[0].properties = properties;\n\nmsg.payload = { name: \"SaddleRiverWaterBasin\",\n layer:\"SaddleRiverWaterBasin\",\n geojson:msg.payload\n }; \nreturn msg;", 115 | "outputs": 1, 116 | "noerr": 0, 117 | "x": 960, 118 | "y": 520, 119 | "wires": [ 120 | [ 121 | "e5afcde7.d92dc8", 122 | "6576ce09.114b2" 123 | ] 124 | ] 125 | }, 126 | { 127 | "id": "e5afcde7.d92dc8", 128 | "type": "debug", 129 | "z": "8e729cef.5b4d", 130 | "name": "", 131 | "active": true, 132 | "tosidebar": true, 133 | "console": false, 134 | "tostatus": false, 135 | "complete": "false", 136 | "x": 1270, 137 | "y": 520, 138 | "wires": [] 139 | }, 140 | { 141 | "id": "36b39f31.4c3328", 142 | "type": "template", 143 | "z": "8e729cef.5b4d", 144 | "name": "Ridgewood ZipCode boundaries", 145 | "field": "payload", 146 | "fieldType": "msg", 147 | "format": "handlebars", 148 | "syntax": "plain", 149 | "template": "{\n \"type\": \"Feature\",\n \"properties\": {\n \"Location\":\"Ridgewood, NJ\",\n \"ZipCode\":\"07450\"\n },\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n -74.140618,\n 40.9669\n ],\n [\n -74.140892,\n 40.966596\n ],\n [\n -74.14096,\n 40.966503\n ],\n [\n -74.141048,\n 40.966348\n ],\n [\n -74.141094,\n 40.966374\n ],\n [\n -74.144429,\n 40.968307\n ],\n [\n -74.144511,\n 40.968356\n ],\n [\n -74.144838,\n 40.968548\n ],\n [\n -74.146538,\n 40.969667\n ],\n [\n -74.146587,\n 40.969697\n ],\n [\n -74.146837,\n 40.969842\n ],\n [\n -74.147218,\n 40.970063\n ],\n [\n -74.147261,\n 40.970088\n ],\n [\n -74.147987,\n 40.970507\n ],\n [\n -74.148072,\n 40.970556\n ],\n [\n -74.148494,\n 40.970801\n ],\n [\n -74.148626,\n 40.970876\n ],\n [\n -74.148871,\n 40.971014\n ],\n [\n -74.14905,\n 40.971115\n ],\n [\n -74.149072,\n 40.971128\n ],\n [\n -74.149088,\n 40.971137\n ],\n [\n -74.148621,\n 40.971859\n ],\n [\n -74.148337,\n 40.972318\n ],\n [\n -74.147729,\n 40.973301\n ],\n [\n -74.147219,\n 40.974125\n ],\n [\n -74.146597,\n 40.975153\n ],\n [\n -74.145849,\n 40.976419\n ],\n [\n -74.144451,\n 40.978701\n ],\n [\n -74.144047,\n 40.979326\n ],\n [\n -74.14386,\n 40.979615\n ],\n [\n -74.143092,\n 40.980856\n ],\n [\n -74.142619,\n 40.981621\n ],\n [\n -74.142121,\n 40.982014\n ],\n [\n -74.1421,\n 40.981997\n ],\n [\n -74.141758,\n 40.982267\n ],\n [\n -74.141625,\n 40.982363\n ],\n [\n -74.141294,\n 40.98269\n ],\n [\n -74.14121,\n 40.982761\n ],\n [\n -74.140984,\n 40.982235\n ],\n [\n -74.139503,\n 40.982064\n ],\n [\n -74.139045,\n 40.981984\n ],\n [\n -74.137315,\n 40.981882\n ],\n [\n -74.137002,\n 40.981881\n ],\n [\n -74.136819,\n 40.981925\n ],\n [\n -74.136486,\n 40.982356\n ],\n [\n -74.136517,\n 40.982352\n ],\n [\n -74.136366,\n 40.982591\n ],\n [\n -74.135765,\n 40.983541\n ],\n [\n -74.135182,\n 40.983185\n ],\n [\n -74.132903,\n 40.985503\n ],\n [\n -74.131846,\n 40.987308\n ],\n [\n -74.131714,\n 40.987462\n ],\n [\n -74.131366,\n 40.988168\n ],\n [\n -74.130582,\n 40.989567\n ],\n [\n -74.128127,\n 40.993986\n ],\n [\n -74.128027,\n 40.994377\n ],\n [\n -74.129254,\n 40.994775\n ],\n [\n -74.131018,\n 40.995123\n ],\n [\n -74.132327,\n 40.995451\n ],\n [\n -74.132819,\n 40.995654\n ],\n [\n -74.132107,\n 40.997767\n ],\n [\n -74.130702,\n 41.003352\n ],\n [\n -74.130706,\n 41.003709\n ],\n [\n -74.130797,\n 41.004907\n ],\n [\n -74.130855,\n 41.005672\n ],\n [\n -74.13087,\n 41.006192\n ],\n [\n -74.129837,\n 41.006754\n ],\n [\n -74.129779,\n 41.006846\n ],\n [\n -74.129767,\n 41.006859\n ],\n [\n -74.129595,\n 41.007161\n ],\n [\n -74.12922,\n 41.007187\n ],\n [\n -74.128702,\n 41.00733\n ],\n [\n -74.12835,\n 41.007582\n ],\n [\n -74.127986,\n 41.007844\n ],\n [\n -74.127902,\n 41.007774\n ],\n [\n -74.127988,\n 41.007715\n ],\n [\n -74.127976,\n 41.007437\n ],\n [\n -74.127951,\n 41.007106\n ],\n [\n -74.127842,\n 41.006905\n ],\n [\n -74.127748,\n 41.006732\n ],\n [\n -74.127717,\n 41.006706\n ],\n [\n -74.127406,\n 41.006441\n ],\n [\n -74.127197,\n 41.006296\n ],\n [\n -74.12702,\n 41.006173\n ],\n [\n -74.12694,\n 41.006136\n ],\n [\n -74.126686,\n 41.006019\n ],\n [\n -74.126421,\n 41.005932\n ],\n [\n -74.126184,\n 41.005889\n ],\n [\n -74.125907,\n 41.005838\n ],\n [\n -74.125611,\n 41.005792\n ],\n [\n -74.125399,\n 41.005759\n ],\n [\n -74.125076,\n 41.005783\n ],\n [\n -74.124656,\n 41.005753\n ],\n [\n -74.124399,\n 41.005734\n ],\n [\n -74.124087,\n 41.005827\n ],\n [\n -74.12403,\n 41.005832\n ],\n [\n -74.123938,\n 41.005848\n ],\n [\n -74.123595,\n 41.005875\n ],\n [\n -74.123488,\n 41.005896\n ],\n [\n -74.123471,\n 41.005904\n ],\n [\n -74.123434,\n 41.005921\n ],\n [\n -74.123417,\n 41.005934\n ],\n [\n -74.123352,\n 41.005923\n ],\n [\n -74.123167,\n 41.005934\n ],\n [\n -74.122985,\n 41.005961\n ],\n [\n -74.122946,\n 41.005967\n ],\n [\n -74.122575,\n 41.006058\n ],\n [\n -74.122484,\n 41.006097\n ],\n [\n -74.122326,\n 41.006128\n ],\n [\n -74.121743,\n 41.006241\n ],\n [\n -74.119916,\n 41.006211\n ],\n [\n -74.119405,\n 41.006202\n ],\n [\n -74.118921,\n 41.006088\n ],\n [\n -74.118772,\n 41.006053\n ],\n [\n -74.118735,\n 41.006023\n ],\n [\n -74.118497,\n 41.005852\n ],\n [\n -74.118256,\n 41.005495\n ],\n [\n -74.118206,\n 41.005422\n ],\n [\n -74.118063,\n 41.004929\n ],\n [\n -74.118017,\n 41.004859\n ],\n [\n -74.117973,\n 41.004669\n ],\n [\n -74.117995,\n 41.004472\n ],\n [\n -74.118052,\n 41.004256\n ],\n [\n -74.117887,\n 41.004122\n ],\n [\n -74.117806,\n 41.00387\n ],\n [\n -74.117776,\n 41.003805\n ],\n [\n -74.117719,\n 41.003659\n ],\n [\n -74.11779,\n 41.003542\n ],\n [\n -74.117883,\n 41.003463\n ],\n [\n -74.117945,\n 41.003389\n ],\n [\n -74.11802,\n 41.003312\n ],\n [\n -74.118125,\n 41.003203\n ],\n [\n -74.11816,\n 41.003077\n ],\n [\n -74.11813,\n 41.00295\n ],\n [\n -74.118074,\n 41.002797\n ],\n [\n -74.117935,\n 41.002642\n ],\n [\n -74.117797,\n 41.002515\n ],\n [\n -74.117637,\n 41.002379\n ],\n [\n -74.117456,\n 41.002278\n ],\n [\n -74.117296,\n 41.002214\n ],\n [\n -74.11697,\n 41.002004\n ],\n [\n -74.116717,\n 41.001858\n ],\n [\n -74.116528,\n 41.001758\n ],\n [\n -74.116369,\n 41.001667\n ],\n [\n -74.116287,\n 41.00163\n ],\n [\n -74.116129,\n 41.00156\n ],\n [\n -74.114386,\n 40.998297\n ],\n [\n -74.114287,\n 40.997931\n ],\n [\n -74.114062,\n 40.997095\n ],\n [\n -74.113824,\n 40.996413\n ],\n [\n -74.113475,\n 40.995412\n ],\n [\n -74.113265,\n 40.995362\n ],\n [\n -74.113119,\n 40.995347\n ],\n [\n -74.112646,\n 40.995287\n ],\n [\n -74.112601,\n 40.996296\n ],\n [\n -74.112104,\n 40.996298\n ],\n [\n -74.112096,\n 40.996295\n ],\n [\n -74.11194,\n 40.996253\n ],\n [\n -74.110714,\n 40.99608\n ],\n [\n -74.110544,\n 40.996047\n ],\n [\n -74.109756,\n 40.995895\n ],\n [\n -74.109303,\n 40.995808\n ],\n [\n -74.109263,\n 40.995801\n ],\n [\n -74.108332,\n 40.995621\n ],\n [\n -74.108263,\n 40.995973\n ],\n [\n -74.108137,\n 40.995947\n ],\n [\n -74.107944,\n 40.9959\n ],\n [\n -74.108248,\n 40.995569\n ],\n [\n -74.107605,\n 40.995441\n ],\n [\n -74.107073,\n 40.995352\n ],\n [\n -74.106374,\n 40.995563\n ],\n [\n -74.10634,\n 40.995661\n ],\n [\n -74.10534,\n 40.995205\n ],\n [\n -74.104945,\n 40.995013\n ],\n [\n -74.104532,\n 40.994934\n ],\n [\n -74.104344,\n 40.994838\n ],\n [\n -74.104323,\n 40.994893\n ],\n [\n -74.104083,\n 40.994846\n ],\n [\n -74.101952,\n 40.994422\n ],\n [\n -74.100562,\n 40.994145\n ],\n [\n -74.099511,\n 40.993936\n ],\n [\n -74.098004,\n 40.993636\n ],\n [\n -74.097471,\n 40.993529\n ],\n [\n -74.096514,\n 40.993337\n ],\n [\n -74.096282,\n 40.993291\n ],\n [\n -74.096078,\n 40.99325\n ],\n [\n -74.095693,\n 40.993173\n ],\n [\n -74.094603,\n 40.992956\n ],\n [\n -74.093068,\n 40.99265\n ],\n [\n -74.093022,\n 40.99264\n ],\n [\n -74.091596,\n 40.992483\n ],\n [\n -74.091613,\n 40.992828\n ],\n [\n -74.091562,\n 40.992831\n ],\n [\n -74.09115,\n 40.992817\n ],\n [\n -74.091026,\n 40.992816\n ],\n [\n -74.090896,\n 40.992815\n ],\n [\n -74.090744,\n 40.992821\n ],\n [\n -74.090627,\n 40.992832\n ],\n [\n -74.090487,\n 40.992843\n ],\n [\n -74.090397,\n 40.992822\n ],\n [\n -74.090397,\n 40.992752\n ],\n [\n -74.090393,\n 40.992493\n ],\n [\n -74.090273,\n 40.992493\n ],\n [\n -74.090306,\n 40.992392\n ],\n [\n -74.090311,\n 40.992255\n ],\n [\n -74.090313,\n 40.992188\n ],\n [\n -74.090275,\n 40.992057\n ],\n [\n -74.090088,\n 40.991952\n ],\n [\n -74.089958,\n 40.991925\n ],\n [\n -74.089769,\n 40.991958\n ],\n [\n -74.089672,\n 40.992001\n ],\n [\n -74.089646,\n 40.992013\n ],\n [\n -74.089592,\n 40.992022\n ],\n [\n -74.089553,\n 40.992029\n ],\n [\n -74.08948,\n 40.992041\n ],\n [\n -74.089428,\n 40.992034\n ],\n [\n -74.089399,\n 40.991989\n ],\n [\n -74.088558,\n 40.991875\n ],\n [\n -74.088519,\n 40.991868\n ],\n [\n -74.0885,\n 40.991845\n ],\n [\n -74.088468,\n 40.991843\n ],\n [\n -74.088462,\n 40.991801\n ],\n [\n -74.088487,\n 40.991778\n ],\n [\n -74.088599,\n 40.991674\n ],\n [\n -74.088771,\n 40.991462\n ],\n [\n -74.088658,\n 40.991381\n ],\n [\n -74.08845,\n 40.991235\n ],\n [\n -74.088363,\n 40.991174\n ],\n [\n -74.088344,\n 40.991169\n ],\n [\n -74.088131,\n 40.991114\n ],\n [\n -74.087822,\n 40.991084\n ],\n [\n -74.087816,\n 40.991191\n ],\n [\n -74.086724,\n 40.991129\n ],\n [\n -74.086281,\n 40.9911\n ],\n [\n -74.086256,\n 40.991162\n ],\n [\n -74.08621,\n 40.991152\n ],\n [\n -74.083906,\n 40.990644\n ],\n [\n -74.083793,\n 40.991137\n ],\n [\n -74.083678,\n 40.991186\n ],\n [\n -74.082487,\n 40.991072\n ],\n [\n -74.082485,\n 40.990538\n ],\n [\n -74.082596,\n 40.990145\n ],\n [\n -74.081193,\n 40.989947\n ],\n [\n -74.081196,\n 40.989893\n ],\n [\n -74.081182,\n 40.98976\n ],\n [\n -74.080009,\n 40.989832\n ],\n [\n -74.080005,\n 40.989792\n ],\n [\n -74.079652,\n 40.989891\n ],\n [\n -74.079461,\n 40.989939\n ],\n [\n -74.0793,\n 40.989753\n ],\n [\n -74.078907,\n 40.989325\n ],\n [\n -74.078332,\n 40.98921\n ],\n [\n -74.078365,\n 40.988588\n ],\n [\n -74.078887,\n 40.988475\n ],\n [\n -74.079009,\n 40.988061\n ],\n [\n -74.07834,\n 40.988044\n ],\n [\n -74.079307,\n 40.987001\n ],\n [\n -74.0791,\n 40.986919\n ],\n [\n -74.07901,\n 40.986877\n ],\n [\n -74.079059,\n 40.986077\n ],\n [\n -74.079019,\n 40.986046\n ],\n [\n -74.078994,\n 40.986002\n ],\n [\n -74.078989,\n 40.98596\n ],\n [\n -74.079046,\n 40.985781\n ],\n [\n -74.079105,\n 40.985594\n ],\n [\n -74.078397,\n 40.98534\n ],\n [\n -74.078449,\n 40.984942\n ],\n [\n -74.078449,\n 40.984937\n ],\n [\n -74.078322,\n 40.984923\n ],\n [\n -74.078088,\n 40.984891\n ],\n [\n -74.078096,\n 40.984377\n ],\n [\n -74.078516,\n 40.983242\n ],\n [\n -74.077923,\n 40.983028\n ],\n [\n -74.07844,\n 40.982098\n ],\n [\n -74.078171,\n 40.982046\n ],\n [\n -74.077176,\n 40.981862\n ],\n [\n -74.077803,\n 40.979441\n ],\n [\n -74.077559,\n 40.979381\n ],\n [\n -74.077766,\n 40.978377\n ],\n [\n -74.077985,\n 40.978428\n ],\n [\n -74.078293,\n 40.97848\n ],\n [\n -74.078324,\n 40.978486\n ],\n [\n -74.079857,\n 40.978745\n ],\n [\n -74.080224,\n 40.978807\n ],\n [\n -74.08099,\n 40.978937\n ],\n [\n -74.081313,\n 40.978992\n ],\n [\n -74.081453,\n 40.979017\n ],\n [\n -74.082053,\n 40.979124\n ],\n [\n -74.082484,\n 40.979201\n ],\n [\n -74.083286,\n 40.979344\n ],\n [\n -74.083551,\n 40.979391\n ],\n [\n -74.083586,\n 40.979397\n ],\n [\n -74.083842,\n 40.979443\n ],\n [\n -74.084005,\n 40.979482\n ],\n [\n -74.084281,\n 40.979569\n ],\n [\n -74.084477,\n 40.979622\n ],\n [\n -74.084498,\n 40.979628\n ],\n [\n -74.084873,\n 40.9797\n ],\n [\n -74.085584,\n 40.979836\n ],\n [\n -74.086432,\n 40.980006\n ],\n [\n -74.08658,\n 40.980031\n ],\n [\n -74.088728,\n 40.980453\n ],\n [\n -74.090753,\n 40.980635\n ],\n [\n -74.090769,\n 40.980582\n ],\n [\n -74.090809,\n 40.980505\n ],\n [\n -74.090847,\n 40.980447\n ],\n [\n -74.090863,\n 40.980402\n ],\n [\n -74.090938,\n 40.980241\n ],\n [\n -74.091046,\n 40.98012\n ],\n [\n -74.091179,\n 40.979985\n ],\n [\n -74.091323,\n 40.979928\n ],\n [\n -74.091359,\n 40.979915\n ],\n [\n -74.091399,\n 40.979908\n ],\n [\n -74.091619,\n 40.979871\n ],\n [\n -74.091829,\n 40.979877\n ],\n [\n -74.091852,\n 40.979878\n ],\n [\n -74.091987,\n 40.979841\n ],\n [\n -74.092251,\n 40.979769\n ],\n [\n -74.092398,\n 40.979709\n ],\n [\n -74.092439,\n 40.979669\n ],\n [\n -74.092485,\n 40.979624\n ],\n [\n -74.092512,\n 40.979559\n ],\n [\n -74.092499,\n 40.979463\n ],\n [\n -74.092481,\n 40.979429\n ],\n [\n -74.092422,\n 40.979368\n ],\n [\n -74.092376,\n 40.979328\n ],\n [\n -74.092363,\n 40.979277\n ],\n [\n -74.09237,\n 40.979227\n ],\n [\n -74.092404,\n 40.979187\n ],\n [\n -74.092478,\n 40.979142\n ],\n [\n -74.092725,\n 40.978937\n ],\n [\n -74.092752,\n 40.978866\n ],\n [\n -74.092776,\n 40.978758\n ],\n [\n -74.092769,\n 40.978731\n ],\n [\n -74.092748,\n 40.978681\n ],\n [\n -74.092744,\n 40.978661\n ],\n [\n -74.092707,\n 40.978618\n ],\n [\n -74.09264,\n 40.978552\n ],\n [\n -74.092574,\n 40.978512\n ],\n [\n -74.091939,\n 40.978186\n ],\n [\n -74.091867,\n 40.9781\n ],\n [\n -74.091854,\n 40.978035\n ],\n [\n -74.09186,\n 40.977919\n ],\n [\n -74.091868,\n 40.977879\n ],\n [\n -74.091909,\n 40.977796\n ],\n [\n -74.091942,\n 40.977749\n ],\n [\n -74.091963,\n 40.977729\n ],\n [\n -74.092022,\n 40.977673\n ],\n [\n -74.0921,\n 40.977639\n ],\n [\n -74.09213,\n 40.97762\n ],\n [\n -74.092196,\n 40.977601\n ],\n [\n -74.092219,\n 40.977581\n ],\n [\n -74.092257,\n 40.977581\n ],\n [\n -74.092356,\n 40.977597\n ],\n [\n -74.09241,\n 40.977572\n ],\n [\n -74.09245,\n 40.977531\n ],\n [\n -74.092464,\n 40.977436\n ],\n [\n -74.092439,\n 40.977342\n ],\n [\n -74.092399,\n 40.977194\n ],\n [\n -74.092373,\n 40.977142\n ],\n [\n -74.092341,\n 40.977078\n ],\n [\n -74.092295,\n 40.976967\n ],\n [\n -74.092217,\n 40.97684\n ],\n [\n -74.092044,\n 40.976776\n ],\n [\n -74.091987,\n 40.97673\n ],\n [\n -74.091932,\n 40.976685\n ],\n [\n -74.091887,\n 40.976544\n ],\n [\n -74.091867,\n 40.976524\n ],\n [\n -74.091854,\n 40.976459\n ],\n [\n -74.091822,\n 40.976412\n ],\n [\n -74.091804,\n 40.976368\n ],\n [\n -74.091737,\n 40.976151\n ],\n [\n -74.091704,\n 40.975943\n ],\n [\n -74.091673,\n 40.975701\n ],\n [\n -74.091628,\n 40.975588\n ],\n [\n -74.091561,\n 40.975345\n ],\n [\n -74.091537,\n 40.975213\n ],\n [\n -74.091529,\n 40.975172\n ],\n [\n -74.091529,\n 40.975152\n ],\n [\n -74.09153,\n 40.975068\n ],\n [\n -74.091541,\n 40.974964\n ],\n [\n -74.091612,\n 40.974783\n ],\n [\n -74.091762,\n 40.974533\n ],\n [\n -74.091866,\n 40.974395\n ],\n [\n -74.091936,\n 40.974257\n ],\n [\n -74.091949,\n 40.974118\n ],\n [\n -74.091898,\n 40.973984\n ],\n [\n -74.09188,\n 40.973903\n ],\n [\n -74.09186,\n 40.973884\n ],\n [\n -74.091838,\n 40.973616\n ],\n [\n -74.09184,\n 40.97346\n ],\n [\n -74.0919,\n 40.973244\n ],\n [\n -74.091981,\n 40.973054\n ],\n [\n -74.092154,\n 40.97276\n ],\n [\n -74.09218,\n 40.972751\n ],\n [\n -74.092182,\n 40.972724\n ],\n [\n -74.092202,\n 40.972699\n ],\n [\n -74.092249,\n 40.972638\n ],\n [\n -74.092328,\n 40.972534\n ],\n [\n -74.092325,\n 40.972515\n ],\n [\n -74.092358,\n 40.972495\n ],\n [\n -74.092432,\n 40.972398\n ],\n [\n -74.092647,\n 40.972198\n ],\n [\n -74.092773,\n 40.972147\n ],\n [\n -74.092848,\n 40.972117\n ],\n [\n -74.093283,\n 40.971963\n ],\n [\n -74.093443,\n 40.971885\n ],\n [\n -74.093616,\n 40.971801\n ],\n [\n -74.093942,\n 40.971616\n ],\n [\n -74.094178,\n 40.971492\n ],\n [\n -74.094327,\n 40.971389\n ],\n [\n -74.094407,\n 40.971316\n ],\n [\n -74.094505,\n 40.971225\n ],\n [\n -74.094598,\n 40.971104\n ],\n [\n -74.094688,\n 40.97094\n ],\n [\n -74.094746,\n 40.970867\n ],\n [\n -74.094826,\n 40.970794\n ],\n [\n -74.095017,\n 40.970604\n ],\n [\n -74.095166,\n 40.970532\n ],\n [\n -74.095282,\n 40.970487\n ],\n [\n -74.095601,\n 40.970365\n ],\n [\n -74.095733,\n 40.970309\n ],\n [\n -74.095883,\n 40.970261\n ],\n [\n -74.095972,\n 40.97021\n ],\n [\n -74.096272,\n 40.969992\n ],\n [\n -74.096386,\n 40.969887\n ],\n [\n -74.096505,\n 40.969777\n ],\n [\n -74.096521,\n 40.969756\n ],\n [\n -74.096582,\n 40.969681\n ],\n [\n -74.096696,\n 40.969535\n ],\n [\n -74.096746,\n 40.969277\n ],\n [\n -74.096772,\n 40.969203\n ],\n [\n -74.096797,\n 40.969129\n ],\n [\n -74.096826,\n 40.968913\n ],\n [\n -74.096832,\n 40.968865\n ],\n [\n -74.096817,\n 40.968645\n ],\n [\n -74.096875,\n 40.968497\n ],\n [\n -74.09694,\n 40.968391\n ],\n [\n -74.096962,\n 40.968354\n ],\n [\n -74.097026,\n 40.968195\n ],\n [\n -74.096998,\n 40.96803\n ],\n [\n -74.096903,\n 40.967799\n ],\n [\n -74.09683,\n 40.967624\n ],\n [\n -74.096757,\n 40.967509\n ],\n [\n -74.09673,\n 40.967468\n ],\n [\n -74.096698,\n 40.967442\n ],\n [\n -74.096683,\n 40.967426\n ],\n [\n -74.096598,\n 40.967207\n ],\n [\n -74.096566,\n 40.967043\n ],\n [\n -74.096575,\n 40.966922\n ],\n [\n -74.096611,\n 40.966707\n ],\n [\n -74.096619,\n 40.96668\n ],\n [\n -74.096654,\n 40.966554\n ],\n [\n -74.096661,\n 40.966526\n ],\n [\n -74.096733,\n 40.966378\n ],\n [\n -74.096911,\n 40.966214\n ],\n [\n -74.097015,\n 40.966007\n ],\n [\n -74.097041,\n 40.965721\n ],\n [\n -74.097055,\n 40.965367\n ],\n [\n -74.097041,\n 40.964973\n ],\n [\n -74.097009,\n 40.964687\n ],\n [\n -74.09701,\n 40.964657\n ],\n [\n -74.096955,\n 40.964341\n ],\n [\n -74.096934,\n 40.964254\n ],\n [\n -74.096872,\n 40.96415\n ],\n [\n -74.096787,\n 40.964072\n ],\n [\n -74.096656,\n 40.963984\n ],\n [\n -74.096389,\n 40.963871\n ],\n [\n -74.096164,\n 40.96382\n ],\n [\n -74.095908,\n 40.963767\n ],\n [\n -74.095595,\n 40.963709\n ],\n [\n -74.095376,\n 40.963658\n ],\n [\n -74.095195,\n 40.963605\n ],\n [\n -74.095106,\n 40.963575\n ],\n [\n -74.095084,\n 40.963568\n ],\n [\n -74.094662,\n 40.96336\n ],\n [\n -74.094465,\n 40.963244\n ],\n [\n -74.094255,\n 40.963062\n ],\n [\n -74.094167,\n 40.96299\n ],\n [\n -74.09416,\n 40.962984\n ],\n [\n -74.094068,\n 40.962905\n ],\n [\n -74.093898,\n 40.962777\n ],\n [\n -74.093861,\n 40.962762\n ],\n [\n -74.093848,\n 40.96274\n ],\n [\n -74.09382,\n 40.962719\n ],\n [\n -74.093809,\n 40.962606\n ],\n [\n -74.093874,\n 40.962417\n ],\n [\n -74.093886,\n 40.962382\n ],\n [\n -74.093958,\n 40.962287\n ],\n [\n -74.094036,\n 40.962183\n ],\n [\n -74.094138,\n 40.962061\n ],\n [\n -74.094167,\n 40.962049\n ],\n [\n -74.094238,\n 40.961935\n ],\n [\n -74.094232,\n 40.961888\n ],\n [\n -74.094233,\n 40.961795\n ],\n [\n -74.094225,\n 40.961746\n ],\n [\n -74.094211,\n 40.961656\n ],\n [\n -74.09426,\n 40.961604\n ],\n [\n -74.094465,\n 40.96138\n ],\n [\n -74.094546,\n 40.961216\n ],\n [\n -74.094591,\n 40.961093\n ],\n [\n -74.094698,\n 40.960797\n ],\n [\n -74.094702,\n 40.960771\n ],\n [\n -74.09472,\n 40.960653\n ],\n [\n -74.09479,\n 40.960531\n ],\n [\n -74.094826,\n 40.960471\n ],\n [\n -74.09485,\n 40.960427\n ],\n [\n -74.094887,\n 40.960375\n ],\n [\n -74.094913,\n 40.960353\n ],\n [\n -74.094997,\n 40.960239\n ],\n [\n -74.095033,\n 40.960135\n ],\n [\n -74.095034,\n 40.960027\n ],\n [\n -74.095024,\n 40.959795\n ],\n [\n -74.094991,\n 40.959659\n ],\n [\n -74.094984,\n 40.959613\n ],\n [\n -74.094975,\n 40.95957\n ],\n [\n -74.094954,\n 40.95936\n ],\n [\n -74.094969,\n 40.959267\n ],\n [\n -74.094992,\n 40.959224\n ],\n [\n -74.095072,\n 40.959172\n ],\n [\n -74.095129,\n 40.959147\n ],\n [\n -74.09521,\n 40.959086\n ],\n [\n -74.095229,\n 40.95906\n ],\n [\n -74.095279,\n 40.958992\n ],\n [\n -74.095311,\n 40.958898\n ],\n [\n -74.095326,\n 40.958853\n ],\n [\n -74.095443,\n 40.958802\n ],\n [\n -74.095521,\n 40.958768\n ],\n [\n -74.095612,\n 40.958742\n ],\n [\n -74.095762,\n 40.958631\n ],\n [\n -74.095798,\n 40.958537\n ],\n [\n -74.095795,\n 40.958501\n ],\n [\n -74.095823,\n 40.958493\n ],\n [\n -74.095878,\n 40.958432\n ],\n [\n -74.096313,\n 40.958218\n ],\n [\n -74.096458,\n 40.958115\n ],\n [\n -74.096566,\n 40.958037\n ],\n [\n -74.096675,\n 40.957973\n ],\n [\n -74.09715,\n 40.957645\n ],\n [\n -74.097367,\n 40.957502\n ],\n [\n -74.097642,\n 40.95727\n ],\n [\n -74.097662,\n 40.957258\n ],\n [\n -74.097868,\n 40.957135\n ],\n [\n -74.098006,\n 40.957012\n ],\n [\n -74.098034,\n 40.95697\n ],\n [\n -74.098182,\n 40.956875\n ],\n [\n -74.098259,\n 40.956818\n ],\n [\n -74.09843,\n 40.956662\n ],\n [\n -74.098496,\n 40.956632\n ],\n [\n -74.098596,\n 40.95657\n ],\n [\n -74.098783,\n 40.956378\n ],\n [\n -74.099003,\n 40.956137\n ],\n [\n -74.099137,\n 40.956026\n ],\n [\n -74.099515,\n 40.955689\n ],\n [\n -74.099767,\n 40.955447\n ],\n [\n -74.099983,\n 40.955272\n ],\n [\n -74.100064,\n 40.955323\n ],\n [\n -74.100212,\n 40.955417\n ],\n [\n -74.100535,\n 40.955587\n ],\n [\n -74.100917,\n 40.955758\n ],\n [\n -74.101235,\n 40.955919\n ],\n [\n -74.101528,\n 40.95605\n ],\n [\n -74.101954,\n 40.956269\n ],\n [\n -74.102647,\n 40.956558\n ],\n [\n -74.103489,\n 40.956952\n ],\n [\n -74.10383,\n 40.957161\n ],\n [\n -74.104102,\n 40.957379\n ],\n [\n -74.104447,\n 40.957713\n ],\n [\n -74.104643,\n 40.95784\n ],\n [\n -74.104806,\n 40.957969\n ],\n [\n -74.104894,\n 40.958031\n ],\n [\n -74.105069,\n 40.958213\n ],\n [\n -74.105225,\n 40.958385\n ],\n [\n -74.105383,\n 40.958559\n ],\n [\n -74.105525,\n 40.958737\n ],\n [\n -74.105614,\n 40.958906\n ],\n [\n -74.105699,\n 40.9591\n ],\n [\n -74.105738,\n 40.959188\n ],\n [\n -74.105754,\n 40.959305\n ],\n [\n -74.105784,\n 40.959433\n ],\n [\n -74.105781,\n 40.959646\n ],\n [\n -74.105797,\n 40.959821\n ],\n [\n -74.105852,\n 40.960003\n ],\n [\n -74.105869,\n 40.960077\n ],\n [\n -74.105959,\n 40.960314\n ],\n [\n -74.106003,\n 40.960483\n ],\n [\n -74.106013,\n 40.960656\n ],\n [\n -74.106044,\n 40.960993\n ],\n [\n -74.106086,\n 40.961453\n ],\n [\n -74.106062,\n 40.961608\n ],\n [\n -74.10605,\n 40.961833\n ],\n [\n -74.106029,\n 40.961951\n ],\n [\n -74.106013,\n 40.962045\n ],\n [\n -74.106038,\n 40.96216\n ],\n [\n -74.10599,\n 40.962437\n ],\n [\n -74.105931,\n 40.962644\n ],\n [\n -74.105838,\n 40.962834\n ],\n [\n -74.105847,\n 40.962955\n ],\n [\n -74.105864,\n 40.963129\n ],\n [\n -74.105906,\n 40.963238\n ],\n [\n -74.10601,\n 40.963349\n ],\n [\n -74.106079,\n 40.963422\n ],\n [\n -74.106405,\n 40.963675\n ],\n [\n -74.106417,\n 40.9637\n ],\n [\n -74.106442,\n 40.963751\n ],\n [\n -74.106398,\n 40.963927\n ],\n [\n -74.106333,\n 40.964065\n ],\n [\n -74.106244,\n 40.964208\n ],\n [\n -74.106232,\n 40.964229\n ],\n [\n -74.106232,\n 40.964312\n ],\n [\n -74.106283,\n 40.964378\n ],\n [\n -74.106339,\n 40.964438\n ],\n [\n -74.106398,\n 40.964521\n ],\n [\n -74.106644,\n 40.964722\n ],\n [\n -74.106834,\n 40.964813\n ],\n [\n -74.106959,\n 40.964866\n ],\n [\n -74.107132,\n 40.964887\n ],\n [\n -74.107255,\n 40.964871\n ],\n [\n -74.107307,\n 40.964868\n ],\n [\n -74.107349,\n 40.964865\n ],\n [\n -74.107473,\n 40.964925\n ],\n [\n -74.107553,\n 40.964997\n ],\n [\n -74.10772,\n 40.965101\n ],\n [\n -74.107959,\n 40.965183\n ],\n [\n -74.108322,\n 40.965292\n ],\n [\n -74.108467,\n 40.965396\n ],\n [\n -74.108478,\n 40.965421\n ],\n [\n -74.108569,\n 40.965627\n ],\n [\n -74.108642,\n 40.96583\n ],\n [\n -74.108838,\n 40.966109\n ],\n [\n -74.108897,\n 40.966135\n ],\n [\n -74.109246,\n 40.966219\n ],\n [\n -74.10934,\n 40.966273\n ],\n [\n -74.109419,\n 40.96631\n ],\n [\n -74.109588,\n 40.966438\n ],\n [\n -74.109644,\n 40.966492\n ],\n [\n -74.109667,\n 40.966547\n ],\n [\n -74.109703,\n 40.966763\n ],\n [\n -74.10971,\n 40.966844\n ],\n [\n -74.109711,\n 40.966943\n ],\n [\n -74.10969,\n 40.967069\n ],\n [\n -74.109681,\n 40.967195\n ],\n [\n -74.109687,\n 40.967348\n ],\n [\n -74.10968,\n 40.967411\n ],\n [\n -74.109952,\n 40.967366\n ],\n [\n -74.110046,\n 40.967353\n ],\n [\n -74.110193,\n 40.967348\n ],\n [\n -74.111759,\n 40.967299\n ],\n [\n -74.113124,\n 40.967276\n ],\n [\n -74.11404,\n 40.967261\n ],\n [\n -74.114415,\n 40.968144\n ],\n [\n -74.115179,\n 40.969933\n ],\n [\n -74.115364,\n 40.970368\n ],\n [\n -74.117104,\n 40.970069\n ],\n [\n -74.118704,\n 40.969907\n ],\n [\n -74.118661,\n 40.969785\n ],\n [\n -74.11911,\n 40.96988\n ],\n [\n -74.118922,\n 40.970091\n ],\n [\n -74.117684,\n 40.971424\n ],\n [\n -74.117637,\n 40.971474\n ],\n [\n -74.120326,\n 40.970969\n ],\n [\n -74.120383,\n 40.971103\n ],\n [\n -74.120394,\n 40.971128\n ],\n [\n -74.120603,\n 40.971619\n ],\n [\n -74.121048,\n 40.972691\n ],\n [\n -74.121078,\n 40.972763\n ],\n [\n -74.122111,\n 40.972397\n ],\n [\n -74.122238,\n 40.972723\n ],\n [\n -74.122756,\n 40.972591\n ],\n [\n -74.123834,\n 40.972316\n ],\n [\n -74.124434,\n 40.972022\n ],\n [\n -74.124699,\n 40.971998\n ],\n [\n -74.125269,\n 40.971947\n ],\n [\n -74.126093,\n 40.972139\n ],\n [\n -74.126944,\n 40.972202\n ],\n [\n -74.128248,\n 40.972298\n ],\n [\n -74.130295,\n 40.97245\n ],\n [\n -74.131414,\n 40.972388\n ],\n [\n -74.131868,\n 40.972364\n ],\n [\n -74.132392,\n 40.972493\n ],\n [\n -74.132763,\n 40.972584\n ],\n [\n -74.133546,\n 40.972503\n ],\n [\n -74.136097,\n 40.972517\n ],\n [\n -74.136203,\n 40.972385\n ],\n [\n -74.136292,\n 40.972275\n ],\n [\n -74.136813,\n 40.971628\n ],\n [\n -74.137564,\n 40.97069\n ],\n [\n -74.138307,\n 40.969739\n ],\n [\n -74.138387,\n 40.969635\n ],\n [\n -74.138513,\n 40.96947\n ],\n [\n -74.138808,\n 40.969066\n ],\n [\n -74.139079,\n 40.968693\n ],\n [\n -74.139769,\n 40.96774\n ],\n [\n -74.140179,\n 40.967334\n ],\n [\n -74.140618,\n 40.9669\n ]\n ]\n ]\n }\n}", 150 | "output": "json", 151 | "x": 650, 152 | "y": 160, 153 | "wires": [ 154 | [ 155 | "67c68f9c.2aea4" 156 | ] 157 | ] 158 | }, 159 | { 160 | "id": "5eb9476f.9aad1", 161 | "type": "ui_switch", 162 | "z": "8e729cef.5b4d", 163 | "name": "", 164 | "label": "Show Ridgewood", 165 | "tooltip": "", 166 | "group": "5bc01b3a.925fbc", 167 | "order": 1, 168 | "width": 0, 169 | "height": 0, 170 | "passthru": true, 171 | "decouple": "false", 172 | "topic": "", 173 | "style": "", 174 | "onvalue": "true", 175 | "onvalueType": "bool", 176 | "onicon": "fa-building", 177 | "oncolor": "maroon", 178 | "offvalue": "false", 179 | "offvalueType": "bool", 180 | "officon": "fa-building", 181 | "offcolor": "grey", 182 | "x": 190, 183 | "y": 180, 184 | "wires": [ 185 | [ 186 | "8fe31a3c.1b03d" 187 | ] 188 | ] 189 | }, 190 | { 191 | "id": "8fe31a3c.1b03d", 192 | "type": "switch", 193 | "z": "8e729cef.5b4d", 194 | "name": "", 195 | "property": "payload", 196 | "propertyType": "msg", 197 | "rules": [ 198 | { 199 | "t": "true" 200 | }, 201 | { 202 | "t": "false" 203 | } 204 | ], 205 | "checkall": "true", 206 | "repair": false, 207 | "outputs": 2, 208 | "x": 430, 209 | "y": 180, 210 | "wires": [ 211 | [ 212 | "36b39f31.4c3328" 213 | ], 214 | [ 215 | "e25363c5.d50478" 216 | ] 217 | ] 218 | }, 219 | { 220 | "id": "db4eab71.88fe88", 221 | "type": "ui_switch", 222 | "z": "8e729cef.5b4d", 223 | "name": "", 224 | "label": "Show Hohokus Brook Water Basin", 225 | "tooltip": "", 226 | "group": "5bc01b3a.925fbc", 227 | "order": 2, 228 | "width": 0, 229 | "height": 0, 230 | "passthru": true, 231 | "decouple": "false", 232 | "topic": "", 233 | "style": "", 234 | "onvalue": "true", 235 | "onvalueType": "bool", 236 | "onicon": "fa-tint", 237 | "oncolor": "blue", 238 | "offvalue": "false", 239 | "offvalueType": "bool", 240 | "officon": "fa-tint", 241 | "offcolor": "grey", 242 | "x": 220, 243 | "y": 360, 244 | "wires": [ 245 | [ 246 | "75f616f8.bf842" 247 | ] 248 | ] 249 | }, 250 | { 251 | "id": "665920bc.1439f", 252 | "type": "ui_switch", 253 | "z": "8e729cef.5b4d", 254 | "name": "", 255 | "label": "Show Saddle River Water Basin", 256 | "tooltip": "", 257 | "group": "5bc01b3a.925fbc", 258 | "order": 3, 259 | "width": 0, 260 | "height": 0, 261 | "passthru": true, 262 | "decouple": "false", 263 | "topic": "", 264 | "style": "", 265 | "onvalue": "true", 266 | "onvalueType": "bool", 267 | "onicon": "fa-tint", 268 | "oncolor": "aqua", 269 | "offvalue": "false", 270 | "offvalueType": "bool", 271 | "officon": "fa-tint", 272 | "offcolor": "grey", 273 | "x": 210, 274 | "y": 540, 275 | "wires": [ 276 | [ 277 | "417ac09e.bc2ef" 278 | ] 279 | ] 280 | }, 281 | { 282 | "id": "417ac09e.bc2ef", 283 | "type": "switch", 284 | "z": "8e729cef.5b4d", 285 | "name": "", 286 | "property": "payload", 287 | "propertyType": "msg", 288 | "rules": [ 289 | { 290 | "t": "true" 291 | }, 292 | { 293 | "t": "false" 294 | } 295 | ], 296 | "checkall": "true", 297 | "repair": false, 298 | "outputs": 2, 299 | "x": 430, 300 | "y": 540, 301 | "wires": [ 302 | [ 303 | "b66f1f59.8af1a", 304 | "308620a0.35a328" 305 | ], 306 | [ 307 | "e9179c24.dcde18" 308 | ] 309 | ] 310 | }, 311 | { 312 | "id": "75f616f8.bf842", 313 | "type": "switch", 314 | "z": "8e729cef.5b4d", 315 | "name": "", 316 | "property": "payload", 317 | "propertyType": "msg", 318 | "rules": [ 319 | { 320 | "t": "true" 321 | }, 322 | { 323 | "t": "false" 324 | } 325 | ], 326 | "checkall": "true", 327 | "repair": false, 328 | "outputs": 2, 329 | "x": 430, 330 | "y": 360, 331 | "wires": [ 332 | [ 333 | "c8bea8b0.eb5948", 334 | "bdf69ee4.c59ab" 335 | ], 336 | [ 337 | "ea0bf8cd.831af" 338 | ] 339 | ] 340 | }, 341 | { 342 | "id": "e25363c5.d50478", 343 | "type": "change", 344 | "z": "8e729cef.5b4d", 345 | "name": "Hide Ridgewood Map", 346 | "rules": [ 347 | { 348 | "t": "set", 349 | "p": "payload", 350 | "pt": "msg", 351 | "to": "{\"command\":{\"hidelayer\":\"Ridgewood\"}}", 352 | "tot": "json" 353 | } 354 | ], 355 | "action": "", 356 | "property": "", 357 | "from": "", 358 | "to": "", 359 | "reg": false, 360 | "x": 960, 361 | "y": 200, 362 | "wires": [ 363 | [ 364 | "6576ce09.114b2" 365 | ] 366 | ] 367 | }, 368 | { 369 | "id": "ea0bf8cd.831af", 370 | "type": "change", 371 | "z": "8e729cef.5b4d", 372 | "name": "Hide Hohokus Water Basin", 373 | "rules": [ 374 | { 375 | "t": "set", 376 | "p": "payload", 377 | "pt": "msg", 378 | "to": "{\"command\":{\"hidelayer\":[\"HohokusWaterBasin\",\"HohokusBrook\"]}}", 379 | "tot": "json" 380 | } 381 | ], 382 | "action": "", 383 | "property": "", 384 | "from": "", 385 | "to": "", 386 | "reg": false, 387 | "x": 980, 388 | "y": 380, 389 | "wires": [ 390 | [ 391 | "6576ce09.114b2" 392 | ] 393 | ] 394 | }, 395 | { 396 | "id": "e9179c24.dcde18", 397 | "type": "change", 398 | "z": "8e729cef.5b4d", 399 | "name": "Hide Saddle River Water Basin", 400 | "rules": [ 401 | { 402 | "t": "set", 403 | "p": "payload", 404 | "pt": "msg", 405 | "to": "{\"command\":{\"hidelayer\":[\"SaddleRiverWaterBasin\",\"SaddleRiver\"]}}", 406 | "tot": "json" 407 | } 408 | ], 409 | "action": "", 410 | "property": "", 411 | "from": "", 412 | "to": "", 413 | "reg": false, 414 | "x": 990, 415 | "y": 560, 416 | "wires": [ 417 | [ 418 | "6576ce09.114b2" 419 | ] 420 | ] 421 | }, 422 | { 423 | "id": "618879f6.171c3", 424 | "type": "inject", 425 | "z": "8e729cef.5b4d", 426 | "name": "", 427 | "topic": "", 428 | "payload": "false", 429 | "payloadType": "bool", 430 | "repeat": "", 431 | "crontab": "", 432 | "once": true, 433 | "onceDelay": 0.1, 434 | "x": 90, 435 | "y": 80, 436 | "wires": [ 437 | [ 438 | "5eb9476f.9aad1", 439 | "db4eab71.88fe88", 440 | "665920bc.1439f" 441 | ] 442 | ] 443 | }, 444 | { 445 | "id": "67c68f9c.2aea4", 446 | "type": "function", 447 | "z": "8e729cef.5b4d", 448 | "name": "Draw Ridgewood Map", 449 | "func": "// Add some simple-spec styling to this polygon area\nvar properties = { \n \"stroke\" : \"maroon\",\n \"stroke-width\": 5,\n \"fill\": \"maroon\",\n \"fill-opacity\": 0.4\n}\nmsg.payload.properties = properties;\n\nmsg.payload = { name: \"Ridgewood\",\n layer:\"Ridgewood\",\n geojson:msg.payload\n }; \nreturn msg;", 450 | "outputs": 1, 451 | "noerr": 0, 452 | "x": 960, 453 | "y": 160, 454 | "wires": [ 455 | [ 456 | "ce5cbe87.79d62", 457 | "6576ce09.114b2" 458 | ] 459 | ] 460 | }, 461 | { 462 | "id": "990674f.1a48788", 463 | "type": "function", 464 | "z": "8e729cef.5b4d", 465 | "name": "Draw Water Basin map", 466 | "func": "// Add some simple-spec styling to this polygon area\nvar properties = { \n \"stroke\" : \"blue\",\n \"stroke-width\": 5,\n \"fill\": \"#0000FF\",\n \"fill-opacity\": 0.4\n}\nmsg.payload.features[0].properties = properties;\n\nmsg.payload = { name: \"HohokusWaterBasin\",\n layer:\"HohokusWaterBasin\",\n geojson:msg.payload\n }; \nreturn msg;", 467 | "outputs": 1, 468 | "noerr": 0, 469 | "x": 960, 470 | "y": 340, 471 | "wires": [ 472 | [ 473 | "fc3fd199.35ab3", 474 | "6576ce09.114b2" 475 | ] 476 | ] 477 | }, 478 | { 479 | "id": "6fb29f61.f0347", 480 | "type": "change", 481 | "z": "8e729cef.5b4d", 482 | "name": "Draw Hohokus Brook", 483 | "rules": [ 484 | { 485 | "t": "move", 486 | "p": "payload", 487 | "pt": "msg", 488 | "to": "payload.geojson", 489 | "tot": "msg" 490 | }, 491 | { 492 | "t": "set", 493 | "p": "payload.layer", 494 | "pt": "msg", 495 | "to": "HohokusBrook", 496 | "tot": "str" 497 | }, 498 | { 499 | "t": "set", 500 | "p": "payload.name", 501 | "pt": "msg", 502 | "to": "HohokusBrook", 503 | "tot": "str" 504 | }, 505 | { 506 | "t": "set", 507 | "p": "payload.color", 508 | "pt": "msg", 509 | "to": "steelblue", 510 | "tot": "str" 511 | }, 512 | { 513 | "t": "set", 514 | "p": "payload.weight", 515 | "pt": "msg", 516 | "to": "3", 517 | "tot": "num" 518 | } 519 | ], 520 | "action": "", 521 | "property": "", 522 | "from": "", 523 | "to": "", 524 | "reg": false, 525 | "x": 960, 526 | "y": 300, 527 | "wires": [ 528 | [ 529 | "6576ce09.114b2" 530 | ] 531 | ] 532 | }, 533 | { 534 | "id": "bdf69ee4.c59ab", 535 | "type": "http request", 536 | "z": "8e729cef.5b4d", 537 | "name": "USGS Hohokus Brook", 538 | "method": "GET", 539 | "ret": "obj", 540 | "paytoqs": false, 541 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-01391000/navigate/UT", 542 | "tls": "", 543 | "persist": false, 544 | "proxy": "", 545 | "authType": "", 546 | "x": 620, 547 | "y": 300, 548 | "wires": [ 549 | [ 550 | "6fb29f61.f0347" 551 | ] 552 | ] 553 | }, 554 | { 555 | "id": "9f2d32c9.3d8af8", 556 | "type": "change", 557 | "z": "8e729cef.5b4d", 558 | "name": "Draw Saddle River", 559 | "rules": [ 560 | { 561 | "t": "move", 562 | "p": "payload", 563 | "pt": "msg", 564 | "to": "payload.geojson", 565 | "tot": "msg" 566 | }, 567 | { 568 | "t": "set", 569 | "p": "payload.layer", 570 | "pt": "msg", 571 | "to": "SaddleRiver", 572 | "tot": "str" 573 | }, 574 | { 575 | "t": "set", 576 | "p": "payload.name", 577 | "pt": "msg", 578 | "to": "SaddleRiver", 579 | "tot": "str" 580 | }, 581 | { 582 | "t": "set", 583 | "p": "payload.color", 584 | "pt": "msg", 585 | "to": "steelblue", 586 | "tot": "str" 587 | }, 588 | { 589 | "t": "set", 590 | "p": "payload.weight", 591 | "pt": "msg", 592 | "to": "3", 593 | "tot": "num" 594 | } 595 | ], 596 | "action": "", 597 | "property": "", 598 | "from": "", 599 | "to": "", 600 | "reg": false, 601 | "x": 950, 602 | "y": 480, 603 | "wires": [ 604 | [ 605 | "6576ce09.114b2" 606 | ] 607 | ] 608 | }, 609 | { 610 | "id": "308620a0.35a328", 611 | "type": "http request", 612 | "z": "8e729cef.5b4d", 613 | "name": "USGS Saddle River", 614 | "method": "GET", 615 | "ret": "obj", 616 | "paytoqs": false, 617 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-01391102/navigate/UT", 618 | "tls": "", 619 | "persist": false, 620 | "proxy": "", 621 | "authType": "", 622 | "x": 620, 623 | "y": 480, 624 | "wires": [ 625 | [ 626 | "9f2d32c9.3d8af8" 627 | ] 628 | ] 629 | }, 630 | { 631 | "id": "ab902ff2.1ef0b8", 632 | "type": "ui_form", 633 | "z": "8e729cef.5b4d", 634 | "name": "", 635 | "label": "ZipCode - Water Quality Report", 636 | "group": "5bc01b3a.925fbc", 637 | "order": 4, 638 | "width": "6", 639 | "height": "7", 640 | "options": [ 641 | { 642 | "label": "Enter a ZipCode", 643 | "value": "ZipCode", 644 | "type": "text", 645 | "required": true, 646 | "rows": null 647 | } 648 | ], 649 | "formValue": { 650 | "ZipCode": "" 651 | }, 652 | "payload": "", 653 | "submit": "submit", 654 | "cancel": "cancel", 655 | "topic": "", 656 | "x": 210, 657 | "y": 680, 658 | "wires": [ 659 | [ 660 | "48a62438.f42494", 661 | "3977c406.d16cb4" 662 | ] 663 | ] 664 | }, 665 | { 666 | "id": "89b269ea.410c38", 667 | "type": "http request", 668 | "z": "8e729cef.5b4d", 669 | "name": "GetWaterScore", 670 | "method": "POST", 671 | "ret": "obj", 672 | "paytoqs": false, 673 | "url": "https://aquagenuity.com/GetWaterScore", 674 | "tls": "", 675 | "persist": false, 676 | "proxy": "", 677 | "authType": "", 678 | "x": 720, 679 | "y": 700, 680 | "wires": [ 681 | [ 682 | "d83f5f37.856578", 683 | "6699b45c.9c4aa4", 684 | "81eca2ad.8f1a48" 685 | ] 686 | ] 687 | }, 688 | { 689 | "id": "d83f5f37.856578", 690 | "type": "debug", 691 | "z": "8e729cef.5b4d", 692 | "name": "", 693 | "active": true, 694 | "tosidebar": true, 695 | "console": false, 696 | "tostatus": false, 697 | "complete": "true", 698 | "targetType": "full", 699 | "x": 910, 700 | "y": 740, 701 | "wires": [] 702 | }, 703 | { 704 | "id": "48a62438.f42494", 705 | "type": "function", 706 | "z": "8e729cef.5b4d", 707 | "name": "Aquagenuity params", 708 | "func": "msg.payload = {\"auth\":{\"username\":\"removed\",\n \"password\":\"removed\"},\n \"zipcode\":msg.payload.ZipCode} ;\nmsg.headers = {};\nmsg.headers['Content-Type'] = 'application/json';\nreturn msg;", 709 | "outputs": 1, 710 | "noerr": 0, 711 | "x": 500, 712 | "y": 700, 713 | "wires": [ 714 | [ 715 | "89b269ea.410c38" 716 | ] 717 | ] 718 | }, 719 | { 720 | "id": "d29f8c5c.d17248", 721 | "type": "ui_table", 722 | "z": "8e729cef.5b4d", 723 | "group": "aa67a8ec.6e28e", 724 | "name": "Contaminants", 725 | "order": 4, 726 | "width": "11", 727 | "height": "15", 728 | "columns": [ 729 | { 730 | "field": "toxin_type_name", 731 | "title": "Toxin", 732 | "width": "20%", 733 | "align": "left", 734 | "formatter": "html", 735 | "formatterParams": { 736 | "target": "_blank" 737 | } 738 | }, 739 | { 740 | "field": "sample_amount", 741 | "title": "Sample", 742 | "width": "15%", 743 | "align": "left", 744 | "formatter": "html", 745 | "formatterParams": { 746 | "target": "_blank" 747 | } 748 | }, 749 | { 750 | "field": "toxin_limit_value", 751 | "title": "EPA Limit", 752 | "width": "20%", 753 | "align": "left", 754 | "formatter": "plaintext", 755 | "formatterParams": { 756 | "target": "_blank" 757 | } 758 | }, 759 | { 760 | "field": "toxin_limit_unit", 761 | "title": "Toxin Units", 762 | "width": "10%", 763 | "align": "left", 764 | "formatter": "plaintext", 765 | "formatterParams": { 766 | "target": "_blank" 767 | } 768 | }, 769 | { 770 | "field": "health_risk_type_description", 771 | "title": "Health Risk", 772 | "width": "35%", 773 | "align": "left", 774 | "formatter": "plaintext", 775 | "formatterParams": { 776 | "target": "_blank" 777 | } 778 | } 779 | ], 780 | "outputs": 1, 781 | "cts": true, 782 | "x": 1180, 783 | "y": 700, 784 | "wires": [ 785 | [ 786 | "3d0a187e.64c61" 787 | ] 788 | ] 789 | }, 790 | { 791 | "id": "66002cfd.eebd84", 792 | "type": "inject", 793 | "z": "8e729cef.5b4d", 794 | "name": "", 795 | "topic": "", 796 | "payload": "{\"ZipCode\":\"07450\"}", 797 | "payloadType": "json", 798 | "repeat": "", 799 | "crontab": "", 800 | "once": false, 801 | "onceDelay": 0.1, 802 | "x": 250, 803 | "y": 720, 804 | "wires": [ 805 | [ 806 | "48a62438.f42494" 807 | ] 808 | ] 809 | }, 810 | { 811 | "id": "6699b45c.9c4aa4", 812 | "type": "change", 813 | "z": "8e729cef.5b4d", 814 | "name": "WaterScore", 815 | "rules": [ 816 | { 817 | "t": "set", 818 | "p": "payload", 819 | "pt": "msg", 820 | "to": "payload.waterscore[0]", 821 | "tot": "msg" 822 | }, 823 | { 824 | "t": "set", 825 | "p": "payload.name", 826 | "pt": "msg", 827 | "to": "Water Report", 828 | "tot": "str" 829 | }, 830 | { 831 | "t": "set", 832 | "p": "payload.lat", 833 | "pt": "msg", 834 | "to": "40.979671", 835 | "tot": "str" 836 | }, 837 | { 838 | "t": "set", 839 | "p": "payload.lon", 840 | "pt": "msg", 841 | "to": "-74.119179", 842 | "tot": "str" 843 | }, 844 | { 845 | "t": "set", 846 | "p": "payload.icon", 847 | "pt": "msg", 848 | "to": "fa-tint", 849 | "tot": "str" 850 | }, 851 | { 852 | "t": "set", 853 | "p": "payload.iconColor", 854 | "pt": "msg", 855 | "to": "blue", 856 | "tot": "str" 857 | } 858 | ], 859 | "action": "", 860 | "property": "", 861 | "from": "", 862 | "to": "", 863 | "reg": false, 864 | "x": 930, 865 | "y": 660, 866 | "wires": [ 867 | [ 868 | "e4b6a03e.0f4db8", 869 | "6576ce09.114b2" 870 | ] 871 | ] 872 | }, 873 | { 874 | "id": "81eca2ad.8f1a48", 875 | "type": "function", 876 | "z": "8e729cef.5b4d", 877 | "name": "Contaminants", 878 | "func": "var toxins = msg.payload.contaminantDetails;\n\n// Highlight toxins that exceed EPA limits\nfor( var i=0; i < toxins.length; i++) {\n if( parseFloat(toxins[i].sample_amount) > parseFloat(toxins[i].toxin_limit_value) ) {\n toxins[i].toxin_type_name = \"\"+toxins[i].toxin_type_name+\"\";\n toxins[i].sample_amount = \"\"+toxins[i].sample_amount+\"\";\n }\n}\nmsg.payload = toxins;\nreturn msg;", 879 | "outputs": 1, 880 | "noerr": 0, 881 | "x": 940, 882 | "y": 700, 883 | "wires": [ 884 | [ 885 | "d29f8c5c.d17248" 886 | ] 887 | ] 888 | }, 889 | { 890 | "id": "e4b6a03e.0f4db8", 891 | "type": "debug", 892 | "z": "8e729cef.5b4d", 893 | "name": "", 894 | "active": true, 895 | "tosidebar": true, 896 | "console": false, 897 | "tostatus": false, 898 | "complete": "false", 899 | "x": 1170, 900 | "y": 660, 901 | "wires": [] 902 | }, 903 | { 904 | "id": "3d0a187e.64c61", 905 | "type": "change", 906 | "z": "8e729cef.5b4d", 907 | "name": "Health Risk details", 908 | "rules": [ 909 | { 910 | "t": "set", 911 | "p": "payload", 912 | "pt": "msg", 913 | "to": "payload.health_risk_type_description", 914 | "tot": "msg" 915 | }, 916 | { 917 | "t": "set", 918 | "p": "topic", 919 | "pt": "msg", 920 | "to": "Health Risk", 921 | "tot": "str" 922 | } 923 | ], 924 | "action": "", 925 | "property": "", 926 | "from": "", 927 | "to": "", 928 | "reg": false, 929 | "x": 1190, 930 | "y": 740, 931 | "wires": [ 932 | [ 933 | "bba970b5.83a218" 934 | ] 935 | ] 936 | }, 937 | { 938 | "id": "bba970b5.83a218", 939 | "type": "ui_toast", 940 | "z": "8e729cef.5b4d", 941 | "position": "dialog", 942 | "displayTime": "10", 943 | "highlight": "", 944 | "sendall": true, 945 | "outputs": 1, 946 | "ok": "OK", 947 | "cancel": "", 948 | "raw": false, 949 | "topic": "", 950 | "name": "", 951 | "x": 1170, 952 | "y": 780, 953 | "wires": [ 954 | [] 955 | ] 956 | }, 957 | { 958 | "id": "3977c406.d16cb4", 959 | "type": "change", 960 | "z": "8e729cef.5b4d", 961 | "name": "Reset Water Report", 962 | "rules": [ 963 | { 964 | "t": "delete", 965 | "p": "payload", 966 | "pt": "msg" 967 | }, 968 | { 969 | "t": "set", 970 | "p": "payload", 971 | "pt": "msg", 972 | "to": "{\"name\":\"Water Report\",\"deleted\":true}", 973 | "tot": "json" 974 | } 975 | ], 976 | "action": "", 977 | "property": "", 978 | "from": "", 979 | "to": "", 980 | "reg": false, 981 | "x": 950, 982 | "y": 620, 983 | "wires": [ 984 | [ 985 | "6576ce09.114b2" 986 | ] 987 | ] 988 | }, 989 | { 990 | "id": "5374b8e7.f534b8", 991 | "type": "inject", 992 | "z": "8e729cef.5b4d", 993 | "name": "Manual Table Reset", 994 | "topic": "", 995 | "payload": "false", 996 | "payloadType": "bool", 997 | "repeat": "", 998 | "crontab": "", 999 | "once": false, 1000 | "onceDelay": 0.1, 1001 | "x": 250, 1002 | "y": 640, 1003 | "wires": [ 1004 | [ 1005 | "3977c406.d16cb4" 1006 | ] 1007 | ] 1008 | }, 1009 | { 1010 | "id": "19e544ea.0f2ce3", 1011 | "type": "comment", 1012 | "z": "8e729cef.5b4d", 1013 | "name": "https://www.nj.gov/dep/srp/community/sites/", 1014 | "info": "The state of New Jersey has its own list of known contaminated sites identifying more than 14,100 properties that likely includes the landfill, junkyard, corner gas station or former dry cleaners in your town.\n\nRead More: Polluted New Jersey: The most toxic sites in your neighborhood https://nj1015.com/polluted-new-jersey-the-most-toxic-sites-in-your-neighborhood", 1015 | "x": 270, 1016 | "y": 920, 1017 | "wires": [] 1018 | }, 1019 | { 1020 | "id": "6576ce09.114b2", 1021 | "type": "ui_worldmap", 1022 | "z": "8e729cef.5b4d", 1023 | "group": "f56655c4.a61c68", 1024 | "order": 1, 1025 | "width": "12", 1026 | "height": "15", 1027 | "name": "", 1028 | "lat": "41.0555556", 1029 | "lon": "-74.1197222", 1030 | "zoom": "11", 1031 | "layer": "OSM", 1032 | "cluster": "", 1033 | "maxage": "", 1034 | "usermenu": "hide", 1035 | "layers": "show", 1036 | "panit": "true", 1037 | "panlock": "false", 1038 | "zoomlock": "false", 1039 | "hiderightclick": "true", 1040 | "coords": "none", 1041 | "showgrid": "false", 1042 | "path": "/watermap", 1043 | "x": 1260, 1044 | "y": 440, 1045 | "wires": [] 1046 | }, 1047 | { 1048 | "id": "e9673906.ebfa78", 1049 | "type": "comment", 1050 | "z": "8e729cef.5b4d", 1051 | "name": "Initialize the map legend - off", 1052 | "info": "", 1053 | "x": 140, 1054 | "y": 40, 1055 | "wires": [] 1056 | }, 1057 | { 1058 | "id": "5bc01b3a.925fbc", 1059 | "type": "ui_group", 1060 | "z": "", 1061 | "name": "Show Maps", 1062 | "tab": "5a14114e.8b1e58", 1063 | "order": 1, 1064 | "disp": true, 1065 | "width": "6", 1066 | "collapse": false 1067 | }, 1068 | { 1069 | "id": "aa67a8ec.6e28e", 1070 | "type": "ui_group", 1071 | "z": "", 1072 | "name": "Contaminants", 1073 | "tab": "5a14114e.8b1e58", 1074 | "order": 3, 1075 | "disp": true, 1076 | "width": "11", 1077 | "collapse": false 1078 | }, 1079 | { 1080 | "id": "f56655c4.a61c68", 1081 | "type": "ui_group", 1082 | "z": "8e729cef.5b4d", 1083 | "name": "Ridgewood and Water Basins", 1084 | "tab": "5a14114e.8b1e58", 1085 | "order": 2, 1086 | "disp": true, 1087 | "width": "12", 1088 | "collapse": false 1089 | }, 1090 | { 1091 | "id": "5a14114e.8b1e58", 1092 | "type": "ui_tab", 1093 | "z": "8e729cef.5b4d", 1094 | "name": "Ridgewood Water Basin", 1095 | "icon": "fa-tint", 1096 | "order": 10, 1097 | "disabled": false, 1098 | "hidden": false 1099 | } 1100 | ] 1101 | -------------------------------------------------------------------------------- /flows/atlantawatershed.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "id": "6ce9491a.789d9", 4 | "type": "tab", 5 | "label": "Atlanta Watershed", 6 | "disabled": false, 7 | "info": "" 8 | }, 9 | { 10 | "id": "35be25d4.8c17a2", 11 | "type": "http request", 12 | "z": "6ce9491a.789d9", 13 | "name": "USGS Utoy Creek water basin", 14 | "method": "GET", 15 | "ret": "obj", 16 | "paytoqs": false, 17 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02336728/basin", 18 | "tls": "", 19 | "persist": false, 20 | "proxy": "", 21 | "authType": "", 22 | "x": 670, 23 | "y": 320, 24 | "wires": [ 25 | [ 26 | "8c270de8.b01df8" 27 | ] 28 | ] 29 | }, 30 | { 31 | "id": "2040d41.2f66e2c", 32 | "type": "debug", 33 | "z": "6ce9491a.789d9", 34 | "name": "", 35 | "active": true, 36 | "tosidebar": true, 37 | "console": false, 38 | "tostatus": false, 39 | "complete": "false", 40 | "x": 1290, 41 | "y": 320, 42 | "wires": [] 43 | }, 44 | { 45 | "id": "90dcbd0b.35f9d", 46 | "type": "debug", 47 | "z": "6ce9491a.789d9", 48 | "name": "", 49 | "active": true, 50 | "tosidebar": true, 51 | "console": false, 52 | "tostatus": false, 53 | "complete": "false", 54 | "x": 1290, 55 | "y": 140, 56 | "wires": [] 57 | }, 58 | { 59 | "id": "a6d6a03e.34221", 60 | "type": "comment", 61 | "z": "6ce9491a.789d9", 62 | "name": "Find your water basin - https://waterdata.usgs.gov/blog/nldi-intro/", 63 | "info": "", 64 | "x": 390, 65 | "y": 400, 66 | "wires": [] 67 | }, 68 | { 69 | "id": "7cdefc4.6f4b504", 70 | "type": "comment", 71 | "z": "6ce9491a.789d9", 72 | "name": "Find your stream - USGS", 73 | "info": "\nhttps://waterdata.usgs.gov/nwis/inventory?state_cd=nj&format=station_list&group_key=NONE&list_of_search_criteria=state_cd", 74 | "x": 270, 75 | "y": 300, 76 | "wires": [] 77 | }, 78 | { 79 | "id": "42f3effb.9a3c6", 80 | "type": "comment", 81 | "z": "6ce9491a.789d9", 82 | "name": "Zip code boundaries for each of the 50 states", 83 | "info": "Grab your town area map geojson from these\nmassive tables.\nhttps://github.com/OpenDataDE/State-zip-code-GeoJSON\n\nWould be cool if it looked like this:\nhttp://maps.huge.info/zip.htm", 84 | "x": 330, 85 | "y": 120, 86 | "wires": [] 87 | }, 88 | { 89 | "id": "d45120b4.469b68", 90 | "type": "ui_switch", 91 | "z": "6ce9491a.789d9", 92 | "name": "", 93 | "label": "Show Bellwood Quarry", 94 | "tooltip": "", 95 | "group": "d3dd8357.94cad8", 96 | "order": 1, 97 | "width": 0, 98 | "height": 0, 99 | "passthru": true, 100 | "decouple": "false", 101 | "topic": "", 102 | "style": "", 103 | "onvalue": "true", 104 | "onvalueType": "bool", 105 | "onicon": "fa-building", 106 | "oncolor": "maroon", 107 | "offvalue": "false", 108 | "offvalueType": "bool", 109 | "officon": "fa-building", 110 | "offcolor": "grey", 111 | "x": 220, 112 | "y": 160, 113 | "wires": [ 114 | [ 115 | "937a0ab7.cde62" 116 | ] 117 | ] 118 | }, 119 | { 120 | "id": "937a0ab7.cde62", 121 | "type": "switch", 122 | "z": "6ce9491a.789d9", 123 | "name": "", 124 | "property": "payload", 125 | "propertyType": "msg", 126 | "rules": [ 127 | { 128 | "t": "true" 129 | }, 130 | { 131 | "t": "false" 132 | } 133 | ], 134 | "checkall": "true", 135 | "repair": false, 136 | "outputs": 2, 137 | "x": 450, 138 | "y": 160, 139 | "wires": [ 140 | [ 141 | "a9c8ab1c.c15078" 142 | ], 143 | [ 144 | "ef9078c7.61643" 145 | ] 146 | ] 147 | }, 148 | { 149 | "id": "60523be4.38d6bc", 150 | "type": "ui_switch", 151 | "z": "6ce9491a.789d9", 152 | "name": "", 153 | "label": "Show Utoy Creek Water Basin", 154 | "tooltip": "", 155 | "group": "d3dd8357.94cad8", 156 | "order": 2, 157 | "width": 0, 158 | "height": 0, 159 | "passthru": true, 160 | "decouple": "false", 161 | "topic": "", 162 | "style": "", 163 | "onvalue": "true", 164 | "onvalueType": "bool", 165 | "onicon": "fa-tint", 166 | "oncolor": "blue", 167 | "offvalue": "false", 168 | "offvalueType": "bool", 169 | "officon": "fa-tint", 170 | "offcolor": "grey", 171 | "x": 230, 172 | "y": 340, 173 | "wires": [ 174 | [ 175 | "86d198fb.8b7898" 176 | ] 177 | ] 178 | }, 179 | { 180 | "id": "b55f66bc.a76998", 181 | "type": "ui_switch", 182 | "z": "6ce9491a.789d9", 183 | "name": "", 184 | "label": "Show SF Peachtree Creek Water Basin", 185 | "tooltip": "", 186 | "group": "d3dd8357.94cad8", 187 | "order": 3, 188 | "width": 0, 189 | "height": 0, 190 | "passthru": true, 191 | "decouple": "false", 192 | "topic": "", 193 | "style": "", 194 | "onvalue": "true", 195 | "onvalueType": "bool", 196 | "onicon": "fa-tint", 197 | "oncolor": "salmon", 198 | "offvalue": "false", 199 | "offvalueType": "bool", 200 | "officon": "fa-tint", 201 | "offcolor": "grey", 202 | "x": 220, 203 | "y": 1680, 204 | "wires": [ 205 | [ 206 | "377af107.f104be" 207 | ] 208 | ] 209 | }, 210 | { 211 | "id": "377af107.f104be", 212 | "type": "switch", 213 | "z": "6ce9491a.789d9", 214 | "name": "", 215 | "property": "payload", 216 | "propertyType": "msg", 217 | "rules": [ 218 | { 219 | "t": "true" 220 | }, 221 | { 222 | "t": "false" 223 | } 224 | ], 225 | "checkall": "true", 226 | "repair": false, 227 | "outputs": 2, 228 | "x": 450, 229 | "y": 1680, 230 | "wires": [ 231 | [ 232 | "86fee6c8.e539d8", 233 | "ee51f232.e5a1c8", 234 | "e311283e.59a3b", 235 | "e993daa0.72d8e", 236 | "db409295.91482", 237 | "2265eed3.0cf4ca" 238 | ], 239 | [ 240 | "3d8dc762.fe68e8" 241 | ] 242 | ] 243 | }, 244 | { 245 | "id": "86d198fb.8b7898", 246 | "type": "switch", 247 | "z": "6ce9491a.789d9", 248 | "name": "", 249 | "property": "payload", 250 | "propertyType": "msg", 251 | "rules": [ 252 | { 253 | "t": "true" 254 | }, 255 | { 256 | "t": "false" 257 | } 258 | ], 259 | "checkall": "true", 260 | "repair": false, 261 | "outputs": 2, 262 | "x": 450, 263 | "y": 340, 264 | "wires": [ 265 | [ 266 | "35be25d4.8c17a2", 267 | "f6e9c333.7ff4b8" 268 | ], 269 | [ 270 | "f61b939d.b7c2" 271 | ] 272 | ] 273 | }, 274 | { 275 | "id": "ef9078c7.61643", 276 | "type": "change", 277 | "z": "6ce9491a.789d9", 278 | "name": "Hide Quarry", 279 | "rules": [ 280 | { 281 | "t": "set", 282 | "p": "payload", 283 | "pt": "msg", 284 | "to": "{}", 285 | "tot": "json" 286 | }, 287 | { 288 | "t": "set", 289 | "p": "payload", 290 | "pt": "msg", 291 | "to": "{\"name\":\"BellwoodQuarry\",\"deleted\":true}", 292 | "tot": "json" 293 | } 294 | ], 295 | "action": "", 296 | "property": "", 297 | "from": "", 298 | "to": "", 299 | "reg": false, 300 | "x": 950, 301 | "y": 180, 302 | "wires": [ 303 | [ 304 | "95a0817.07e77" 305 | ] 306 | ] 307 | }, 308 | { 309 | "id": "f61b939d.b7c2", 310 | "type": "change", 311 | "z": "6ce9491a.789d9", 312 | "name": "Utoy Creek Water Basin", 313 | "rules": [ 314 | { 315 | "t": "set", 316 | "p": "payload", 317 | "pt": "msg", 318 | "to": "{\"command\":{\"hidelayer\":[\"UtoyCreekWaterBasin\",\"UtoyCreek\"]}}", 319 | "tot": "json" 320 | } 321 | ], 322 | "action": "", 323 | "property": "", 324 | "from": "", 325 | "to": "", 326 | "reg": false, 327 | "x": 990, 328 | "y": 360, 329 | "wires": [ 330 | [ 331 | "95a0817.07e77" 332 | ] 333 | ] 334 | }, 335 | { 336 | "id": "3d8dc762.fe68e8", 337 | "type": "change", 338 | "z": "6ce9491a.789d9", 339 | "name": "Hide SFPeachTree Creek Water Basin", 340 | "rules": [ 341 | { 342 | "t": "set", 343 | "p": "payload", 344 | "pt": "msg", 345 | "to": "{\"command\":{\"hidelayer\":[\"SF1PeachTreeCreekWaterBasin\",\"SF1PeachTreeCreek\",\"SF2PeachTreeCreekWaterBasin\",\"SF2PeachTreeCreek\",\"SF3PeachTreeCreekWaterBasin\",\"SF3PeachTreeCreek\"]}}", 346 | "tot": "json" 347 | } 348 | ], 349 | "action": "", 350 | "property": "", 351 | "from": "", 352 | "to": "", 353 | "reg": false, 354 | "x": 1030, 355 | "y": 1700, 356 | "wires": [ 357 | [ 358 | "95a0817.07e77" 359 | ] 360 | ] 361 | }, 362 | { 363 | "id": "f169970.bc089e8", 364 | "type": "inject", 365 | "z": "6ce9491a.789d9", 366 | "name": "", 367 | "topic": "", 368 | "payload": "false", 369 | "payloadType": "bool", 370 | "repeat": "", 371 | "crontab": "", 372 | "once": true, 373 | "onceDelay": 0.1, 374 | "x": 90, 375 | "y": 80, 376 | "wires": [ 377 | [ 378 | "d45120b4.469b68", 379 | "60523be4.38d6bc", 380 | "b55f66bc.a76998", 381 | "b213fcbf.fb078", 382 | "91b2b6b.a7de248", 383 | "9cb4c8cc.028cd", 384 | "7c82b014.138238", 385 | "edb7d051.dd00a8", 386 | "ba7a869.189eb78", 387 | "eb62a172.f45208", 388 | "11d6b94.bc866c7", 389 | "cda05117.70ec08" 390 | ] 391 | ] 392 | }, 393 | { 394 | "id": "8c270de8.b01df8", 395 | "type": "function", 396 | "z": "6ce9491a.789d9", 397 | "name": "Draw Water Basin map", 398 | "func": "// Add some simple-spec styling to this polygon area\nvar properties = { \n \"stroke\" : \"blue\",\n \"stroke-width\": 5,\n \"fill\": \"#0000FF\",\n \"fill-opacity\": 0.4\n}\nmsg.payload.features[0].properties = properties;\n\nmsg.payload = { name: \"UtoyCreekWaterBasin\",\n layer:\"UtoyCreekWaterBasin\",\n geojson:msg.payload\n }; \nreturn msg;", 399 | "outputs": 1, 400 | "noerr": 0, 401 | "x": 980, 402 | "y": 320, 403 | "wires": [ 404 | [ 405 | "2040d41.2f66e2c", 406 | "95a0817.07e77" 407 | ] 408 | ] 409 | }, 410 | { 411 | "id": "5419c1a.6a27f4", 412 | "type": "change", 413 | "z": "6ce9491a.789d9", 414 | "name": "Draw Utoy Creek", 415 | "rules": [ 416 | { 417 | "t": "move", 418 | "p": "payload", 419 | "pt": "msg", 420 | "to": "payload.geojson", 421 | "tot": "msg" 422 | }, 423 | { 424 | "t": "set", 425 | "p": "payload.layer", 426 | "pt": "msg", 427 | "to": "UtoyCreek", 428 | "tot": "str" 429 | }, 430 | { 431 | "t": "set", 432 | "p": "payload.name", 433 | "pt": "msg", 434 | "to": "UtoyCreek", 435 | "tot": "str" 436 | }, 437 | { 438 | "t": "set", 439 | "p": "payload.color", 440 | "pt": "msg", 441 | "to": "steelblue", 442 | "tot": "str" 443 | }, 444 | { 445 | "t": "set", 446 | "p": "payload.weight", 447 | "pt": "msg", 448 | "to": "3", 449 | "tot": "num" 450 | } 451 | ], 452 | "action": "", 453 | "property": "", 454 | "from": "", 455 | "to": "", 456 | "reg": false, 457 | "x": 970, 458 | "y": 280, 459 | "wires": [ 460 | [ 461 | "95a0817.07e77" 462 | ] 463 | ] 464 | }, 465 | { 466 | "id": "f6e9c333.7ff4b8", 467 | "type": "http request", 468 | "z": "6ce9491a.789d9", 469 | "name": "USGS Utoy Creek", 470 | "method": "GET", 471 | "ret": "obj", 472 | "paytoqs": false, 473 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02336728/navigate/UT", 474 | "tls": "", 475 | "persist": false, 476 | "proxy": "", 477 | "authType": "", 478 | "x": 630, 479 | "y": 280, 480 | "wires": [ 481 | [ 482 | "5419c1a.6a27f4" 483 | ] 484 | ] 485 | }, 486 | { 487 | "id": "a830630e.e78608", 488 | "type": "ui_form", 489 | "z": "6ce9491a.789d9", 490 | "name": "", 491 | "label": "ZipCode - Water Quality Report", 492 | "group": "d3dd8357.94cad8", 493 | "order": 4, 494 | "width": "6", 495 | "height": "7", 496 | "options": [ 497 | { 498 | "label": "Enter a ZipCode", 499 | "value": "ZipCode", 500 | "type": "text", 501 | "required": true, 502 | "rows": null 503 | } 504 | ], 505 | "formValue": { 506 | "ZipCode": "" 507 | }, 508 | "payload": "", 509 | "submit": "submit", 510 | "cancel": "cancel", 511 | "topic": "", 512 | "x": 250, 513 | "y": 2160, 514 | "wires": [ 515 | [ 516 | "95c535ae.9c6f5", 517 | "d6efc3c9.696d2" 518 | ] 519 | ] 520 | }, 521 | { 522 | "id": "cee87fe7.fa7888", 523 | "type": "http request", 524 | "z": "6ce9491a.789d9", 525 | "name": "GetWaterScore", 526 | "method": "POST", 527 | "ret": "obj", 528 | "paytoqs": false, 529 | "url": "https://aquagenuity.com/GetWaterScore", 530 | "tls": "", 531 | "persist": false, 532 | "proxy": "", 533 | "authType": "", 534 | "x": 760, 535 | "y": 2180, 536 | "wires": [ 537 | [ 538 | "627a42af.dfe384", 539 | "11f783df.ea156c", 540 | "5fe26f4c.91512" 541 | ] 542 | ] 543 | }, 544 | { 545 | "id": "627a42af.dfe384", 546 | "type": "debug", 547 | "z": "6ce9491a.789d9", 548 | "name": "", 549 | "active": true, 550 | "tosidebar": true, 551 | "console": false, 552 | "tostatus": false, 553 | "complete": "true", 554 | "targetType": "full", 555 | "x": 950, 556 | "y": 2220, 557 | "wires": [] 558 | }, 559 | { 560 | "id": "95c535ae.9c6f5", 561 | "type": "function", 562 | "z": "6ce9491a.789d9", 563 | "name": "Aquagenuity params", 564 | "func": "msg.payload = {\"auth\":{\"username\":\"removed\",\n \"password\":\"removed\"},\n \"zipcode\":msg.payload.ZipCode} ;\nmsg.headers = {};\nmsg.headers['Content-Type'] = 'application/json';\nreturn msg;", 565 | "outputs": 1, 566 | "noerr": 0, 567 | "x": 540, 568 | "y": 2180, 569 | "wires": [ 570 | [ 571 | "cee87fe7.fa7888" 572 | ] 573 | ] 574 | }, 575 | { 576 | "id": "b831ce15.09448", 577 | "type": "ui_table", 578 | "z": "6ce9491a.789d9", 579 | "group": "d1237508.f6f1f8", 580 | "name": "Contaminants", 581 | "order": 4, 582 | "width": "11", 583 | "height": "15", 584 | "columns": [ 585 | { 586 | "field": "toxin_type_name", 587 | "title": "Toxin", 588 | "width": "20%", 589 | "align": "left", 590 | "formatter": "html", 591 | "formatterParams": { 592 | "target": "_blank" 593 | } 594 | }, 595 | { 596 | "field": "sample_amount", 597 | "title": "Sample", 598 | "width": "15%", 599 | "align": "left", 600 | "formatter": "html", 601 | "formatterParams": { 602 | "target": "_blank" 603 | } 604 | }, 605 | { 606 | "field": "toxin_limit_value", 607 | "title": "EPA Limit", 608 | "width": "20%", 609 | "align": "left", 610 | "formatter": "plaintext", 611 | "formatterParams": { 612 | "target": "_blank" 613 | } 614 | }, 615 | { 616 | "field": "toxin_limit_unit", 617 | "title": "Toxin Units", 618 | "width": "10%", 619 | "align": "left", 620 | "formatter": "plaintext", 621 | "formatterParams": { 622 | "target": "_blank" 623 | } 624 | }, 625 | { 626 | "field": "health_risk_type_description", 627 | "title": "Health Risk", 628 | "width": "35%", 629 | "align": "left", 630 | "formatter": "plaintext", 631 | "formatterParams": { 632 | "target": "_blank" 633 | } 634 | } 635 | ], 636 | "outputs": 1, 637 | "cts": true, 638 | "x": 1220, 639 | "y": 2180, 640 | "wires": [ 641 | [ 642 | "121611ef.a964f6" 643 | ] 644 | ] 645 | }, 646 | { 647 | "id": "e2623a79.f2301", 648 | "type": "inject", 649 | "z": "6ce9491a.789d9", 650 | "name": "", 651 | "topic": "", 652 | "payload": "{\"ZipCode\":\"07450\"}", 653 | "payloadType": "json", 654 | "repeat": "", 655 | "crontab": "", 656 | "once": false, 657 | "onceDelay": 0.1, 658 | "x": 290, 659 | "y": 2200, 660 | "wires": [ 661 | [ 662 | "95c535ae.9c6f5" 663 | ] 664 | ] 665 | }, 666 | { 667 | "id": "11f783df.ea156c", 668 | "type": "change", 669 | "z": "6ce9491a.789d9", 670 | "name": "WaterScore", 671 | "rules": [ 672 | { 673 | "t": "set", 674 | "p": "payload", 675 | "pt": "msg", 676 | "to": "payload.waterscore[0]", 677 | "tot": "msg" 678 | }, 679 | { 680 | "t": "set", 681 | "p": "payload.name", 682 | "pt": "msg", 683 | "to": "Water Report", 684 | "tot": "str" 685 | }, 686 | { 687 | "t": "set", 688 | "p": "payload.lat", 689 | "pt": "msg", 690 | "to": "40.979671", 691 | "tot": "str" 692 | }, 693 | { 694 | "t": "set", 695 | "p": "payload.lon", 696 | "pt": "msg", 697 | "to": "-74.119179", 698 | "tot": "str" 699 | }, 700 | { 701 | "t": "set", 702 | "p": "payload.icon", 703 | "pt": "msg", 704 | "to": "fa-tint", 705 | "tot": "str" 706 | }, 707 | { 708 | "t": "set", 709 | "p": "payload.iconColor", 710 | "pt": "msg", 711 | "to": "blue", 712 | "tot": "str" 713 | } 714 | ], 715 | "action": "", 716 | "property": "", 717 | "from": "", 718 | "to": "", 719 | "reg": false, 720 | "x": 970, 721 | "y": 2140, 722 | "wires": [ 723 | [ 724 | "484b28c3.7ec138", 725 | "95a0817.07e77" 726 | ] 727 | ] 728 | }, 729 | { 730 | "id": "5fe26f4c.91512", 731 | "type": "function", 732 | "z": "6ce9491a.789d9", 733 | "name": "Contaminants", 734 | "func": "var toxins = msg.payload.contaminantDetails;\n\n// Highlight toxins that exceed EPA limits\nfor( var i=0; i < toxins.length; i++) {\n if( parseFloat(toxins[i].sample_amount) > parseFloat(toxins[i].toxin_limit_value) ) {\n toxins[i].toxin_type_name = \"\"+toxins[i].toxin_type_name+\"\";\n toxins[i].sample_amount = \"\"+toxins[i].sample_amount+\"\";\n }\n}\nmsg.payload = toxins;\nreturn msg;", 735 | "outputs": 1, 736 | "noerr": 0, 737 | "x": 980, 738 | "y": 2180, 739 | "wires": [ 740 | [ 741 | "b831ce15.09448" 742 | ] 743 | ] 744 | }, 745 | { 746 | "id": "484b28c3.7ec138", 747 | "type": "debug", 748 | "z": "6ce9491a.789d9", 749 | "name": "", 750 | "active": true, 751 | "tosidebar": true, 752 | "console": false, 753 | "tostatus": false, 754 | "complete": "false", 755 | "x": 1210, 756 | "y": 2140, 757 | "wires": [] 758 | }, 759 | { 760 | "id": "121611ef.a964f6", 761 | "type": "change", 762 | "z": "6ce9491a.789d9", 763 | "name": "Health Risk details", 764 | "rules": [ 765 | { 766 | "t": "set", 767 | "p": "payload", 768 | "pt": "msg", 769 | "to": "payload.health_risk_type_description", 770 | "tot": "msg" 771 | }, 772 | { 773 | "t": "set", 774 | "p": "topic", 775 | "pt": "msg", 776 | "to": "Health Risk", 777 | "tot": "str" 778 | } 779 | ], 780 | "action": "", 781 | "property": "", 782 | "from": "", 783 | "to": "", 784 | "reg": false, 785 | "x": 1230, 786 | "y": 2220, 787 | "wires": [ 788 | [ 789 | "611110ae.4d8398" 790 | ] 791 | ] 792 | }, 793 | { 794 | "id": "611110ae.4d8398", 795 | "type": "ui_toast", 796 | "z": "6ce9491a.789d9", 797 | "position": "dialog", 798 | "displayTime": "10", 799 | "highlight": "", 800 | "sendall": true, 801 | "outputs": 1, 802 | "ok": "OK", 803 | "cancel": "", 804 | "raw": false, 805 | "topic": "", 806 | "name": "", 807 | "x": 1210, 808 | "y": 2260, 809 | "wires": [ 810 | [] 811 | ] 812 | }, 813 | { 814 | "id": "d6efc3c9.696d2", 815 | "type": "change", 816 | "z": "6ce9491a.789d9", 817 | "name": "Reset Water Report", 818 | "rules": [ 819 | { 820 | "t": "delete", 821 | "p": "payload", 822 | "pt": "msg" 823 | }, 824 | { 825 | "t": "set", 826 | "p": "payload", 827 | "pt": "msg", 828 | "to": "{\"name\":\"Water Report\",\"deleted\":true}", 829 | "tot": "json" 830 | } 831 | ], 832 | "action": "", 833 | "property": "", 834 | "from": "", 835 | "to": "", 836 | "reg": false, 837 | "x": 990, 838 | "y": 2100, 839 | "wires": [ 840 | [ 841 | "95a0817.07e77" 842 | ] 843 | ] 844 | }, 845 | { 846 | "id": "d8d571.bcbf3a9", 847 | "type": "inject", 848 | "z": "6ce9491a.789d9", 849 | "name": "", 850 | "topic": "", 851 | "payload": "", 852 | "payloadType": "date", 853 | "repeat": "", 854 | "crontab": "", 855 | "once": false, 856 | "onceDelay": 0.1, 857 | "x": 660, 858 | "y": 2100, 859 | "wires": [ 860 | [ 861 | "d6efc3c9.696d2" 862 | ] 863 | ] 864 | }, 865 | { 866 | "id": "780b13c3.1af2d4", 867 | "type": "http request", 868 | "z": "6ce9491a.789d9", 869 | "name": "USGS Internchment creek water basin", 870 | "method": "GET", 871 | "ret": "obj", 872 | "paytoqs": false, 873 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02203700/basin", 874 | "tls": "", 875 | "persist": false, 876 | "proxy": "", 877 | "authType": "", 878 | "x": 710, 879 | "y": 1960, 880 | "wires": [ 881 | [ 882 | "b9432ae1.37b59" 883 | ] 884 | ] 885 | }, 886 | { 887 | "id": "b9432ae1.37b59", 888 | "type": "function", 889 | "z": "6ce9491a.789d9", 890 | "name": "Draw Water Basin map", 891 | "func": "// Add some simple-spec styling to this polygon area\nvar properties = { \n \"stroke\" : \"orange\",\n \"stroke-width\": 5,\n \"fill\": \"orange\",\n \"fill-opacity\": 0.4\n}\nmsg.payload.features[0].properties = properties;\n\nmsg.payload = { name: \"SugarCreekWaterBasin\",\n layer:\"SugarCreekWaterBasin\",\n geojson:msg.payload\n }; \nreturn msg;", 892 | "outputs": 1, 893 | "noerr": 0, 894 | "x": 1000, 895 | "y": 1960, 896 | "wires": [ 897 | [ 898 | "db8ea075.1e9b28", 899 | "95a0817.07e77" 900 | ] 901 | ] 902 | }, 903 | { 904 | "id": "db8ea075.1e9b28", 905 | "type": "debug", 906 | "z": "6ce9491a.789d9", 907 | "name": "", 908 | "active": true, 909 | "tosidebar": true, 910 | "console": false, 911 | "tostatus": false, 912 | "complete": "false", 913 | "x": 1290, 914 | "y": 1960, 915 | "wires": [] 916 | }, 917 | { 918 | "id": "b213fcbf.fb078", 919 | "type": "ui_switch", 920 | "z": "6ce9491a.789d9", 921 | "name": "", 922 | "label": "Show Internchment Creek Water Basin", 923 | "tooltip": "", 924 | "group": "d3dd8357.94cad8", 925 | "order": 3, 926 | "width": 0, 927 | "height": 0, 928 | "passthru": true, 929 | "decouple": "false", 930 | "topic": "", 931 | "style": "", 932 | "onvalue": "true", 933 | "onvalueType": "bool", 934 | "onicon": "fa-tint", 935 | "oncolor": "orange", 936 | "offvalue": "false", 937 | "offvalueType": "bool", 938 | "officon": "fa-tint", 939 | "offcolor": "grey", 940 | "x": 230, 941 | "y": 1980, 942 | "wires": [ 943 | [ 944 | "cca5eee.406ac9" 945 | ] 946 | ] 947 | }, 948 | { 949 | "id": "cca5eee.406ac9", 950 | "type": "switch", 951 | "z": "6ce9491a.789d9", 952 | "name": "", 953 | "property": "payload", 954 | "propertyType": "msg", 955 | "rules": [ 956 | { 957 | "t": "true" 958 | }, 959 | { 960 | "t": "false" 961 | } 962 | ], 963 | "checkall": "true", 964 | "repair": false, 965 | "outputs": 2, 966 | "x": 470, 967 | "y": 1980, 968 | "wires": [ 969 | [ 970 | "780b13c3.1af2d4", 971 | "62dab92c.7d9ae8" 972 | ], 973 | [ 974 | "f96c4450.ff18f" 975 | ] 976 | ] 977 | }, 978 | { 979 | "id": "f96c4450.ff18f", 980 | "type": "change", 981 | "z": "6ce9491a.789d9", 982 | "name": "Hide Sugar Creek Water Basin", 983 | "rules": [ 984 | { 985 | "t": "set", 986 | "p": "payload", 987 | "pt": "msg", 988 | "to": "{\"command\":{\"hidelayer\":[\"SugarCreekWaterBasin\",\"SugarCreek\"]}}", 989 | "tot": "json" 990 | } 991 | ], 992 | "action": "", 993 | "property": "", 994 | "from": "", 995 | "to": "", 996 | "reg": false, 997 | "x": 1030, 998 | "y": 2000, 999 | "wires": [ 1000 | [ 1001 | "95a0817.07e77" 1002 | ] 1003 | ] 1004 | }, 1005 | { 1006 | "id": "840d8f18.7fa7c8", 1007 | "type": "change", 1008 | "z": "6ce9491a.789d9", 1009 | "name": "Draw Sugar Creek", 1010 | "rules": [ 1011 | { 1012 | "t": "move", 1013 | "p": "payload", 1014 | "pt": "msg", 1015 | "to": "payload.geojson", 1016 | "tot": "msg" 1017 | }, 1018 | { 1019 | "t": "set", 1020 | "p": "payload.layer", 1021 | "pt": "msg", 1022 | "to": "SugarCreek", 1023 | "tot": "str" 1024 | }, 1025 | { 1026 | "t": "set", 1027 | "p": "payload.name", 1028 | "pt": "msg", 1029 | "to": "SugarCreek", 1030 | "tot": "str" 1031 | }, 1032 | { 1033 | "t": "set", 1034 | "p": "payload.color", 1035 | "pt": "msg", 1036 | "to": "steelblue", 1037 | "tot": "str" 1038 | }, 1039 | { 1040 | "t": "set", 1041 | "p": "payload.weight", 1042 | "pt": "msg", 1043 | "to": "3", 1044 | "tot": "num" 1045 | } 1046 | ], 1047 | "action": "", 1048 | "property": "", 1049 | "from": "", 1050 | "to": "", 1051 | "reg": false, 1052 | "x": 990, 1053 | "y": 1920, 1054 | "wires": [ 1055 | [ 1056 | "95a0817.07e77" 1057 | ] 1058 | ] 1059 | }, 1060 | { 1061 | "id": "62dab92c.7d9ae8", 1062 | "type": "http request", 1063 | "z": "6ce9491a.789d9", 1064 | "name": "USGS Internchment Creek", 1065 | "method": "GET", 1066 | "ret": "obj", 1067 | "paytoqs": false, 1068 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02203700/navigate/UT", 1069 | "tls": "", 1070 | "persist": false, 1071 | "proxy": "", 1072 | "authType": "", 1073 | "x": 680, 1074 | "y": 1920, 1075 | "wires": [ 1076 | [ 1077 | "840d8f18.7fa7c8" 1078 | ] 1079 | ] 1080 | }, 1081 | { 1082 | "id": "356f9a6a.eff6c6", 1083 | "type": "http request", 1084 | "z": "6ce9491a.789d9", 1085 | "name": "USGS Proctor creek water basin", 1086 | "method": "GET", 1087 | "ret": "obj", 1088 | "paytoqs": false, 1089 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02336526/basin", 1090 | "tls": "", 1091 | "persist": false, 1092 | "proxy": "", 1093 | "authType": "", 1094 | "x": 670, 1095 | "y": 1820, 1096 | "wires": [ 1097 | [ 1098 | "7ccf6905.378818" 1099 | ] 1100 | ] 1101 | }, 1102 | { 1103 | "id": "7ccf6905.378818", 1104 | "type": "function", 1105 | "z": "6ce9491a.789d9", 1106 | "name": "Draw Water Basin map", 1107 | "func": "// Add some simple-spec styling to this polygon area\nvar properties = { \n \"stroke\" : \"aqua\",\n \"stroke-width\": 5,\n \"fill\": \"aqua\",\n \"fill-opacity\": 0.4\n}\nmsg.payload.features[0].properties = properties;\n\nmsg.payload = { name: \"ProctorCreekWaterBasin\",\n layer:\"ProctorCreekWaterBasin\",\n geojson:msg.payload\n }; \nreturn msg;", 1108 | "outputs": 1, 1109 | "noerr": 0, 1110 | "x": 980, 1111 | "y": 1820, 1112 | "wires": [ 1113 | [ 1114 | "13133d09.1d729b", 1115 | "95a0817.07e77" 1116 | ] 1117 | ] 1118 | }, 1119 | { 1120 | "id": "13133d09.1d729b", 1121 | "type": "debug", 1122 | "z": "6ce9491a.789d9", 1123 | "name": "", 1124 | "active": true, 1125 | "tosidebar": true, 1126 | "console": false, 1127 | "tostatus": false, 1128 | "complete": "false", 1129 | "x": 1290, 1130 | "y": 1820, 1131 | "wires": [] 1132 | }, 1133 | { 1134 | "id": "91b2b6b.a7de248", 1135 | "type": "ui_switch", 1136 | "z": "6ce9491a.789d9", 1137 | "name": "", 1138 | "label": "Show Proctor Creek Water Basin", 1139 | "tooltip": "", 1140 | "group": "d3dd8357.94cad8", 1141 | "order": 3, 1142 | "width": 0, 1143 | "height": 0, 1144 | "passthru": true, 1145 | "decouple": "false", 1146 | "topic": "", 1147 | "style": "", 1148 | "onvalue": "true", 1149 | "onvalueType": "bool", 1150 | "onicon": "fa-tint", 1151 | "oncolor": "aqua", 1152 | "offvalue": "false", 1153 | "offvalueType": "bool", 1154 | "officon": "fa-tint", 1155 | "offcolor": "grey", 1156 | "x": 200, 1157 | "y": 1840, 1158 | "wires": [ 1159 | [ 1160 | "7fb4ab56.db71ac" 1161 | ] 1162 | ] 1163 | }, 1164 | { 1165 | "id": "7fb4ab56.db71ac", 1166 | "type": "switch", 1167 | "z": "6ce9491a.789d9", 1168 | "name": "", 1169 | "property": "payload", 1170 | "propertyType": "msg", 1171 | "rules": [ 1172 | { 1173 | "t": "true" 1174 | }, 1175 | { 1176 | "t": "false" 1177 | } 1178 | ], 1179 | "checkall": "true", 1180 | "repair": false, 1181 | "outputs": 2, 1182 | "x": 450, 1183 | "y": 1840, 1184 | "wires": [ 1185 | [ 1186 | "356f9a6a.eff6c6", 1187 | "f5f87a15.42de18" 1188 | ], 1189 | [ 1190 | "c22312b0.a555a" 1191 | ] 1192 | ] 1193 | }, 1194 | { 1195 | "id": "c22312b0.a555a", 1196 | "type": "change", 1197 | "z": "6ce9491a.789d9", 1198 | "name": "Hide Proctor Creek Water Basin", 1199 | "rules": [ 1200 | { 1201 | "t": "set", 1202 | "p": "payload", 1203 | "pt": "msg", 1204 | "to": "{\"command\":{\"hidelayer\":[\"ProctorCreekWaterBasin\",\"ProctorCreek\"]}}", 1205 | "tot": "json" 1206 | } 1207 | ], 1208 | "action": "", 1209 | "property": "", 1210 | "from": "", 1211 | "to": "", 1212 | "reg": false, 1213 | "x": 1010, 1214 | "y": 1860, 1215 | "wires": [ 1216 | [ 1217 | "95a0817.07e77" 1218 | ] 1219 | ] 1220 | }, 1221 | { 1222 | "id": "f642dd0.30fbaa", 1223 | "type": "change", 1224 | "z": "6ce9491a.789d9", 1225 | "name": "Draw Proctor Creek", 1226 | "rules": [ 1227 | { 1228 | "t": "move", 1229 | "p": "payload", 1230 | "pt": "msg", 1231 | "to": "payload.geojson", 1232 | "tot": "msg" 1233 | }, 1234 | { 1235 | "t": "set", 1236 | "p": "payload.layer", 1237 | "pt": "msg", 1238 | "to": "ProctorCreek", 1239 | "tot": "str" 1240 | }, 1241 | { 1242 | "t": "set", 1243 | "p": "payload.name", 1244 | "pt": "msg", 1245 | "to": "ProctorCreek", 1246 | "tot": "str" 1247 | }, 1248 | { 1249 | "t": "set", 1250 | "p": "payload.color", 1251 | "pt": "msg", 1252 | "to": "steelblue", 1253 | "tot": "str" 1254 | }, 1255 | { 1256 | "t": "set", 1257 | "p": "payload.weight", 1258 | "pt": "msg", 1259 | "to": "3", 1260 | "tot": "num" 1261 | } 1262 | ], 1263 | "action": "", 1264 | "property": "", 1265 | "from": "", 1266 | "to": "", 1267 | "reg": false, 1268 | "x": 970, 1269 | "y": 1780, 1270 | "wires": [ 1271 | [ 1272 | "95a0817.07e77" 1273 | ] 1274 | ] 1275 | }, 1276 | { 1277 | "id": "f5f87a15.42de18", 1278 | "type": "http request", 1279 | "z": "6ce9491a.789d9", 1280 | "name": "USGS Proctor Creek", 1281 | "method": "GET", 1282 | "ret": "obj", 1283 | "paytoqs": false, 1284 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02336526/navigate/UT", 1285 | "tls": "", 1286 | "persist": false, 1287 | "proxy": "", 1288 | "authType": "", 1289 | "x": 640, 1290 | "y": 1780, 1291 | "wires": [ 1292 | [ 1293 | "f642dd0.30fbaa" 1294 | ] 1295 | ] 1296 | }, 1297 | { 1298 | "id": "e7c6ee6a.88c708", 1299 | "type": "http request", 1300 | "z": "6ce9491a.789d9", 1301 | "name": "USGS NF PeachTree Creek water basin", 1302 | "method": "GET", 1303 | "ret": "obj", 1304 | "paytoqs": false, 1305 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02336120/basin", 1306 | "tls": "", 1307 | "persist": false, 1308 | "proxy": "", 1309 | "authType": "", 1310 | "x": 700, 1311 | "y": 1080, 1312 | "wires": [ 1313 | [ 1314 | "84e750a0.e2879" 1315 | ] 1316 | ] 1317 | }, 1318 | { 1319 | "id": "84e750a0.e2879", 1320 | "type": "function", 1321 | "z": "6ce9491a.789d9", 1322 | "name": "Draw Water Basin map", 1323 | "func": "// Add some simple-spec styling to this polygon area\nvar properties = { \n \"stroke\" : \"yellow\",\n \"stroke-width\": 5,\n \"fill\": \"yellow\",\n \"fill-opacity\": 0.4\n}\nmsg.payload.features[0].properties = properties;\n\nmsg.payload = { name: \"NFPeachTreeCreekWaterBasin\",\n layer:\"NFPeachTreeCreekWaterBasin\",\n geojson:msg.payload\n }; \nreturn msg;", 1324 | "outputs": 1, 1325 | "noerr": 0, 1326 | "x": 980, 1327 | "y": 1080, 1328 | "wires": [ 1329 | [ 1330 | "d1407f3e.91cb38", 1331 | "95a0817.07e77" 1332 | ] 1333 | ] 1334 | }, 1335 | { 1336 | "id": "d1407f3e.91cb38", 1337 | "type": "debug", 1338 | "z": "6ce9491a.789d9", 1339 | "name": "", 1340 | "active": true, 1341 | "tosidebar": true, 1342 | "console": false, 1343 | "tostatus": false, 1344 | "complete": "false", 1345 | "x": 1290, 1346 | "y": 1080, 1347 | "wires": [] 1348 | }, 1349 | { 1350 | "id": "9cb4c8cc.028cd", 1351 | "type": "ui_switch", 1352 | "z": "6ce9491a.789d9", 1353 | "name": "", 1354 | "label": "Show NF Peachtree Water Basin", 1355 | "tooltip": "", 1356 | "group": "d3dd8357.94cad8", 1357 | "order": 3, 1358 | "width": 0, 1359 | "height": 0, 1360 | "passthru": true, 1361 | "decouple": "false", 1362 | "topic": "", 1363 | "style": "", 1364 | "onvalue": "true", 1365 | "onvalueType": "bool", 1366 | "onicon": "fa-tint", 1367 | "oncolor": "yellow", 1368 | "offvalue": "false", 1369 | "offvalueType": "bool", 1370 | "officon": "fa-tint", 1371 | "offcolor": "grey", 1372 | "x": 200, 1373 | "y": 1100, 1374 | "wires": [ 1375 | [ 1376 | "6cf9d803.7f7ca8" 1377 | ] 1378 | ] 1379 | }, 1380 | { 1381 | "id": "6cf9d803.7f7ca8", 1382 | "type": "switch", 1383 | "z": "6ce9491a.789d9", 1384 | "name": "", 1385 | "property": "payload", 1386 | "propertyType": "msg", 1387 | "rules": [ 1388 | { 1389 | "t": "true" 1390 | }, 1391 | { 1392 | "t": "false" 1393 | } 1394 | ], 1395 | "checkall": "true", 1396 | "repair": false, 1397 | "outputs": 2, 1398 | "x": 450, 1399 | "y": 1100, 1400 | "wires": [ 1401 | [ 1402 | "e7c6ee6a.88c708", 1403 | "35c9ffde.284b3" 1404 | ], 1405 | [ 1406 | "3803f32e.3f6a34" 1407 | ] 1408 | ] 1409 | }, 1410 | { 1411 | "id": "3803f32e.3f6a34", 1412 | "type": "change", 1413 | "z": "6ce9491a.789d9", 1414 | "name": "Hide NFPeachTree Creek Water Basin", 1415 | "rules": [ 1416 | { 1417 | "t": "set", 1418 | "p": "payload", 1419 | "pt": "msg", 1420 | "to": "{\"command\":{\"hidelayer\":[\"NFPeachTreeCreekWaterBasin\",\"NFPeachTreeCreek\"]}}", 1421 | "tot": "json" 1422 | } 1423 | ], 1424 | "action": "", 1425 | "property": "", 1426 | "from": "", 1427 | "to": "", 1428 | "reg": false, 1429 | "x": 1030, 1430 | "y": 1120, 1431 | "wires": [ 1432 | [ 1433 | "95a0817.07e77" 1434 | ] 1435 | ] 1436 | }, 1437 | { 1438 | "id": "d4ea64bd.20646", 1439 | "type": "change", 1440 | "z": "6ce9491a.789d9", 1441 | "name": "Draw NF PeachTree Creek", 1442 | "rules": [ 1443 | { 1444 | "t": "move", 1445 | "p": "payload", 1446 | "pt": "msg", 1447 | "to": "payload.geojson", 1448 | "tot": "msg" 1449 | }, 1450 | { 1451 | "t": "set", 1452 | "p": "payload.layer", 1453 | "pt": "msg", 1454 | "to": "NFPeachTreeCreek", 1455 | "tot": "str" 1456 | }, 1457 | { 1458 | "t": "set", 1459 | "p": "payload.name", 1460 | "pt": "msg", 1461 | "to": "NFPeachTreeCreek", 1462 | "tot": "str" 1463 | }, 1464 | { 1465 | "t": "set", 1466 | "p": "payload.color", 1467 | "pt": "msg", 1468 | "to": "steelblue", 1469 | "tot": "str" 1470 | }, 1471 | { 1472 | "t": "set", 1473 | "p": "payload.weight", 1474 | "pt": "msg", 1475 | "to": "3", 1476 | "tot": "num" 1477 | } 1478 | ], 1479 | "action": "", 1480 | "property": "", 1481 | "from": "", 1482 | "to": "", 1483 | "reg": false, 1484 | "x": 1000, 1485 | "y": 1040, 1486 | "wires": [ 1487 | [ 1488 | "95a0817.07e77" 1489 | ] 1490 | ] 1491 | }, 1492 | { 1493 | "id": "35c9ffde.284b3", 1494 | "type": "http request", 1495 | "z": "6ce9491a.789d9", 1496 | "name": "USGS NF PeachTree Creek", 1497 | "method": "GET", 1498 | "ret": "obj", 1499 | "paytoqs": false, 1500 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02336120/navigate/UT", 1501 | "tls": "", 1502 | "persist": false, 1503 | "proxy": "", 1504 | "authType": "", 1505 | "x": 660, 1506 | "y": 1040, 1507 | "wires": [ 1508 | [ 1509 | "d4ea64bd.20646" 1510 | ] 1511 | ] 1512 | }, 1513 | { 1514 | "id": "86fee6c8.e539d8", 1515 | "type": "http request", 1516 | "z": "6ce9491a.789d9", 1517 | "name": "USGS SF2 PeachTree Creek water basin", 1518 | "method": "GET", 1519 | "ret": "obj", 1520 | "paytoqs": false, 1521 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-023362075/basin", 1522 | "tls": "", 1523 | "persist": false, 1524 | "proxy": "", 1525 | "authType": "", 1526 | "x": 700, 1527 | "y": 1580, 1528 | "wires": [ 1529 | [ 1530 | "8b8692b8.a6f2a8" 1531 | ] 1532 | ] 1533 | }, 1534 | { 1535 | "id": "8b8692b8.a6f2a8", 1536 | "type": "function", 1537 | "z": "6ce9491a.789d9", 1538 | "name": "Draw Water Basin map", 1539 | "func": "// Add some simple-spec styling to this polygon area\nvar properties = { \n \"stroke\" : \"salmon\",\n \"stroke-width\": 5,\n \"fill\": \"salmon\",\n \"fill-opacity\": 0.4\n}\nmsg.payload.features[0].properties = properties;\n\nmsg.payload = { name: \"SF2PeachTreeCreekWaterBasin\",\n layer:\"SF2PeachTreeCreekWaterBasin\",\n geojson:msg.payload\n }; \nreturn msg;", 1540 | "outputs": 1, 1541 | "noerr": 0, 1542 | "x": 980, 1543 | "y": 1580, 1544 | "wires": [ 1545 | [ 1546 | "a9c0ed58.fd66f", 1547 | "95a0817.07e77" 1548 | ] 1549 | ] 1550 | }, 1551 | { 1552 | "id": "a9c0ed58.fd66f", 1553 | "type": "debug", 1554 | "z": "6ce9491a.789d9", 1555 | "name": "", 1556 | "active": true, 1557 | "tosidebar": true, 1558 | "console": false, 1559 | "tostatus": false, 1560 | "complete": "false", 1561 | "x": 1290, 1562 | "y": 1580, 1563 | "wires": [] 1564 | }, 1565 | { 1566 | "id": "3b22dd6e.3cc87a", 1567 | "type": "change", 1568 | "z": "6ce9491a.789d9", 1569 | "name": "Draw SFPeachTree Creek", 1570 | "rules": [ 1571 | { 1572 | "t": "move", 1573 | "p": "payload", 1574 | "pt": "msg", 1575 | "to": "payload.geojson", 1576 | "tot": "msg" 1577 | }, 1578 | { 1579 | "t": "set", 1580 | "p": "payload.layer", 1581 | "pt": "msg", 1582 | "to": "SF2PeachTreeCreek", 1583 | "tot": "str" 1584 | }, 1585 | { 1586 | "t": "set", 1587 | "p": "payload.name", 1588 | "pt": "msg", 1589 | "to": "SF2PeachTreeCreek", 1590 | "tot": "str" 1591 | }, 1592 | { 1593 | "t": "set", 1594 | "p": "payload.color", 1595 | "pt": "msg", 1596 | "to": "steelblue", 1597 | "tot": "str" 1598 | }, 1599 | { 1600 | "t": "set", 1601 | "p": "payload.weight", 1602 | "pt": "msg", 1603 | "to": "3", 1604 | "tot": "num" 1605 | } 1606 | ], 1607 | "action": "", 1608 | "property": "", 1609 | "from": "", 1610 | "to": "", 1611 | "reg": false, 1612 | "x": 1000, 1613 | "y": 1540, 1614 | "wires": [ 1615 | [ 1616 | "95a0817.07e77" 1617 | ] 1618 | ] 1619 | }, 1620 | { 1621 | "id": "ee51f232.e5a1c8", 1622 | "type": "http request", 1623 | "z": "6ce9491a.789d9", 1624 | "name": "USGS SF2 PeachTree Creek", 1625 | "method": "GET", 1626 | "ret": "obj", 1627 | "paytoqs": false, 1628 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-023362075/navigate/UT", 1629 | "tls": "", 1630 | "persist": false, 1631 | "proxy": "", 1632 | "authType": "", 1633 | "x": 660, 1634 | "y": 1540, 1635 | "wires": [ 1636 | [ 1637 | "3b22dd6e.3cc87a" 1638 | ] 1639 | ] 1640 | }, 1641 | { 1642 | "id": "e311283e.59a3b", 1643 | "type": "http request", 1644 | "z": "6ce9491a.789d9", 1645 | "name": "USGS SF1 PeachTree Creek water basin", 1646 | "method": "GET", 1647 | "ret": "obj", 1648 | "paytoqs": false, 1649 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02336152/basin", 1650 | "tls": "", 1651 | "persist": false, 1652 | "proxy": "", 1653 | "authType": "", 1654 | "x": 700, 1655 | "y": 1500, 1656 | "wires": [ 1657 | [ 1658 | "a2d5762b.9602b" 1659 | ] 1660 | ] 1661 | }, 1662 | { 1663 | "id": "a2d5762b.9602b", 1664 | "type": "function", 1665 | "z": "6ce9491a.789d9", 1666 | "name": "Draw Water Basin map", 1667 | "func": "// Add some simple-spec styling to this polygon area\nvar properties = { \n \"stroke\" : \"salmon\",\n \"stroke-width\": 5,\n \"fill\": \"salmon\",\n \"fill-opacity\": 0.4\n}\nmsg.payload.features[0].properties = properties;\n\nmsg.payload = { name: \"SF1PeachTreeCreekWaterBasin\",\n layer:\"SF1PeachTreeCreekWaterBasin\",\n geojson:msg.payload\n }; \nreturn msg;", 1668 | "outputs": 1, 1669 | "noerr": 0, 1670 | "x": 980, 1671 | "y": 1500, 1672 | "wires": [ 1673 | [ 1674 | "deaed5dc.af2ac", 1675 | "95a0817.07e77" 1676 | ] 1677 | ] 1678 | }, 1679 | { 1680 | "id": "deaed5dc.af2ac", 1681 | "type": "debug", 1682 | "z": "6ce9491a.789d9", 1683 | "name": "", 1684 | "active": true, 1685 | "tosidebar": true, 1686 | "console": false, 1687 | "tostatus": false, 1688 | "complete": "false", 1689 | "x": 1290, 1690 | "y": 1500, 1691 | "wires": [] 1692 | }, 1693 | { 1694 | "id": "281d18e8.d09928", 1695 | "type": "change", 1696 | "z": "6ce9491a.789d9", 1697 | "name": "Draw SFPeachTree Creek", 1698 | "rules": [ 1699 | { 1700 | "t": "move", 1701 | "p": "payload", 1702 | "pt": "msg", 1703 | "to": "payload.geojson", 1704 | "tot": "msg" 1705 | }, 1706 | { 1707 | "t": "set", 1708 | "p": "payload.layer", 1709 | "pt": "msg", 1710 | "to": "SF1PeachTreeCreek", 1711 | "tot": "str" 1712 | }, 1713 | { 1714 | "t": "set", 1715 | "p": "payload.name", 1716 | "pt": "msg", 1717 | "to": "SF1PeachTreeCreek", 1718 | "tot": "str" 1719 | }, 1720 | { 1721 | "t": "set", 1722 | "p": "payload.color", 1723 | "pt": "msg", 1724 | "to": "steelblue", 1725 | "tot": "str" 1726 | }, 1727 | { 1728 | "t": "set", 1729 | "p": "payload.weight", 1730 | "pt": "msg", 1731 | "to": "3", 1732 | "tot": "num" 1733 | } 1734 | ], 1735 | "action": "", 1736 | "property": "", 1737 | "from": "", 1738 | "to": "", 1739 | "reg": false, 1740 | "x": 1000, 1741 | "y": 1460, 1742 | "wires": [ 1743 | [ 1744 | "95a0817.07e77" 1745 | ] 1746 | ] 1747 | }, 1748 | { 1749 | "id": "e993daa0.72d8e", 1750 | "type": "http request", 1751 | "z": "6ce9491a.789d9", 1752 | "name": "USGS SF1 PeachTree Creek", 1753 | "method": "GET", 1754 | "ret": "obj", 1755 | "paytoqs": false, 1756 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02336152/navigate/UT", 1757 | "tls": "", 1758 | "persist": false, 1759 | "proxy": "", 1760 | "authType": "", 1761 | "x": 660, 1762 | "y": 1460, 1763 | "wires": [ 1764 | [ 1765 | "281d18e8.d09928" 1766 | ] 1767 | ] 1768 | }, 1769 | { 1770 | "id": "db409295.91482", 1771 | "type": "http request", 1772 | "z": "6ce9491a.789d9", 1773 | "name": "USGS SF3 PeachTree Creek water basin", 1774 | "method": "GET", 1775 | "ret": "obj", 1776 | "paytoqs": false, 1777 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02336240/basin", 1778 | "tls": "", 1779 | "persist": false, 1780 | "proxy": "", 1781 | "authType": "", 1782 | "x": 700, 1783 | "y": 1660, 1784 | "wires": [ 1785 | [ 1786 | "fc23025.2cce08" 1787 | ] 1788 | ] 1789 | }, 1790 | { 1791 | "id": "fc23025.2cce08", 1792 | "type": "function", 1793 | "z": "6ce9491a.789d9", 1794 | "name": "Draw Water Basin map", 1795 | "func": "// Add some simple-spec styling to this polygon area\nvar properties = { \n \"stroke\" : \"salmon\",\n \"stroke-width\": 5,\n \"fill\": \"salmon\",\n \"fill-opacity\": 0.4\n}\nmsg.payload.features[0].properties = properties;\n\nmsg.payload = { name: \"SF3PeachTreeCreekWaterBasin\",\n layer:\"SF3PeachTreeCreekWaterBasin\",\n geojson:msg.payload\n }; \nreturn msg;", 1796 | "outputs": 1, 1797 | "noerr": 0, 1798 | "x": 980, 1799 | "y": 1660, 1800 | "wires": [ 1801 | [ 1802 | "d91f0517.8b1aa8", 1803 | "95a0817.07e77" 1804 | ] 1805 | ] 1806 | }, 1807 | { 1808 | "id": "d91f0517.8b1aa8", 1809 | "type": "debug", 1810 | "z": "6ce9491a.789d9", 1811 | "name": "", 1812 | "active": true, 1813 | "tosidebar": true, 1814 | "console": false, 1815 | "tostatus": false, 1816 | "complete": "false", 1817 | "x": 1290, 1818 | "y": 1660, 1819 | "wires": [] 1820 | }, 1821 | { 1822 | "id": "922da9f8.5f3e38", 1823 | "type": "change", 1824 | "z": "6ce9491a.789d9", 1825 | "name": "Draw SFPeachTree Creek", 1826 | "rules": [ 1827 | { 1828 | "t": "move", 1829 | "p": "payload", 1830 | "pt": "msg", 1831 | "to": "payload.geojson", 1832 | "tot": "msg" 1833 | }, 1834 | { 1835 | "t": "set", 1836 | "p": "payload.layer", 1837 | "pt": "msg", 1838 | "to": "SF3PeachTreeCreek", 1839 | "tot": "str" 1840 | }, 1841 | { 1842 | "t": "set", 1843 | "p": "payload.name", 1844 | "pt": "msg", 1845 | "to": "SF3PeachTreeCreek", 1846 | "tot": "str" 1847 | }, 1848 | { 1849 | "t": "set", 1850 | "p": "payload.color", 1851 | "pt": "msg", 1852 | "to": "steelblue", 1853 | "tot": "str" 1854 | }, 1855 | { 1856 | "t": "set", 1857 | "p": "payload.weight", 1858 | "pt": "msg", 1859 | "to": "3", 1860 | "tot": "num" 1861 | } 1862 | ], 1863 | "action": "", 1864 | "property": "", 1865 | "from": "", 1866 | "to": "", 1867 | "reg": false, 1868 | "x": 1000, 1869 | "y": 1620, 1870 | "wires": [ 1871 | [ 1872 | "95a0817.07e77" 1873 | ] 1874 | ] 1875 | }, 1876 | { 1877 | "id": "2265eed3.0cf4ca", 1878 | "type": "http request", 1879 | "z": "6ce9491a.789d9", 1880 | "name": "USGS SF3 PeachTree Creek", 1881 | "method": "GET", 1882 | "ret": "obj", 1883 | "paytoqs": false, 1884 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02336240/navigate/UT", 1885 | "tls": "", 1886 | "persist": false, 1887 | "proxy": "", 1888 | "authType": "", 1889 | "x": 660, 1890 | "y": 1620, 1891 | "wires": [ 1892 | [ 1893 | "922da9f8.5f3e38" 1894 | ] 1895 | ] 1896 | }, 1897 | { 1898 | "id": "7c82b014.138238", 1899 | "type": "ui_switch", 1900 | "z": "6ce9491a.789d9", 1901 | "name": "", 1902 | "label": "Show Nancy Creek Water Basin", 1903 | "tooltip": "", 1904 | "group": "d3dd8357.94cad8", 1905 | "order": 3, 1906 | "width": 0, 1907 | "height": 0, 1908 | "passthru": true, 1909 | "decouple": "false", 1910 | "topic": "", 1911 | "style": "", 1912 | "onvalue": "true", 1913 | "onvalueType": "bool", 1914 | "onicon": "fa-tint", 1915 | "oncolor": "firebrick", 1916 | "offvalue": "false", 1917 | "offvalueType": "bool", 1918 | "officon": "fa-tint", 1919 | "offcolor": "grey", 1920 | "x": 190, 1921 | "y": 1380, 1922 | "wires": [ 1923 | [ 1924 | "71882bdc.65ad74" 1925 | ] 1926 | ] 1927 | }, 1928 | { 1929 | "id": "71882bdc.65ad74", 1930 | "type": "switch", 1931 | "z": "6ce9491a.789d9", 1932 | "name": "", 1933 | "property": "payload", 1934 | "propertyType": "msg", 1935 | "rules": [ 1936 | { 1937 | "t": "true" 1938 | }, 1939 | { 1940 | "t": "false" 1941 | } 1942 | ], 1943 | "checkall": "true", 1944 | "repair": false, 1945 | "outputs": 2, 1946 | "x": 450, 1947 | "y": 1380, 1948 | "wires": [ 1949 | [ 1950 | "b0be0bc2.a6e5a8", 1951 | "907a30af.59bca" 1952 | ], 1953 | [ 1954 | "e0715753.950e1" 1955 | ] 1956 | ] 1957 | }, 1958 | { 1959 | "id": "e0715753.950e1", 1960 | "type": "change", 1961 | "z": "6ce9491a.789d9", 1962 | "name": "Hide Nancy Creek Water Basin", 1963 | "rules": [ 1964 | { 1965 | "t": "set", 1966 | "p": "payload", 1967 | "pt": "msg", 1968 | "to": "{\"command\":{\"hidelayer\":[\"NancyCreekWaterBasin\",\"NancyCreek\"]}}", 1969 | "tot": "json" 1970 | } 1971 | ], 1972 | "action": "", 1973 | "property": "", 1974 | "from": "", 1975 | "to": "", 1976 | "reg": false, 1977 | "x": 1010, 1978 | "y": 1400, 1979 | "wires": [ 1980 | [ 1981 | "95a0817.07e77" 1982 | ] 1983 | ] 1984 | }, 1985 | { 1986 | "id": "b0be0bc2.a6e5a8", 1987 | "type": "http request", 1988 | "z": "6ce9491a.789d9", 1989 | "name": "USGS Nancy Creek water basin", 1990 | "method": "GET", 1991 | "ret": "obj", 1992 | "paytoqs": false, 1993 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02336410/basin", 1994 | "tls": "", 1995 | "persist": false, 1996 | "proxy": "", 1997 | "authType": "", 1998 | "x": 670, 1999 | "y": 1360, 2000 | "wires": [ 2001 | [ 2002 | "4a0483c7.342f74" 2003 | ] 2004 | ] 2005 | }, 2006 | { 2007 | "id": "4a0483c7.342f74", 2008 | "type": "function", 2009 | "z": "6ce9491a.789d9", 2010 | "name": "Draw Water Basin map", 2011 | "func": "// Add some simple-spec styling to this polygon area\nvar properties = { \n \"stroke\" : \"firebrick\",\n \"stroke-width\": 5,\n \"fill\": \"firebrick\",\n \"fill-opacity\": 0.4\n}\nmsg.payload.features[0].properties = properties;\n\nmsg.payload = { name: \"NancyCreekWaterBasin\",\n layer:\"NancyCreekWaterBasin\",\n geojson:msg.payload\n }; \nreturn msg;", 2012 | "outputs": 1, 2013 | "noerr": 0, 2014 | "x": 980, 2015 | "y": 1360, 2016 | "wires": [ 2017 | [ 2018 | "bb7a2051.9b645", 2019 | "95a0817.07e77" 2020 | ] 2021 | ] 2022 | }, 2023 | { 2024 | "id": "bb7a2051.9b645", 2025 | "type": "debug", 2026 | "z": "6ce9491a.789d9", 2027 | "name": "", 2028 | "active": true, 2029 | "tosidebar": true, 2030 | "console": false, 2031 | "tostatus": false, 2032 | "complete": "false", 2033 | "x": 1290, 2034 | "y": 1360, 2035 | "wires": [] 2036 | }, 2037 | { 2038 | "id": "8cc5b572.bb8988", 2039 | "type": "change", 2040 | "z": "6ce9491a.789d9", 2041 | "name": "Draw Nancy Creek", 2042 | "rules": [ 2043 | { 2044 | "t": "move", 2045 | "p": "payload", 2046 | "pt": "msg", 2047 | "to": "payload.geojson", 2048 | "tot": "msg" 2049 | }, 2050 | { 2051 | "t": "set", 2052 | "p": "payload.layer", 2053 | "pt": "msg", 2054 | "to": "NancyCreek", 2055 | "tot": "str" 2056 | }, 2057 | { 2058 | "t": "set", 2059 | "p": "payload.name", 2060 | "pt": "msg", 2061 | "to": "NancyCreek", 2062 | "tot": "str" 2063 | }, 2064 | { 2065 | "t": "set", 2066 | "p": "payload.color", 2067 | "pt": "msg", 2068 | "to": "steelblue", 2069 | "tot": "str" 2070 | }, 2071 | { 2072 | "t": "set", 2073 | "p": "payload.weight", 2074 | "pt": "msg", 2075 | "to": "3", 2076 | "tot": "num" 2077 | } 2078 | ], 2079 | "action": "", 2080 | "property": "", 2081 | "from": "", 2082 | "to": "", 2083 | "reg": false, 2084 | "x": 970, 2085 | "y": 1320, 2086 | "wires": [ 2087 | [ 2088 | "95a0817.07e77" 2089 | ] 2090 | ] 2091 | }, 2092 | { 2093 | "id": "907a30af.59bca", 2094 | "type": "http request", 2095 | "z": "6ce9491a.789d9", 2096 | "name": "USGS Nancy Creek", 2097 | "method": "GET", 2098 | "ret": "obj", 2099 | "paytoqs": false, 2100 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02336410/navigate/UT", 2101 | "tls": "", 2102 | "persist": false, 2103 | "proxy": "", 2104 | "authType": "", 2105 | "x": 640, 2106 | "y": 1320, 2107 | "wires": [ 2108 | [ 2109 | "8cc5b572.bb8988" 2110 | ] 2111 | ] 2112 | }, 2113 | { 2114 | "id": "edb7d051.dd00a8", 2115 | "type": "ui_switch", 2116 | "z": "6ce9491a.789d9", 2117 | "name": "", 2118 | "label": "Show Long Island Creek Water Basin", 2119 | "tooltip": "", 2120 | "group": "d3dd8357.94cad8", 2121 | "order": 3, 2122 | "width": 0, 2123 | "height": 0, 2124 | "passthru": true, 2125 | "decouple": "false", 2126 | "topic": "", 2127 | "style": "", 2128 | "onvalue": "true", 2129 | "onvalueType": "bool", 2130 | "onicon": "fa-tint", 2131 | "oncolor": "orchid", 2132 | "offvalue": "false", 2133 | "offvalueType": "bool", 2134 | "officon": "fa-tint", 2135 | "offcolor": "grey", 2136 | "x": 210, 2137 | "y": 1240, 2138 | "wires": [ 2139 | [ 2140 | "3b989de9.db2342" 2141 | ] 2142 | ] 2143 | }, 2144 | { 2145 | "id": "3b989de9.db2342", 2146 | "type": "switch", 2147 | "z": "6ce9491a.789d9", 2148 | "name": "", 2149 | "property": "payload", 2150 | "propertyType": "msg", 2151 | "rules": [ 2152 | { 2153 | "t": "true" 2154 | }, 2155 | { 2156 | "t": "false" 2157 | } 2158 | ], 2159 | "checkall": "true", 2160 | "repair": false, 2161 | "outputs": 2, 2162 | "x": 450, 2163 | "y": 1240, 2164 | "wires": [ 2165 | [ 2166 | "3990c918.716fc6", 2167 | "419b97b7.d36098" 2168 | ], 2169 | [ 2170 | "77ab0fa0.5fa768" 2171 | ] 2172 | ] 2173 | }, 2174 | { 2175 | "id": "77ab0fa0.5fa768", 2176 | "type": "change", 2177 | "z": "6ce9491a.789d9", 2178 | "name": "Hide Long Island Creek Water Basin", 2179 | "rules": [ 2180 | { 2181 | "t": "set", 2182 | "p": "payload", 2183 | "pt": "msg", 2184 | "to": "{\"command\":{\"hidelayer\":[\"LongIslandCreekWaterBasin\",\"LongIslandCreek\"]}}", 2185 | "tot": "json" 2186 | } 2187 | ], 2188 | "action": "", 2189 | "property": "", 2190 | "from": "", 2191 | "to": "", 2192 | "reg": false, 2193 | "x": 1030, 2194 | "y": 1260, 2195 | "wires": [ 2196 | [ 2197 | "95a0817.07e77" 2198 | ] 2199 | ] 2200 | }, 2201 | { 2202 | "id": "3990c918.716fc6", 2203 | "type": "http request", 2204 | "z": "6ce9491a.789d9", 2205 | "name": "USGS Long Island Creek water basin", 2206 | "method": "GET", 2207 | "ret": "obj", 2208 | "paytoqs": false, 2209 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02335880/basin", 2210 | "tls": "", 2211 | "persist": false, 2212 | "proxy": "", 2213 | "authType": "", 2214 | "x": 690, 2215 | "y": 1220, 2216 | "wires": [ 2217 | [ 2218 | "126a3baf.4ec114" 2219 | ] 2220 | ] 2221 | }, 2222 | { 2223 | "id": "126a3baf.4ec114", 2224 | "type": "function", 2225 | "z": "6ce9491a.789d9", 2226 | "name": "Draw Water Basin map", 2227 | "func": "// Add some simple-spec styling to this polygon area\nvar properties = { \n \"stroke\" : \"orchid\",\n \"stroke-width\": 5,\n \"fill\": \"orchid\",\n \"fill-opacity\": 0.4\n}\nmsg.payload.features[0].properties = properties;\n\nmsg.payload = { name: \"LongIslandCreekWaterBasin\",\n layer:\"LongIslandCreekWaterBasin\",\n geojson:msg.payload\n }; \nreturn msg;", 2228 | "outputs": 1, 2229 | "noerr": 0, 2230 | "x": 980, 2231 | "y": 1220, 2232 | "wires": [ 2233 | [ 2234 | "6c7d680c.bd0d68", 2235 | "95a0817.07e77" 2236 | ] 2237 | ] 2238 | }, 2239 | { 2240 | "id": "6c7d680c.bd0d68", 2241 | "type": "debug", 2242 | "z": "6ce9491a.789d9", 2243 | "name": "", 2244 | "active": true, 2245 | "tosidebar": true, 2246 | "console": false, 2247 | "tostatus": false, 2248 | "complete": "false", 2249 | "x": 1290, 2250 | "y": 1220, 2251 | "wires": [] 2252 | }, 2253 | { 2254 | "id": "afa4617c.c16cc", 2255 | "type": "change", 2256 | "z": "6ce9491a.789d9", 2257 | "name": "Draw Long Island Creek", 2258 | "rules": [ 2259 | { 2260 | "t": "move", 2261 | "p": "payload", 2262 | "pt": "msg", 2263 | "to": "payload.geojson", 2264 | "tot": "msg" 2265 | }, 2266 | { 2267 | "t": "set", 2268 | "p": "payload.layer", 2269 | "pt": "msg", 2270 | "to": "LongIslandCreek", 2271 | "tot": "str" 2272 | }, 2273 | { 2274 | "t": "set", 2275 | "p": "payload.name", 2276 | "pt": "msg", 2277 | "to": "LongIslandCreek", 2278 | "tot": "str" 2279 | }, 2280 | { 2281 | "t": "set", 2282 | "p": "payload.color", 2283 | "pt": "msg", 2284 | "to": "steelblue", 2285 | "tot": "str" 2286 | }, 2287 | { 2288 | "t": "set", 2289 | "p": "payload.weight", 2290 | "pt": "msg", 2291 | "to": "3", 2292 | "tot": "num" 2293 | } 2294 | ], 2295 | "action": "", 2296 | "property": "", 2297 | "from": "", 2298 | "to": "", 2299 | "reg": false, 2300 | "x": 990, 2301 | "y": 1180, 2302 | "wires": [ 2303 | [ 2304 | "95a0817.07e77" 2305 | ] 2306 | ] 2307 | }, 2308 | { 2309 | "id": "419b97b7.d36098", 2310 | "type": "http request", 2311 | "z": "6ce9491a.789d9", 2312 | "name": "USGS Long Island Creek", 2313 | "method": "GET", 2314 | "ret": "obj", 2315 | "paytoqs": false, 2316 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02335880/navigate/UT", 2317 | "tls": "", 2318 | "persist": false, 2319 | "proxy": "", 2320 | "authType": "", 2321 | "x": 650, 2322 | "y": 1180, 2323 | "wires": [ 2324 | [ 2325 | "afa4617c.c16cc" 2326 | ] 2327 | ] 2328 | }, 2329 | { 2330 | "id": "a9c8ab1c.c15078", 2331 | "type": "change", 2332 | "z": "6ce9491a.789d9", 2333 | "name": "Quarry", 2334 | "rules": [ 2335 | { 2336 | "t": "set", 2337 | "p": "payload", 2338 | "pt": "msg", 2339 | "to": "{}", 2340 | "tot": "json" 2341 | }, 2342 | { 2343 | "t": "set", 2344 | "p": "payload.name", 2345 | "pt": "msg", 2346 | "to": "BellwoodQuarry", 2347 | "tot": "str" 2348 | }, 2349 | { 2350 | "t": "set", 2351 | "p": "payload.lat", 2352 | "pt": "msg", 2353 | "to": "33.7698857", 2354 | "tot": "str" 2355 | }, 2356 | { 2357 | "t": "set", 2358 | "p": "payload.lon", 2359 | "pt": "msg", 2360 | "to": "-84.5551718", 2361 | "tot": "str" 2362 | }, 2363 | { 2364 | "t": "set", 2365 | "p": "payload.icon", 2366 | "pt": "msg", 2367 | "to": "fa-tint", 2368 | "tot": "str" 2369 | }, 2370 | { 2371 | "t": "set", 2372 | "p": "payload.iconColor", 2373 | "pt": "msg", 2374 | "to": "blue", 2375 | "tot": "str" 2376 | } 2377 | ], 2378 | "action": "", 2379 | "property": "", 2380 | "from": "", 2381 | "to": "", 2382 | "reg": false, 2383 | "x": 930, 2384 | "y": 140, 2385 | "wires": [ 2386 | [ 2387 | "90dcbd0b.35f9d", 2388 | "95a0817.07e77" 2389 | ] 2390 | ] 2391 | }, 2392 | { 2393 | "id": "447bf88b.6c91e8", 2394 | "type": "http request", 2395 | "z": "6ce9491a.789d9", 2396 | "name": "USGS South River water basin", 2397 | "method": "GET", 2398 | "ret": "obj", 2399 | "paytoqs": false, 2400 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02203603/basin", 2401 | "tls": "", 2402 | "persist": false, 2403 | "proxy": "", 2404 | "authType": "", 2405 | "x": 670, 2406 | "y": 940, 2407 | "wires": [ 2408 | [ 2409 | "cde39a17.efd268" 2410 | ] 2411 | ] 2412 | }, 2413 | { 2414 | "id": "cde39a17.efd268", 2415 | "type": "function", 2416 | "z": "6ce9491a.789d9", 2417 | "name": "Draw Water Basin map", 2418 | "func": "// Add some simple-spec styling to this polygon area\nvar properties = { \n \"stroke\" : \"limegreen\",\n \"stroke-width\": 5,\n \"fill\": \"limegreen\",\n \"fill-opacity\": 0.4\n}\nmsg.payload.features[0].properties = properties;\n\nmsg.payload = { name: \"SouthRiverWaterBasin\",\n layer:\"SouthRiverWaterBasin\",\n geojson:msg.payload\n }; \nreturn msg;", 2419 | "outputs": 1, 2420 | "noerr": 0, 2421 | "x": 980, 2422 | "y": 940, 2423 | "wires": [ 2424 | [ 2425 | "cc660dd3.189c38", 2426 | "95a0817.07e77" 2427 | ] 2428 | ] 2429 | }, 2430 | { 2431 | "id": "cc660dd3.189c38", 2432 | "type": "debug", 2433 | "z": "6ce9491a.789d9", 2434 | "name": "", 2435 | "active": true, 2436 | "tosidebar": true, 2437 | "console": false, 2438 | "tostatus": false, 2439 | "complete": "false", 2440 | "x": 1290, 2441 | "y": 940, 2442 | "wires": [] 2443 | }, 2444 | { 2445 | "id": "ba7a869.189eb78", 2446 | "type": "ui_switch", 2447 | "z": "6ce9491a.789d9", 2448 | "name": "", 2449 | "label": "Show South River Water Basin", 2450 | "tooltip": "", 2451 | "group": "d3dd8357.94cad8", 2452 | "order": 3, 2453 | "width": 0, 2454 | "height": 0, 2455 | "passthru": true, 2456 | "decouple": "false", 2457 | "topic": "", 2458 | "style": "", 2459 | "onvalue": "true", 2460 | "onvalueType": "bool", 2461 | "onicon": "fa-tint", 2462 | "oncolor": "limegreen", 2463 | "offvalue": "false", 2464 | "offvalueType": "bool", 2465 | "officon": "fa-tint", 2466 | "offcolor": "grey", 2467 | "x": 190, 2468 | "y": 960, 2469 | "wires": [ 2470 | [ 2471 | "69fc41bc.b32a8" 2472 | ] 2473 | ] 2474 | }, 2475 | { 2476 | "id": "69fc41bc.b32a8", 2477 | "type": "switch", 2478 | "z": "6ce9491a.789d9", 2479 | "name": "", 2480 | "property": "payload", 2481 | "propertyType": "msg", 2482 | "rules": [ 2483 | { 2484 | "t": "true" 2485 | }, 2486 | { 2487 | "t": "false" 2488 | } 2489 | ], 2490 | "checkall": "true", 2491 | "repair": false, 2492 | "outputs": 2, 2493 | "x": 450, 2494 | "y": 960, 2495 | "wires": [ 2496 | [ 2497 | "447bf88b.6c91e8", 2498 | "9ac64d87.90cf28" 2499 | ], 2500 | [ 2501 | "9427d18f.373a88" 2502 | ] 2503 | ] 2504 | }, 2505 | { 2506 | "id": "9427d18f.373a88", 2507 | "type": "change", 2508 | "z": "6ce9491a.789d9", 2509 | "name": "Hide South River Water Basin", 2510 | "rules": [ 2511 | { 2512 | "t": "set", 2513 | "p": "payload", 2514 | "pt": "msg", 2515 | "to": "{\"command\":{\"hidelayer\":[\"SouthRiverWaterBasin\",\"SouthRiver\"]}}", 2516 | "tot": "json" 2517 | } 2518 | ], 2519 | "action": "", 2520 | "property": "", 2521 | "from": "", 2522 | "to": "", 2523 | "reg": false, 2524 | "x": 1010, 2525 | "y": 980, 2526 | "wires": [ 2527 | [ 2528 | "95a0817.07e77" 2529 | ] 2530 | ] 2531 | }, 2532 | { 2533 | "id": "76ad4585.e50a44", 2534 | "type": "change", 2535 | "z": "6ce9491a.789d9", 2536 | "name": "Draw South River", 2537 | "rules": [ 2538 | { 2539 | "t": "move", 2540 | "p": "payload", 2541 | "pt": "msg", 2542 | "to": "payload.geojson", 2543 | "tot": "msg" 2544 | }, 2545 | { 2546 | "t": "set", 2547 | "p": "payload.layer", 2548 | "pt": "msg", 2549 | "to": "SouthRiver", 2550 | "tot": "str" 2551 | }, 2552 | { 2553 | "t": "set", 2554 | "p": "payload.name", 2555 | "pt": "msg", 2556 | "to": "SouthRiver", 2557 | "tot": "str" 2558 | }, 2559 | { 2560 | "t": "set", 2561 | "p": "payload.color", 2562 | "pt": "msg", 2563 | "to": "steelblue", 2564 | "tot": "str" 2565 | }, 2566 | { 2567 | "t": "set", 2568 | "p": "payload.weight", 2569 | "pt": "msg", 2570 | "to": "3", 2571 | "tot": "num" 2572 | } 2573 | ], 2574 | "action": "", 2575 | "property": "", 2576 | "from": "", 2577 | "to": "", 2578 | "reg": false, 2579 | "x": 970, 2580 | "y": 900, 2581 | "wires": [ 2582 | [ 2583 | "95a0817.07e77" 2584 | ] 2585 | ] 2586 | }, 2587 | { 2588 | "id": "9ac64d87.90cf28", 2589 | "type": "http request", 2590 | "z": "6ce9491a.789d9", 2591 | "name": "USGS South River", 2592 | "method": "GET", 2593 | "ret": "obj", 2594 | "paytoqs": false, 2595 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02203603/navigate/UT", 2596 | "tls": "", 2597 | "persist": false, 2598 | "proxy": "", 2599 | "authType": "", 2600 | "x": 630, 2601 | "y": 900, 2602 | "wires": [ 2603 | [ 2604 | "76ad4585.e50a44" 2605 | ] 2606 | ] 2607 | }, 2608 | { 2609 | "id": "a1479697.3267", 2610 | "type": "http request", 2611 | "z": "6ce9491a.789d9", 2612 | "name": "USGS Camp Creek water basin", 2613 | "method": "GET", 2614 | "ret": "obj", 2615 | "paytoqs": false, 2616 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02344280/basin", 2617 | "tls": "", 2618 | "persist": false, 2619 | "proxy": "", 2620 | "authType": "", 2621 | "x": 670, 2622 | "y": 808, 2623 | "wires": [ 2624 | [ 2625 | "46a8192f.de2b5" 2626 | ] 2627 | ] 2628 | }, 2629 | { 2630 | "id": "46a8192f.de2b5", 2631 | "type": "function", 2632 | "z": "6ce9491a.789d9", 2633 | "name": "Draw Water Basin map", 2634 | "func": "// Add some simple-spec styling to this polygon area\nvar properties = { \n \"stroke\" : \"maroon\",\n \"stroke-width\": 5,\n \"fill\": \"maroon\",\n \"fill-opacity\": 0.4\n}\nmsg.payload.features[0].properties = properties;\n\nmsg.payload = { name: \"Camp2CreekWaterBasin\",\n layer:\"Camp2CreekWaterBasin\",\n geojson:msg.payload\n }; \nreturn msg;", 2635 | "outputs": 1, 2636 | "noerr": 0, 2637 | "x": 980, 2638 | "y": 808, 2639 | "wires": [ 2640 | [ 2641 | "db730192.30fff8", 2642 | "95a0817.07e77" 2643 | ] 2644 | ] 2645 | }, 2646 | { 2647 | "id": "db730192.30fff8", 2648 | "type": "debug", 2649 | "z": "6ce9491a.789d9", 2650 | "name": "", 2651 | "active": true, 2652 | "tosidebar": true, 2653 | "console": false, 2654 | "tostatus": false, 2655 | "complete": "false", 2656 | "x": 1290, 2657 | "y": 808, 2658 | "wires": [] 2659 | }, 2660 | { 2661 | "id": "eb62a172.f45208", 2662 | "type": "ui_switch", 2663 | "z": "6ce9491a.789d9", 2664 | "name": "", 2665 | "label": "Show Camp Creek Water Basin", 2666 | "tooltip": "", 2667 | "group": "d3dd8357.94cad8", 2668 | "order": 3, 2669 | "width": 0, 2670 | "height": 0, 2671 | "passthru": true, 2672 | "decouple": "false", 2673 | "topic": "", 2674 | "style": "", 2675 | "onvalue": "true", 2676 | "onvalueType": "bool", 2677 | "onicon": "fa-tint", 2678 | "oncolor": "maroon", 2679 | "offvalue": "false", 2680 | "offvalueType": "bool", 2681 | "officon": "fa-tint", 2682 | "offcolor": "grey", 2683 | "x": 190, 2684 | "y": 828, 2685 | "wires": [ 2686 | [ 2687 | "55c7af4d.0d4a4" 2688 | ] 2689 | ] 2690 | }, 2691 | { 2692 | "id": "55c7af4d.0d4a4", 2693 | "type": "switch", 2694 | "z": "6ce9491a.789d9", 2695 | "name": "", 2696 | "property": "payload", 2697 | "propertyType": "msg", 2698 | "rules": [ 2699 | { 2700 | "t": "true" 2701 | }, 2702 | { 2703 | "t": "false" 2704 | } 2705 | ], 2706 | "checkall": "true", 2707 | "repair": false, 2708 | "outputs": 2, 2709 | "x": 450, 2710 | "y": 828, 2711 | "wires": [ 2712 | [ 2713 | "a1479697.3267", 2714 | "1a87db22.46874d", 2715 | "b9f43abe.8eddc8", 2716 | "6d18f39.f470c0c" 2717 | ], 2718 | [ 2719 | "a4e8ed96.1673f8" 2720 | ] 2721 | ] 2722 | }, 2723 | { 2724 | "id": "a4e8ed96.1673f8", 2725 | "type": "change", 2726 | "z": "6ce9491a.789d9", 2727 | "name": "Hide Camp Creek Water Basin", 2728 | "rules": [ 2729 | { 2730 | "t": "set", 2731 | "p": "payload", 2732 | "pt": "msg", 2733 | "to": "{\"command\":{\"hidelayer\":[\"Camp1CreekWaterBasin\",\"Camp1Creek\",\"Camp2CreekWaterBasin\",\"Camp2Creek\"]}}", 2734 | "tot": "json" 2735 | } 2736 | ], 2737 | "action": "", 2738 | "property": "", 2739 | "from": "", 2740 | "to": "", 2741 | "reg": false, 2742 | "x": 1010, 2743 | "y": 848, 2744 | "wires": [ 2745 | [ 2746 | "95a0817.07e77" 2747 | ] 2748 | ] 2749 | }, 2750 | { 2751 | "id": "f4d1210f.850b2", 2752 | "type": "change", 2753 | "z": "6ce9491a.789d9", 2754 | "name": "Draw Camp2 Creek", 2755 | "rules": [ 2756 | { 2757 | "t": "move", 2758 | "p": "payload", 2759 | "pt": "msg", 2760 | "to": "payload.geojson", 2761 | "tot": "msg" 2762 | }, 2763 | { 2764 | "t": "set", 2765 | "p": "payload.layer", 2766 | "pt": "msg", 2767 | "to": "Camp2Creek", 2768 | "tot": "str" 2769 | }, 2770 | { 2771 | "t": "set", 2772 | "p": "payload.name", 2773 | "pt": "msg", 2774 | "to": "Camp2Creek", 2775 | "tot": "str" 2776 | }, 2777 | { 2778 | "t": "set", 2779 | "p": "payload.color", 2780 | "pt": "msg", 2781 | "to": "steelblue", 2782 | "tot": "str" 2783 | }, 2784 | { 2785 | "t": "set", 2786 | "p": "payload.weight", 2787 | "pt": "msg", 2788 | "to": "3", 2789 | "tot": "num" 2790 | } 2791 | ], 2792 | "action": "", 2793 | "property": "", 2794 | "from": "", 2795 | "to": "", 2796 | "reg": false, 2797 | "x": 970, 2798 | "y": 768, 2799 | "wires": [ 2800 | [ 2801 | "95a0817.07e77" 2802 | ] 2803 | ] 2804 | }, 2805 | { 2806 | "id": "1a87db22.46874d", 2807 | "type": "http request", 2808 | "z": "6ce9491a.789d9", 2809 | "name": "USGS Camp Creek", 2810 | "method": "GET", 2811 | "ret": "obj", 2812 | "paytoqs": false, 2813 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02344280/navigate/UT", 2814 | "tls": "", 2815 | "persist": false, 2816 | "proxy": "", 2817 | "authType": "", 2818 | "x": 630, 2819 | "y": 768, 2820 | "wires": [ 2821 | [ 2822 | "f4d1210f.850b2" 2823 | ] 2824 | ] 2825 | }, 2826 | { 2827 | "id": "b9f43abe.8eddc8", 2828 | "type": "http request", 2829 | "z": "6ce9491a.789d9", 2830 | "name": "USGS Camp1 Creek water basin", 2831 | "method": "GET", 2832 | "ret": "obj", 2833 | "paytoqs": false, 2834 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02344327/basin", 2835 | "tls": "", 2836 | "persist": false, 2837 | "proxy": "", 2838 | "authType": "", 2839 | "x": 680, 2840 | "y": 720, 2841 | "wires": [ 2842 | [ 2843 | "d463fc42.68253" 2844 | ] 2845 | ] 2846 | }, 2847 | { 2848 | "id": "d463fc42.68253", 2849 | "type": "function", 2850 | "z": "6ce9491a.789d9", 2851 | "name": "Draw Water Basin map", 2852 | "func": "// Add some simple-spec styling to this polygon area\nvar properties = { \n \"stroke\" : \"maroon\",\n \"stroke-width\": 5,\n \"fill\": \"maroon\",\n \"fill-opacity\": 0.4\n}\nmsg.payload.features[0].properties = properties;\n\nmsg.payload = { name: \"Camp1CreekWaterBasin\",\n layer:\"Camp1CreekWaterBasin\",\n geojson:msg.payload\n }; \nreturn msg;", 2853 | "outputs": 1, 2854 | "noerr": 0, 2855 | "x": 980, 2856 | "y": 720, 2857 | "wires": [ 2858 | [ 2859 | "95a0817.07e77" 2860 | ] 2861 | ] 2862 | }, 2863 | { 2864 | "id": "fbc2936b.6e195", 2865 | "type": "change", 2866 | "z": "6ce9491a.789d9", 2867 | "name": "Draw Camp1 Creek", 2868 | "rules": [ 2869 | { 2870 | "t": "move", 2871 | "p": "payload", 2872 | "pt": "msg", 2873 | "to": "payload.geojson", 2874 | "tot": "msg" 2875 | }, 2876 | { 2877 | "t": "set", 2878 | "p": "payload.layer", 2879 | "pt": "msg", 2880 | "to": "Camp1Creek", 2881 | "tot": "str" 2882 | }, 2883 | { 2884 | "t": "set", 2885 | "p": "payload.name", 2886 | "pt": "msg", 2887 | "to": "Camp1Creek", 2888 | "tot": "str" 2889 | }, 2890 | { 2891 | "t": "set", 2892 | "p": "payload.color", 2893 | "pt": "msg", 2894 | "to": "steelblue", 2895 | "tot": "str" 2896 | }, 2897 | { 2898 | "t": "set", 2899 | "p": "payload.weight", 2900 | "pt": "msg", 2901 | "to": "3", 2902 | "tot": "num" 2903 | } 2904 | ], 2905 | "action": "", 2906 | "property": "", 2907 | "from": "", 2908 | "to": "", 2909 | "reg": false, 2910 | "x": 970, 2911 | "y": 680, 2912 | "wires": [ 2913 | [ 2914 | "95a0817.07e77" 2915 | ] 2916 | ] 2917 | }, 2918 | { 2919 | "id": "6d18f39.f470c0c", 2920 | "type": "http request", 2921 | "z": "6ce9491a.789d9", 2922 | "name": "USGS Camp1 Creek", 2923 | "method": "GET", 2924 | "ret": "obj", 2925 | "paytoqs": false, 2926 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02344327/navigate/UT", 2927 | "tls": "", 2928 | "persist": false, 2929 | "proxy": "", 2930 | "authType": "", 2931 | "x": 640, 2932 | "y": 680, 2933 | "wires": [ 2934 | [ 2935 | "fbc2936b.6e195" 2936 | ] 2937 | ] 2938 | }, 2939 | { 2940 | "id": "e2aaecf4.ba1d4", 2941 | "type": "http request", 2942 | "z": "6ce9491a.789d9", 2943 | "name": "USGS Flint River water basin", 2944 | "method": "GET", 2945 | "ret": "obj", 2946 | "paytoqs": false, 2947 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02344350/basin", 2948 | "tls": "", 2949 | "persist": false, 2950 | "proxy": "", 2951 | "authType": "", 2952 | "x": 660, 2953 | "y": 600, 2954 | "wires": [ 2955 | [ 2956 | "9d511e34.a57b08" 2957 | ] 2958 | ] 2959 | }, 2960 | { 2961 | "id": "9d511e34.a57b08", 2962 | "type": "function", 2963 | "z": "6ce9491a.789d9", 2964 | "name": "Draw Water Basin map", 2965 | "func": "// Add some simple-spec styling to this polygon area\nvar properties = { \n \"stroke\" : \"peru\",\n \"stroke-width\": 5,\n \"fill\": \"peru\",\n \"fill-opacity\": 0.4\n}\nmsg.payload.features[0].properties = properties;\n\nmsg.payload = { name: \"FlintRiverWaterBasin\",\n layer:\"FlintRiverWaterBasin\",\n geojson:msg.payload\n }; \nreturn msg;", 2966 | "outputs": 1, 2967 | "noerr": 0, 2968 | "x": 980, 2969 | "y": 600, 2970 | "wires": [ 2971 | [ 2972 | "455a161b.5d68a", 2973 | "95a0817.07e77" 2974 | ] 2975 | ] 2976 | }, 2977 | { 2978 | "id": "455a161b.5d68a", 2979 | "type": "debug", 2980 | "z": "6ce9491a.789d9", 2981 | "name": "", 2982 | "active": true, 2983 | "tosidebar": true, 2984 | "console": false, 2985 | "tostatus": false, 2986 | "complete": "false", 2987 | "x": 1290, 2988 | "y": 600, 2989 | "wires": [] 2990 | }, 2991 | { 2992 | "id": "11d6b94.bc866c7", 2993 | "type": "ui_switch", 2994 | "z": "6ce9491a.789d9", 2995 | "name": "", 2996 | "label": "Show Flint River Water Basin", 2997 | "tooltip": "", 2998 | "group": "d3dd8357.94cad8", 2999 | "order": 3, 3000 | "width": 0, 3001 | "height": 0, 3002 | "passthru": true, 3003 | "decouple": "false", 3004 | "topic": "", 3005 | "style": "", 3006 | "onvalue": "true", 3007 | "onvalueType": "bool", 3008 | "onicon": "fa-tint", 3009 | "oncolor": "peru", 3010 | "offvalue": "false", 3011 | "offvalueType": "bool", 3012 | "officon": "fa-tint", 3013 | "offcolor": "grey", 3014 | "x": 180, 3015 | "y": 620, 3016 | "wires": [ 3017 | [ 3018 | "b1003e18.3e7fd8" 3019 | ] 3020 | ] 3021 | }, 3022 | { 3023 | "id": "b1003e18.3e7fd8", 3024 | "type": "switch", 3025 | "z": "6ce9491a.789d9", 3026 | "name": "", 3027 | "property": "payload", 3028 | "propertyType": "msg", 3029 | "rules": [ 3030 | { 3031 | "t": "true" 3032 | }, 3033 | { 3034 | "t": "false" 3035 | } 3036 | ], 3037 | "checkall": "true", 3038 | "repair": false, 3039 | "outputs": 2, 3040 | "x": 450, 3041 | "y": 620, 3042 | "wires": [ 3043 | [ 3044 | "e2aaecf4.ba1d4", 3045 | "b4f778b3.1508e" 3046 | ], 3047 | [ 3048 | "8af1911a.0e0a58" 3049 | ] 3050 | ] 3051 | }, 3052 | { 3053 | "id": "8af1911a.0e0a58", 3054 | "type": "change", 3055 | "z": "6ce9491a.789d9", 3056 | "name": "Hide Flint River Water Basin", 3057 | "rules": [ 3058 | { 3059 | "t": "set", 3060 | "p": "payload", 3061 | "pt": "msg", 3062 | "to": "{\"command\":{\"hidelayer\":[\"FlintRiverWaterBasin\",\"FlintRiver\"]}}", 3063 | "tot": "json" 3064 | } 3065 | ], 3066 | "action": "", 3067 | "property": "", 3068 | "from": "", 3069 | "to": "", 3070 | "reg": false, 3071 | "x": 1000, 3072 | "y": 640, 3073 | "wires": [ 3074 | [ 3075 | "95a0817.07e77" 3076 | ] 3077 | ] 3078 | }, 3079 | { 3080 | "id": "ce95b6e3.a20678", 3081 | "type": "change", 3082 | "z": "6ce9491a.789d9", 3083 | "name": "Draw Flint River", 3084 | "rules": [ 3085 | { 3086 | "t": "move", 3087 | "p": "payload", 3088 | "pt": "msg", 3089 | "to": "payload.geojson", 3090 | "tot": "msg" 3091 | }, 3092 | { 3093 | "t": "set", 3094 | "p": "payload.layer", 3095 | "pt": "msg", 3096 | "to": "FlintRiver", 3097 | "tot": "str" 3098 | }, 3099 | { 3100 | "t": "set", 3101 | "p": "payload.name", 3102 | "pt": "msg", 3103 | "to": "FlintRiver", 3104 | "tot": "str" 3105 | }, 3106 | { 3107 | "t": "set", 3108 | "p": "payload.color", 3109 | "pt": "msg", 3110 | "to": "steelblue", 3111 | "tot": "str" 3112 | }, 3113 | { 3114 | "t": "set", 3115 | "p": "payload.weight", 3116 | "pt": "msg", 3117 | "to": "3", 3118 | "tot": "num" 3119 | } 3120 | ], 3121 | "action": "", 3122 | "property": "", 3123 | "from": "", 3124 | "to": "", 3125 | "reg": false, 3126 | "x": 960, 3127 | "y": 560, 3128 | "wires": [ 3129 | [ 3130 | "95a0817.07e77" 3131 | ] 3132 | ] 3133 | }, 3134 | { 3135 | "id": "b4f778b3.1508e", 3136 | "type": "http request", 3137 | "z": "6ce9491a.789d9", 3138 | "name": "USGS Flint River", 3139 | "method": "GET", 3140 | "ret": "obj", 3141 | "paytoqs": false, 3142 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02344350/navigate/UT", 3143 | "tls": "", 3144 | "persist": false, 3145 | "proxy": "", 3146 | "authType": "", 3147 | "x": 630, 3148 | "y": 560, 3149 | "wires": [ 3150 | [ 3151 | "ce95b6e3.a20678" 3152 | ] 3153 | ] 3154 | }, 3155 | { 3156 | "id": "fa0eeb2d.0d1d1", 3157 | "type": "http request", 3158 | "z": "6ce9491a.789d9", 3159 | "name": "", 3160 | "method": "GET", 3161 | "ret": "obj", 3162 | "paytoqs": false, 3163 | "url": "https://streamstats.usgs.gov/streamstatsservices/watershed.geojson?rcode=GA&xlocation=-84.5508762&ylocation=33.8543487&crs=4326&includeparameters=false&includeflowtypes=false&includefeatures=true&simplify=true", 3164 | "tls": "", 3165 | "persist": false, 3166 | "proxy": "", 3167 | "authType": "", 3168 | "x": 670, 3169 | "y": 2460, 3170 | "wires": [ 3171 | [ 3172 | "b938a161.62b038", 3173 | "c24f85ca.87592" 3174 | ] 3175 | ] 3176 | }, 3177 | { 3178 | "id": "bce0f2ab.9a5ae", 3179 | "type": "inject", 3180 | "z": "6ce9491a.789d9", 3181 | "name": "StreamStat test", 3182 | "topic": "", 3183 | "payload": "", 3184 | "payloadType": "date", 3185 | "repeat": "", 3186 | "crontab": "", 3187 | "once": false, 3188 | "onceDelay": 0.1, 3189 | "x": 480, 3190 | "y": 2460, 3191 | "wires": [ 3192 | [ 3193 | "fa0eeb2d.0d1d1" 3194 | ] 3195 | ] 3196 | }, 3197 | { 3198 | "id": "c24f85ca.87592", 3199 | "type": "debug", 3200 | "z": "6ce9491a.789d9", 3201 | "name": "", 3202 | "active": true, 3203 | "tosidebar": true, 3204 | "console": false, 3205 | "tostatus": false, 3206 | "complete": "false", 3207 | "x": 1010, 3208 | "y": 2500, 3209 | "wires": [] 3210 | }, 3211 | { 3212 | "id": "b938a161.62b038", 3213 | "type": "function", 3214 | "z": "6ce9491a.789d9", 3215 | "name": "", 3216 | "func": "// Add some simple-spec styling to this polygon area\nvar properties = { \n \"stroke\" : \"orange\",\n \"stroke-width\": 5,\n \"fill\": \"orange\",\n \"fill-opacity\": 0.4\n}\nmsg.payload.featurecollection[1].feature.features[0].properties = properties;\ndelete msg.payload.featurecollection[1].feature.crs\ndelete msg.payload.featurecollection[1].feature.features[0].bbox\n\nmsg.payload = { name: \"SmyrnaWaterBasin\",\n layer:\"SmyrnaWaterBasin\",\n geojson:msg.payload.featurecollection[1].feature\n };\n \ndelete msg.payload.geojson.features[0].geometry.coordinates[1];\ndelete msg.payload.geojson.features[0].geometry.coordinates[2];\ndelete msg.payload.geojson.features[0].geometry.coordinates[3]; \ndelete msg.payload.geojson.features[0].geometry.coordinates[4]; \ndelete msg.payload.geojson.features[0].geometry.coordinates[5]; \nreturn msg;", 3217 | "outputs": 1, 3218 | "noerr": 0, 3219 | "x": 990, 3220 | "y": 2460, 3221 | "wires": [ 3222 | [ 3223 | "f9140be1.e032c8", 3224 | "95a0817.07e77" 3225 | ] 3226 | ] 3227 | }, 3228 | { 3229 | "id": "f9140be1.e032c8", 3230 | "type": "debug", 3231 | "z": "6ce9491a.789d9", 3232 | "name": "", 3233 | "active": true, 3234 | "tosidebar": true, 3235 | "console": false, 3236 | "tostatus": false, 3237 | "complete": "false", 3238 | "x": 1210, 3239 | "y": 2460, 3240 | "wires": [] 3241 | }, 3242 | { 3243 | "id": "7395ac0e.70f6fc", 3244 | "type": "http request", 3245 | "z": "6ce9491a.789d9", 3246 | "name": "USGS Peachtree Creek water basin", 3247 | "method": "GET", 3248 | "ret": "obj", 3249 | "paytoqs": false, 3250 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02336300/basin", 3251 | "tls": "", 3252 | "persist": false, 3253 | "proxy": "", 3254 | "authType": "", 3255 | "x": 690, 3256 | "y": 480, 3257 | "wires": [ 3258 | [ 3259 | "e65e8787.e192c8" 3260 | ] 3261 | ] 3262 | }, 3263 | { 3264 | "id": "e65e8787.e192c8", 3265 | "type": "function", 3266 | "z": "6ce9491a.789d9", 3267 | "name": "Draw Water Basin map", 3268 | "func": "// Add some simple-spec styling to this polygon area\nvar properties = { \n \"stroke\" : \"darkviolet\",\n \"stroke-width\": 5,\n \"fill\": \"darkviolet\",\n \"fill-opacity\": 0.4\n};\nmsg.payload.features[0].properties = properties;\n\nmsg.payload = { name: \"PeachtreeCreekWaterBasin\",\n layer:\"PeachtreeCreekWaterBasin\",\n geojson:msg.payload\n }; \nreturn msg;", 3269 | "outputs": 1, 3270 | "noerr": 0, 3271 | "x": 980, 3272 | "y": 480, 3273 | "wires": [ 3274 | [ 3275 | "78bffc78.a5c0ec", 3276 | "95a0817.07e77" 3277 | ] 3278 | ] 3279 | }, 3280 | { 3281 | "id": "78bffc78.a5c0ec", 3282 | "type": "debug", 3283 | "z": "6ce9491a.789d9", 3284 | "name": "", 3285 | "active": true, 3286 | "tosidebar": true, 3287 | "console": false, 3288 | "tostatus": false, 3289 | "complete": "false", 3290 | "x": 1290, 3291 | "y": 480, 3292 | "wires": [] 3293 | }, 3294 | { 3295 | "id": "cda05117.70ec08", 3296 | "type": "ui_switch", 3297 | "z": "6ce9491a.789d9", 3298 | "name": "", 3299 | "label": "Show Peachtree Creek Water Basin", 3300 | "tooltip": "", 3301 | "group": "d3dd8357.94cad8", 3302 | "order": 3, 3303 | "width": 0, 3304 | "height": 0, 3305 | "passthru": true, 3306 | "decouple": "false", 3307 | "topic": "", 3308 | "style": "", 3309 | "onvalue": "true", 3310 | "onvalueType": "bool", 3311 | "onicon": "fa-tint", 3312 | "oncolor": "darkviolet", 3313 | "offvalue": "false", 3314 | "offvalueType": "bool", 3315 | "officon": "fa-tint", 3316 | "offcolor": "grey", 3317 | "x": 210, 3318 | "y": 500, 3319 | "wires": [ 3320 | [ 3321 | "9b649bcf.db797" 3322 | ] 3323 | ] 3324 | }, 3325 | { 3326 | "id": "9b649bcf.db797", 3327 | "type": "switch", 3328 | "z": "6ce9491a.789d9", 3329 | "name": "", 3330 | "property": "payload", 3331 | "propertyType": "msg", 3332 | "rules": [ 3333 | { 3334 | "t": "true" 3335 | }, 3336 | { 3337 | "t": "false" 3338 | } 3339 | ], 3340 | "checkall": "true", 3341 | "repair": false, 3342 | "outputs": 2, 3343 | "x": 450, 3344 | "y": 500, 3345 | "wires": [ 3346 | [ 3347 | "7395ac0e.70f6fc", 3348 | "d9fcdae5.d2c0c8" 3349 | ], 3350 | [ 3351 | "4aa6ae5b.1e7578" 3352 | ] 3353 | ] 3354 | }, 3355 | { 3356 | "id": "4aa6ae5b.1e7578", 3357 | "type": "change", 3358 | "z": "6ce9491a.789d9", 3359 | "name": "Hide Peachtree Creek Water Basin", 3360 | "rules": [ 3361 | { 3362 | "t": "set", 3363 | "p": "payload", 3364 | "pt": "msg", 3365 | "to": "{\"command\":{\"hidelayer\":[\"PeachtreeCreekWaterBasin\",\"PeachtreeCreek\"]}}", 3366 | "tot": "json" 3367 | } 3368 | ], 3369 | "action": "", 3370 | "property": "", 3371 | "from": "", 3372 | "to": "", 3373 | "reg": false, 3374 | "x": 1020, 3375 | "y": 520, 3376 | "wires": [ 3377 | [ 3378 | "95a0817.07e77" 3379 | ] 3380 | ] 3381 | }, 3382 | { 3383 | "id": "b5c3e327.703b7", 3384 | "type": "change", 3385 | "z": "6ce9491a.789d9", 3386 | "name": "Draw Peachtree Creek", 3387 | "rules": [ 3388 | { 3389 | "t": "move", 3390 | "p": "payload", 3391 | "pt": "msg", 3392 | "to": "payload.geojson", 3393 | "tot": "msg" 3394 | }, 3395 | { 3396 | "t": "set", 3397 | "p": "payload.layer", 3398 | "pt": "msg", 3399 | "to": "PeachtreeCreek", 3400 | "tot": "str" 3401 | }, 3402 | { 3403 | "t": "set", 3404 | "p": "payload.name", 3405 | "pt": "msg", 3406 | "to": "PeachtreeCreek", 3407 | "tot": "str" 3408 | }, 3409 | { 3410 | "t": "set", 3411 | "p": "payload.color", 3412 | "pt": "msg", 3413 | "to": "steelblue", 3414 | "tot": "str" 3415 | }, 3416 | { 3417 | "t": "set", 3418 | "p": "payload.weight", 3419 | "pt": "msg", 3420 | "to": "3", 3421 | "tot": "num" 3422 | } 3423 | ], 3424 | "action": "", 3425 | "property": "", 3426 | "from": "", 3427 | "to": "", 3428 | "reg": false, 3429 | "x": 980, 3430 | "y": 440, 3431 | "wires": [ 3432 | [ 3433 | "95a0817.07e77" 3434 | ] 3435 | ] 3436 | }, 3437 | { 3438 | "id": "d9fcdae5.d2c0c8", 3439 | "type": "http request", 3440 | "z": "6ce9491a.789d9", 3441 | "name": "USGS Peachtree Creek", 3442 | "method": "GET", 3443 | "ret": "obj", 3444 | "paytoqs": false, 3445 | "url": "https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-02336300/navigate/UT", 3446 | "tls": "", 3447 | "persist": false, 3448 | "proxy": "", 3449 | "authType": "", 3450 | "x": 650, 3451 | "y": 440, 3452 | "wires": [ 3453 | [ 3454 | "b5c3e327.703b7" 3455 | ] 3456 | ] 3457 | }, 3458 | { 3459 | "id": "95a0817.07e77", 3460 | "type": "ui_worldmap", 3461 | "z": "6ce9491a.789d9", 3462 | "group": "cbfa935f.551c9", 3463 | "order": 13, 3464 | "width": "12", 3465 | "height": "15", 3466 | "name": "", 3467 | "lat": "33.748550", 3468 | "lon": "-84.391502", 3469 | "zoom": "11", 3470 | "layer": "OSM", 3471 | "cluster": "", 3472 | "maxage": "", 3473 | "usermenu": "hide", 3474 | "layers": "show", 3475 | "panit": "false", 3476 | "panlock": "false", 3477 | "zoomlock": "false", 3478 | "hiderightclick": "true", 3479 | "coords": "none", 3480 | "showgrid": "false", 3481 | "path": "/gawatermap", 3482 | "x": 1290, 3483 | "y": 440, 3484 | "wires": [] 3485 | }, 3486 | { 3487 | "id": "597472df.75efd4", 3488 | "type": "comment", 3489 | "z": "6ce9491a.789d9", 3490 | "name": "Initialize the map legend to off", 3491 | "info": "", 3492 | "x": 140, 3493 | "y": 40, 3494 | "wires": [] 3495 | }, 3496 | { 3497 | "id": "d3dd8357.94cad8", 3498 | "type": "ui_group", 3499 | "z": "", 3500 | "name": "Show Maps", 3501 | "tab": "4fae9226.9fa9cc", 3502 | "order": 1, 3503 | "disp": true, 3504 | "width": "6", 3505 | "collapse": false 3506 | }, 3507 | { 3508 | "id": "d1237508.f6f1f8", 3509 | "type": "ui_group", 3510 | "z": "", 3511 | "name": "Contaminants", 3512 | "tab": "4fae9226.9fa9cc", 3513 | "order": 3, 3514 | "disp": true, 3515 | "width": "11", 3516 | "collapse": false 3517 | }, 3518 | { 3519 | "id": "cbfa935f.551c9", 3520 | "type": "ui_group", 3521 | "z": "6ce9491a.789d9", 3522 | "name": "Atlanta and Water Basins", 3523 | "tab": "4fae9226.9fa9cc", 3524 | "order": 2, 3525 | "disp": true, 3526 | "width": "12", 3527 | "collapse": false 3528 | }, 3529 | { 3530 | "id": "4fae9226.9fa9cc", 3531 | "type": "ui_tab", 3532 | "z": "6ce9491a.789d9", 3533 | "name": "Atlanta Water Basins", 3534 | "icon": "fa-tint", 3535 | "order": 10, 3536 | "disabled": false, 3537 | "hidden": false 3538 | } 3539 | ] 3540 | --------------------------------------------------------------------------------