Last updated

API / geotoolkit / las / ParserFactory / ParserFactory

Class: ParserFactory

las.ParserFactory.ParserFactory

class to create instances of LAS parsers

Table of contents

Constructors
Methods

Contents

Constructors

new ParserFactory()

new ParserFactory()

Methods

detectType

Static detectType(data): number

Detects the type of an LAS file as LAS 2.0 or 3.0 or -1 if neither of two

Parameters

Name Type Description
datastringLAS content

Returns

number


getParser

Static getParser(data, autoparse?): LasParser

Return parser appropriate parser for LAS content

Parameters

Name Type Description
datastringLAS content
Optional autoparsebooleancall parse() method

Returns

LasParser