Make use of proj4 thread-safe.
Clone coordinate systems and display adapters to avoid excessive lock contention.
Also extends double-precision bounds to the coordinate system and adds some missing const-ness.
Longer term, we should eliminate the bare coordinate system pointer in the display adapter, replacing it with a shared or weak smart pointer, to clarify ownership and make management less error-prone.
Make use of
proj4
thread-safe. Clone coordinate systems and display adapters to avoid excessive lock contention. Also extends double-precision bounds to the coordinate system and adds some missing const-ness.Longer term, we should eliminate the bare coordinate system pointer in the display adapter, replacing it with a shared or weak smart pointer, to clarify ownership and make management less error-prone.