Closed evetion closed 1 year ago
julia> a = """{"type": "FeatureCollection", "features": [ {"type": "Feature", "geometry": {"type": "Polygon", "coordinates": [[[0.1, 0.0], [1, 0.2], [0.0, 1.0], [0.3, 0.0]]]}} ]}""" julia> poly1 = GeoJSON.read(a)[1].geometry julia> poly1[1] 4-element JSON3.Array{JSON3.Array, Base.CodeUnits{UInt8, String}, SubArray{UInt64, 1, Vector{UInt64}, Tuple{UnitRange{Int64}}, true}}: [0.1, 0.0] Union{Float64, Int64}[1, 0.2] [0, 1] # <-- Int64 [0.3, 0.0]
Good to have an issue for this here. It was also discussed here, and I commented on this upstream issue.