digitalfabrik / opendrift-leeway-webgui

OpenDrift Leeway simulations for Search and Rescue operations (experimental!)
https://leeway.tuerantuer.org/
Apache License 2.0
12 stars 3 forks source link

Add map to input page #7

Open julled opened 1 year ago

julled commented 1 year ago

Map allows visualization of the input data ( specially the position).

Map should also allow setting a position by mouse.

booo commented 1 year ago

Hacked together a little map view with the possiblity to add the lat/lon by clicking.

Screenshot 2022-12-05 at 22-12-19 Leeway Simulation

It would be nice if the simulation would return a GeoJSON Feature Collection with the results for presentation. Unfortunately I could only find a ascii representation :)

booo commented 1 year ago

The diff: https://github.com/digitalfabrik/leeway/compare/main...booo:leeway:main

svenseeberg commented 1 year ago

First, thanks for your work. I thought about this feature for some time. I think we should not include a map into this tool for a couple of reasons:

julled commented 1 year ago

Couldnt we make it optional and in the default case disabled?

I think there are usecases where it is useful.

Land crews are not limited by bandwidth.

also a map could be used by the user to see wether the input is plausible before starting up the simulation.

svenseeberg commented 1 year ago

Couldnt we make it optional and in the default case disabled?

Agreed. If it is opt in, then yes.