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
/mypath/node_modules/geojson-extent/node_modules/geojson-coords/index.js:10
normalized.features.forEach(function(feature) {
^
TypeError: Cannot read property 'features' of null
at module.exports (/mypath/node_modules/geojson-extent/node_modules/geojson-coords/index.js:10:15)
at getExtent (/mypath/node_modules/geojson-extent/index.js:25:18)
at Object.<anonymous> (/mypath/node_modules/geojson-extent/index.js:16:26)
at walker (/mypath/node_modules/geojson-extent/node_modules/traverse/index.js:190:22)
at /mypath/node_modules/geojson-extent/node_modules/traverse/index.js:208:29
at Array.forEach (native)
at forEach (/mypath/node_modules/geojson-extent/node_modules/traverse/index.js:298:31)
at walker (/mypath/node_modules/geojson-extent/node_modules/traverse/index.js:203:13)
at /mypath/node_modules/geojson-extent/node_modules/traverse/index.js:208:29
at Array.forEach (native)
Or am I doing something wrong?
The text was updated successfully, but these errors were encountered:
This is a bug in geojson-extent; it's using the "type" property to guess what things are bbox'able, and since there's type in the properties object, it's trying to find its bbox. I'll need to do a less-lazy traversal of the object.
My test data:
and here is the output error:
Or am I doing something wrong?
The text was updated successfully, but these errors were encountered: