Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 544b4a7 commit 755ae17Copy full SHA for 755ae17
src/Parser/ShapefileParser.js
@@ -67,12 +67,9 @@ export default {
67
68
// If a zip is present, don't read anything else
69
if (data.zip) {
70
- result = shp.parseZip(data.zip);
+ result = shp(data.zip);
71
} else if (data.shp && data.shx && data.dbf) {
72
- result = Promise.all([
73
- shp.parseShp(data.shp, data.prj),
74
- shp.parseDbf(data.dbf),
75
- ]).then(shp.combine);
+ result = shp(data);
76
}
77
78
options.in = options.in || {};
0 commit comments