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
ex =isnothing(bb) ?nothing: Extents.Extent(X=(bb[1], bb[3]), Y=(bb[2], bb[4]))
return ex
end
shows that we deliberately return nothing if there is no precomputed extent. But the promise of GI.extent was (to my understanding) that it falls back to actually calculating the extent if it has to.
So should we edit this in the GI.extent definition?
The text was updated successfully, but these errors were encountered:
That code is just wrong now, it's from before we calculated. It should define Extents.extent to return an extent or nothing and not mess with GIs auto extent
See this GeoJSON file, try to get the extents of each geometry. It ends up being a vector of nothings.
GeoJSON.jl/src/geointerface.jl
Lines 59 to 80 in dcfe78c
shows that we deliberately return nothing if there is no precomputed extent. But the promise of GI.extent was (to my understanding) that it falls back to actually calculating the extent if it has to.
So should we edit this in the GI.extent definition?
The text was updated successfully, but these errors were encountered: