kvos / CoastSat

Global shoreline mapping tool from satellite imagery
http://coastsat.space
GNU General Public License v3.0
690 stars 251 forks source link

Issues in lagoon-area #544

Open evecchi opened 2 weeks ago

evecchi commented 2 weeks ago

Hi kvos,

I'm using your tool to map a complex area in Northeastern Italy, where there is a lagoon system located behind a flat beach. The algorithm alternates between capturing the boundaries of the lagoon and the sea, which makes it challenging to obtain an accurate shoreline.

I have attached a figure of the area for your reference. If you have any suggestions to improve this process, I would greatly appreciate your help! issue2

Thank you,

Enrica

kvos commented 1 week ago

hi @evecchi , have you used a reference shoreline? you can play with the max_distance threshold to try and restrict the detection from the lagoon. This may not work if lagoon is very close but try it.

If you get two detections, one for the lagoon and one for the shoreline, that is fine as you can the address the double intersections in compute_intersections_QC(). Read what the parameters do, there's a way to get it to always pick the waterline that is further offshore when there are multiple intersections along a transect.

evecchi commented 1 week ago

Unfortunately I'm only getting one detection! I’ll consider adjusting the threshold in certain areas to see if that helps.

Thanks for the suggestion @kvos !

kvos commented 1 week ago

can you post a screenshot?