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
This errors for all GeoJSON types that otherwise support getindex:
using GeoJSON
p = GeoJSON.read("""{"type":"Point","coordinates":[30,10]}""")
p[begin] # MethodError: no method matching firstindex(::GeoJSON.Point{2, Float32})
x[end] does work so I guess that has a fine fallback.
I assume this is a matter of Base.firstindex(...) = 1 for a few types.
This errors for all GeoJSON types that otherwise support getindex:
x[end]
does work so I guess that has a fine fallback.I assume this is a matter of
Base.firstindex(...) = 1
for a few types.https://docs.julialang.org/en/v1/manual/interfaces/#Indexing
The text was updated successfully, but these errors were encountered: