Reimplemented PostGIS spatial_version with cached_property