USGS-WiM / SSNationalDemo

Demo of rapid delineation from NLDI
Other
0 stars 0 forks source link

Call Trace fire hydrology service and display in app #16

Open kjacobsen16 opened 4 years ago

kjacobsen16 commented 4 years ago

Here's an example output (what I'm getting from a locally served endpoint). It contains both "Point" and "LineString" endpoints for the stream gages and flow lines, all of which we'll want to display in the app.

Once we put it on the server, we'll be sending a fire perimeter based on a map click to the endpoint and getting this object back. The map clicks are more-or-less already set up, so we'll just have to send the results from that map query to that endpoint when it's ready

kjacobsen16 commented 4 years ago

@amedenblik The service for this is sort of working at http://firehydrology.streamstats.usgs.gov:8000/trace. I've been getting inconsistent results, so I'll have to dig in a bit and see if that's a problem with the python script, navigation services, or nldi services

kjacobsen16 commented 4 years ago

testPerim.zip @amedenblik here's a test perimeter to send to trace. You should be able to get it from the results object in the onMouseClick function in the map component (again, sorry it's messy!)