diff --git a/lib/CrEOF/Geo/WKB/Parser.php b/lib/CrEOF/Geo/WKB/Parser.php index ce30e38..bdd93f6 100644 --- a/lib/CrEOF/Geo/WKB/Parser.php +++ b/lib/CrEOF/Geo/WKB/Parser.php @@ -154,7 +154,7 @@ private function readGeometry() } $this->dimensions = $this->getDimensions($this->type); - $this->pointSize = 2 + strlen($this->getDimensionType($this->dimensions)); + $this->pointSize = 2 + strlen($this->getDimensionType($this->dimensions) || ''); $typeName = $this->getTypeName($this->type);