I am uploading .zip file which has shapefile in it, I am converting it into a buffer and the moment I pass the buffer in shp(buffer) I get this error Error: nodebuffer is not supported by this browser. I am using gatsby v3 with react and react dom 17.0.1 respectively. I tried already only to apply the .shp file and use shp.parseShp('.shpfile') and it works but I dont get to pass any feature.properties like this. Do you have any suggestion why this could happen.
I am uploading .zip file which has shapefile in it, I am converting it into a buffer and the moment I pass the buffer in shp(buffer) I get this error Error: nodebuffer is not supported by this browser. I am using gatsby v3 with react and react dom 17.0.1 respectively. I tried already only to apply the .shp file and use shp.parseShp('.shpfile') and it works but I dont get to pass any feature.properties like this. Do you have any suggestion why this could happen.