You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If empty_shapefile.shp is a shapefile with an existing polygon layer, I think the main issue is that you're not closing the dataset so the changes are not getting flushed when the process exits. Does adding shapefile.close() at the end fix the problem?
In addition to @brandonreavis answer, i would like to add that you have misspelling errors when accesing your shapefile. const shapefile = gdal.open('empty_shapefile.shp', 'r+') const shapefileLayers = shapefile.layers
Hi, when polygonize function finished it updates the empty shapefile in the same directory but doesnt add any features to the file.
Any assistance is muchly apprieicated, documentation is pretty lacking..
The text was updated successfully, but these errors were encountered: