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
Appears to specifically be an issue with esri2geo, but reporting here as unsure of exact cause.
info: all requests settled
info: creating Coastal.Coastline_line json
info: Creating Esri JSON
info: Creating GeoJSON
info: TypeError: Cannot read property 'attributes' of undefined
at toGeoJSON (/projects/AGStoShapefile/node_modules/esri2geo/esri2geo.js:18:24)
at /projects/AGStoShapefile/AGStoSHP.js:140:3
at _fulfilled (/projects/AGStoShapefile/node_modules/q/q.js:854:54)
at self.promiseDispatch.done (/projects/AGStoShapefile/node_modules/q/q.js:883:30)
at Promise.promise.promiseDispatch (/projects/AGStoShapefile/node_modules/q/q.js:816:13)
at /projects/AGStoShapefile/node_modules/q/q.js:624:44
at runSingle (/projects/AGStoShapefile/node_modules/q/q.js:137:13)
at flush (/projects/AGStoShapefile/node_modules/q/q.js:125:13)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)
Was able to finish the job successfully after editing node_modules/esri2geo/esri2geo.js to skip processing in the toGeoJSON loop where the feature from the array was falsy.
Thanks for documenting the error. I'm not sure what exactly is going wrong, but you're right that it's trying to access an attribute on a feature that is either null or undefined. When you look at your final feature count after the change to esri2geo, do you still get the total 31,849?
Appears to specifically be an issue with esri2geo, but reporting here as unsure of exact cause.
Was able to finish the job successfully after editing
node_modules/esri2geo/esri2geo.js
to skip processing in thetoGeoJSON
loop where the feature from the array was falsy.services.txt:
The text was updated successfully, but these errors were encountered: