treee111 / wahooMapsCreator

Create maps for Wahoo device based on latest OSM maps
247 stars 25 forks source link

Contour for Portugal is not generated correctly #252

Open Mrpanquecas opened 1 month ago

Mrpanquecas commented 1 month ago

Expected Behavior

Contour lines should correctly be rendered for Portugal

Current Behavior

Only certain areas are correctly generated and they seem to abruptly stop, using default command without srtm1 data. Images use different zoom but no contour lines at any level

image

and others are not:

photo_5801197080029545163_y

Steps to Reproduce the Issue

  1. Pull maps with contour for Portugal
  2. Render map in cruiser with theme compatible with contour lines

Context

Log Output / Stack Trace

Nothing of importance in logs, everything runs successfully
Mrpanquecas commented 1 month ago

After further investigation it seems the source "view1" does not contain data but throws no error, when using a different source (tested with view3) it worked fine

treee111 commented 1 month ago

Hi @Mrpanquecas, thanks for your issue.

Have you tested the tool with argument -srtm1? I'm curiouf is this brings any change.

Could you please paste the code snippet of function generate_elevation that brought the results you are happy with. Maybe it might be an option to give the user a argument for passing the elevation source to self-contol this:

elevation_source = '--source=view1,view3,srtm3'