components as $component) { $array[] = array( 'type' => $component->geometryType(), 'components' => $component->asArray(), ); } return $array; } // Not valid for this geomettry public function boundary() { return NULL; } public function isSimple() { return NULL; } }