yeesian / ArchGDAL.jl

A high level API for GDAL - Geospatial Data Abstraction Library
https://yeesian.github.io/ArchGDAL.jl/stable/
Other
141 stars 27 forks source link

Enable preperation of geometry #286

Closed evetion closed 2 years ago

evetion commented 2 years ago

Preparing geometry is useful when you repeat spatial operations on a geometry, as required, calculated, information needed for said operation is cached. See https://blog.cleverelephant.ca/2008/10/postgis-performance-prepared-geometry.html

The open question is if/where we check for the remaining GDAL ogrhaspreparedgeometrysupport method in all these calls. Maybe a warning on init? I'm not sure what happens when a non-Yggdrasil GDAL doesn't have prepgeom support.