js-shapefile-to-geojson
js-shapefile-to-geojson copied to clipboard
no hardcoded paths please
My files or not in the root of the web-directory but in src/shapefile. In order to get it working I had to change the hardcoded paths in two locations:
- shapefile.js, line 12: var path = (o.jsRoot || "") + "shapefile.js"
- dbf.js, line 4: var worker = new Worker("dbf.js")
Thanks for this great tool! Alex
thanks for reporting, I agree that should be fixed, care to propose a solution with PR?
sorry, I'm a programming noob and I just barely managed to solve this issue by hardcoding my own paths...
2013/10/24 Marc Harter [email protected]
thanks for reporting, I agree that should be fixed, care to propose a solution with PR?
— Reply to this email directly or view it on GitHubhttps://github.com/wavded/js-shapefile-to-geojson/issues/13#issuecomment-26996309 .
I ran into this same issue. Would be happy to propose a PR, but it seems the owner of this repo is no longer following up on PRs/issues. Do you need some help maintaining @wavded? Would you be willing to add others as maintainers?
Feel free to submit a PR @kmanzana and I'll take a look. I would be willing to add maintainers.