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
When calling ctables = Shapefile.Table("./ne_110m_admin_0_countries.shp") (as shown in 'quick start'), I get the following error:
ctables Failed to show value: MethodError: no method matching length(::Shapefile.Row{Shapefile.Polygon}) Closest candidates are: length(!Matched::Union{Base.KeySet, Base.ValueIterator}) at abstractdict.jl:58 length(!Matched::Union{DataStructures.OrderedRobinDict, DataStructures.RobinDict}) at /Users/roland/.julia/packages/DataStructures/nBjdy/src/ordered_robin_dict.jl:86 length(!Matched::Union{DataStructures.SortedDict, DataStructures.SortedMultiDict, DataStructures.SortedSet}) at /Users/roland/.julia/packages/DataStructures/nBjdy/src/container_loops.jl:322
When calling
ctables = Shapefile.Table("./ne_110m_admin_0_countries.shp")
(as shown in 'quick start'), I get the following error:ctables Failed to show value: MethodError: no method matching length(::Shapefile.Row{Shapefile.Polygon}) Closest candidates are: length(!Matched::Union{Base.KeySet, Base.ValueIterator}) at abstractdict.jl:58 length(!Matched::Union{DataStructures.OrderedRobinDict, DataStructures.RobinDict}) at /Users/roland/.julia/packages/DataStructures/nBjdy/src/ordered_robin_dict.jl:86 length(!Matched::Union{DataStructures.SortedDict, DataStructures.SortedMultiDict, DataStructures.SortedSet}) at /Users/roland/.julia/packages/DataStructures/nBjdy/src/container_loops.jl:322
`...
var"#sprint_withreturned#54"(::IOContext{Base.DevNull}, ::Int64, ::typeof(Main.PlutoRunner.sprint_withreturned), ::Function, ::Shapefile.Table{Union{Missing, Shapefile.Polygon}})@PlutoRunner.jl:962
var"#format_output#42"(::IOContext{Base.DevNull}, ::typeof(Main.PlutoRunner.format_output), ::Any)@PlutoRunner.jl:874
But when I embed that expression in a call to
shapes
like:geoms = Shapefile.shapes(Shapefile.Table("./ne_110m_admin_0_countries.shp"))
Then erverything works as expected. So why does the isolated
Tables
statement cause an error?The text was updated successfully, but these errors were encountered: