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

Throw error in load_map if static "file" attribute is used but file does not exist #1439

Closed
springmeyer opened this issue Aug 23, 2012 · 0 comments
Milestone

Comments

@springmeyer
Copy link
Member

..and if the file does not contain [] indicating runtime evaluation of the PathExpression.

The reason this is needed is that otherwise Mapnik prints N warnings of the file not being found for N features. Ensuring files exist at XML load is reasonable and a good way to mitigate peoples logfiles from bloating to the same size as their data the second that a map is rendered which is missing symbol files just due to a typo or permissions error.

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

No branches or pull requests

1 participant