Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Change method for creating filepath to check map data age #267

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

hdevine825
Copy link

This PR…

  • Resolves an issue where a recent map data file would be downloaded again if the country name includes a slash.

Considerations and implementations

Used the existing function build_osm_pbf_filepath to create the file path to check against instead of the existing method that resulted in checking in a subfolder when a slash was included.

How to test

  1. Run with a -co value that includes a slash like us/delaware
  2. After download rerun with the same value and the file won't be downloaded again

Pull Request Checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant