vega / vl-convert

Utilities for converting Vega-Lite specs from the command line and Python
BSD 3-Clause "New" or "Revised" License
96 stars 12 forks source link

Add user agent when fetching remote images #64

Closed jonmmease closed 1 year ago

jonmmease commented 1 year ago

Closes https://github.com/vega/vl-convert/issues/63, the issue is was that tile.openstreetmap.org requires a user agent.

This PR also adds logging when http requests fail. Logging can be enabled by setting the RUST_LOG environment variable to vl_convert.