mousebird-consulting-inc / WhirlyGlobe

WhirlyGlobe Development
Other
828 stars 254 forks source link

Topic/coord sys #1582

Closed TimSylvester closed 1 year ago

TimSylvester commented 1 year ago

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.