private function polyhedralSurface()
    {
        $values = array();
        $count  = $this->readCount();

        for ($i = 0; $i < $count; $i++) {
            $this->readByteOrder();

            $type = $this->readType();

            switch ($type) {
                case ($this->getDimensionedPrimitive(self::WKB_TYPE_POLYGON)):
                    $value = $this->polygon();
                    break;
                // is polygon the only one?
                default:
                    throw new UnexpectedValueException($this->getBadTypeInTypeMessage($type, self::WKB_TYPE_POLYHEDRALSURFACE, array(self::WKB_TYPE_POLYGON)));
            }

            $values[] = array(
                'type'  => $this->getTypeName($type),
                'value' => $value,
            );
        }

        return $values;
    }
private function polyhedralSurface()
    {
        $values = array();
        $count  = $this->readCount();

        for ($i = 0; $i < $count; $i++) {
            $this->readByteOrder();

            $type = $this->readType();

            switch ($type) {
                case ($this->getDimensionedPrimitive(self::WKB_TYPE_POLYGON)):
                    $value = $this->polygon();
                    break;
                // is polygon the only one?
                default:
                    throw new UnexpectedValueException($this->getBadTypeInTypeMessage($type, self::WKB_TYPE_POLYHEDRALSURFACE, array(self::WKB_TYPE_POLYGON)));
            }

            $values[] = array(
                'type'  => $this->getTypeName($type),
                'value' => $value,
            );
        }

        return $values;
    }
private function polyhedralSurface ( ) { $ values = array ( ) ; $ count = $ this -> readCount ( ) ; for ( $ i = 0 ; $ i < $ count ; $ i ++ ) { $ this -> readByteOrder ( ) ; $ type = $ this -> readType ( ) ; switch ( $ type ) { case ( $ this -> getDimensionedPrimitive ( self :: WKB_TYPE_POLYGON ) ) : $ value = $ this -> polygon ( ) ; break ; // is polygon the only one? default : throw new UnexpectedValueException ( $ this -> getBadTypeInTypeMessage ( $ type , self :: WKB_TYPE_POLYHEDRALSURFACE , array ( self :: WKB_TYPE_POLYGON ) ) ) ; } $ values [ ] = array ( 'type' => $ this -> getTypeName ( $ type ) , 'value' => $ value , ) ; } return $ values ; }
Parse POLYHEDRALSURFACE value

@return array
@throws UnexpectedValueException
Parse POLYHEDRALSURFACE value