You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The URL for the default font has changed - from code: https://github.com/google/fonts/blob/master/ofl/cinzel/Cinzel-Regular.ttf?raw=True to https://github.com/google/fonts/blob/master/ofl/cinzel/static/Cinzel-Regular.ttf?raw=true
You can get round this problem by specifying the font as in your "Plot with custom fonts and elevation colors!" example
The SRTM.py data is failing.
Test code:
from ridge_map import FontManager, RidgeMap
polygon = (-8.657227,49.761777,2.241211,59.625348)
font = FontManager('https://github.com/google/fonts/blob/master/ofl/uncialantiqua/UncialAntiqua-Regular.ttf?raw=True')
rm = RidgeMap(polygon, font=font.prop)
values = rm.get_elevation_data(num_lines=220, elevation_pts=550)
.... and we cascade down to Connection to http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/Eurasia/N49W007.hgt.zip failed (timeout) - in practice, this is because the URL is now https://dds.cr.usgs.gov/srtm/version2_1/SRTM3/Eurasia/N49W007.hgt.zip and urllib3's not smart enough to follow the 301 code
The text was updated successfully, but these errors were encountered:
The first one is now fixed (#25), and the second one sounds like it is best fixed at the SRTM.py level? This is definitely a dodge on my part -- I'll leave this open in case anyone figures out a nice way to fix it here.
code: https://github.com/google/fonts/blob/master/ofl/cinzel/Cinzel-Regular.ttf?raw=True
tohttps://github.com/google/fonts/blob/master/ofl/cinzel/static/Cinzel-Regular.ttf?raw=true
You can get round this problem by specifying the font as in your "Plot with custom fonts and elevation colors!" example
SRTM.py
data is failing.Test code:
.... and we cascade down to
Connection to http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/Eurasia/N49W007.hgt.zip failed (timeout)
- in practice, this is because the URL is nowhttps://dds.cr.usgs.gov/srtm/version2_1/SRTM3/Eurasia/N49W007.hgt.zip
andurllib3
's not smart enough to follow the301
codeThe text was updated successfully, but these errors were encountered: