- 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
code: https://github.com/google/fonts/blob/master/ofl/cinzel/Cinzel-Regular.ttf?raw=Truetohttps://github.com/google/fonts/blob/master/ofl/cinzel/static/Cinzel-Regular.ttf?raw=trueYou can get round this problem by specifying the font as in your "Plot with custom fonts and elevation colors!" example
SRTM.pydata 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.zipandurllib3's not smart enough to follow the301code