JuliaGeo / LibGEOS.jl

Julia package for manipulation and analysis of planar geometric objects
MIT License
72 stars 23 forks source link

missing functions #109

Open nraynaud opened 2 years ago

nraynaud commented 2 years ago

Hi, it's me again, I don't see the offsetCurve() function in the library, only a reference here: https://github.com/JuliaGeo/LibGEOS.jl/blob/master/src/geos_functions.jl#L340

is there something that makes it impossible or complicated to expose in libGEOS ?

list of mising functions so far:

visr commented 2 years ago

As far as I'm aware for none of the methods there is a reason it is impossible or complicated to expose. It would be good to collect all of them together in an issue, such that we can tackle them one by one. (e.g. #108)

Another method that perhaps would require a bit more time upfront but might make maintenance easier would be to generate the code automatically, in a similar way we do for instance for Proj.jl (https://github.com/JuliaGeo/Proj4.jl/blob/e50a7d7fad6280e719398be43668264649707c29/gen/generator.jl#L11)

nraynaud commented 2 years ago

thank you. I feel way too green in Julia to generate an API, but I can probably copy/paste something together to add a function the same way the current ones are exposed.

visr commented 2 years ago

That would be a great first contribution!