-
Notifications
You must be signed in to change notification settings - Fork 165
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
Error: invalid index file #590
Comments
I'm sorry about this change and not documenting it well. I've added details now at https://github.com/mapnik/node-mapnik/blob/master/CHANGELOG.md#3413
That is the intended upgrade process/workaround. In other words, when you upgrade to node-mapnik >= 3.4.13 then you must regenerate .index files. The benefit is then you can use the experimental |
It appears that somewhere in the mapnik-3.4 series the index file format has changed. We're unable to use
.index
es that were created withshapeindex-0.3.0
using mapnik-3.4.16 (mapnik/node-mapnik-sample-code#6 shows it happening in 3.4.15 as well). We were previously, but I'm not sure how far back at the moment.We managed to solve it by using the
shapeindex
alternative that now ships with node-mapnik to reindex:node_modules/.bin/mapnik-shapeindex.js
The text was updated successfully, but these errors were encountered: