/** * {@inheritdoc} */ public function spatialDimension() { if ($this->proxyGeometry === null) { $this->load(); } return $this->proxyGeometry->spatialDimension(); }