GeoInterface.jl
GeoInterface.jl copied to clipboard
A Julia Protocol for Geospatial Data
While slow, it's very useful for packages that don't implement it itself, as we use `extent` in packages such as https://github.com/evetion/GeoAcceleratedArrays.jl/pull/3
Following discussion in #49. I tried implementing Base.convert as suggested by the [GeoInterface docs](https://juliageo.org/GeoInterface.jl/stable/guides/developer/#Conversion) for GeometryBasics, testing with GeoJSON geometries. The first method is needed to send the 2-arg convert...
The following operations create a shape with a hole in it. The hole is there but is not displayed in the plot. The same thing happens with any other operations...
As discussed on slack, I imagine it should be possible to write a utility that takes as input a [Proj.jl](https://github.com/JuliaGeo/Proj.jl) transformation and a complex GeoInterface-compliant geometry (for example a polygon...
Made a standalone issue, as this was under the now merged #33 - [x] ArchGDAL (https://github.com/yeesian/ArchGDAL.jl/pull/290) - [x] LibGEOS (https://github.com/JuliaGeo/LibGEOS.jl/pull/112) - [x] GeometryBasics (https://github.com/JuliaGeometry/GeometryBasics.jl/pull/175) - [x] ShapeFile (https://github.com/JuliaGeo/Shapefile.jl/pull/72) - [x]...
Do we currently expect anything from the coordinate eltype? Was SF always Float64? What do we do, `
There seems to be an issue with plotting polygons that themselves consist of several polygons. Here is a dataset with multipolygons ```julia julia> regions = Shapefile.shapes(Shapefile.Table("regions1984.shp")); julia> julia> regions[1] Polygon(15493...
Hi, when I do geographical stuff, our sampling units are very frequently laid out as a spatial grid. This can be represented very compactly (e.g. https://github.com/EcoJulia/SpatialEcology.jl/blob/mkb/dev/src/DataTypes.jl#L19-L26 / https://github.com/EcoJulia/SpatialEcology.jl/blob/mkb/dev/src/DataTypes.jl#L40-L43 or https://github.com/FugroRoames/SpatialGrids.jl...
JET found a bunch of places we were not checking for zero/one length geoms. After fixing it still complains about some as it doesn't seem to see the runtime check...