JOJ-56: Spatial extents now don't wrap around the dateline. Improved error messages.
Merge remote-tracking branch 'origin/master'