JuliaGeo / GeoJSON.jl

Utilities for working with GeoJSON data in Julia
https://juliageo.org/GeoJSON.jl/stable/
MIT License
68 stars 10 forks source link

fix read(io) to support Downloads.download of stdlib #90

Open likev opened 2 months ago

likev commented 2 months ago

using Downloads instead of HTTP.jl We don't need a dependency on HTTP.jl

using GeoJSON, Downloads
io = Downloads.download("https://its-live-data.s3.amazonaws.com/datacubes/catalog_v02.json", IOBuffer())
fc = GeoJSON.read(io)