LibGEOS.jl icon indicating copy to clipboard operation
LibGEOS.jl copied to clipboard

Julia package for manipulation and analysis of planar geometric objects

Results 32 LibGEOS.jl issues
Sort by recently updated
recently updated
newest added

Sorry for the massive PR. I wanted to make a PR similar to https://github.com/yeesian/ArchGDAL.jl/pull/349. By defining methods like: ```julia Base.unsafe_convert(::Type{Ptr{Cvoid}}, x::AbstractGeometry) = x.ptr ``` We can let `ccall` know how...

Before this PR we had: ```julia geo != deepcopy(geo) ``` etc.

https://github.com/JuliaGeo/LibGEOS.jl/issues/142

It is my understanding, that at some point in the past `Base.convert === GeoInterface.convert`. However, these are two different functions nowadays and we overload `Base.convert` where `GeoInterface.convert` would be the...

With GeoInterfaceMakie it is possible to give Makie support to LibGEOS in one line: https://github.com/JuliaGeo/GeoInterface.jl/blob/40af14b80d0620f44a8a9d4063b1f36d36c60ab9/GeoInterfaceMakie/test/runtests.jl#L8 The question is where that line should live. My preference would be to have it...

Do all normal methods also work on them, i.e. by operating on the .ownedby property? Currently, things like isEmpty are not defined in preparedgeometries.

question

Currently, I have two arrays of type `Array{Polygon,1}`, called `grid_1` and `grid_2`. I would like to find the intersecting area of every point of `grid_1` with every point of `grid_2`...

documentation

I just upgraded to Julia 1.8 and reinstalled my packages, and now the `coordinates` function is not defined: ``` julia> using LibGEOS julia> point = LibGEOS.Point(1.0, 2.0) Point(Ptr{Nothing} @0x00006000034e0060) julia>...

bug

I see that there is a function `LibGEOS.GEOSMakeValid` in the generated code. Unfortunately, when I call it like `LibGEOS.GEOSMakeValid(Ref(p))` where `p` is a self-intersecting polygon, I get back a null...

question

@visr what about adding `LineString` constructors based on `Point`s and `LineString`s? It could look like: ```julia LineString(ls::LineString, pt::Point) = LineString([coordinates(ls); [coordinates(pt)]]) LineString(ls::LineString, pt1::Point, pt2::Point, pts::Vararg{Point}) = LineString(LineString(ls, pt1), pt2, pts...)...

enhancement