JuliaGeo / LibGEOS.jl

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

Don't clone geometry when given a pointer #198

Closed evetion closed 10 months ago

evetion commented 10 months ago

Fixes #196

If given a pointer, do not clone (internal use) If given a Geometry, clone it (external use)

Note that some methods can be updated/added, for example the GeoInterface convert for MultiPoint will clone unnecessarily, because it goes through the Point constructor.

rafaqz commented 10 months ago

Haha I wrote this too just never PRd 😂