# readers.obj

The OBJ reader reads data from files in the OBJ format. This reader constructs a mesh from the faces specified in the OBJ file, ignoring vertices that are not associated with any face. Faces, vertices, vertex normals and vertex textures are read, while all other obj elements (such as lines and curves) are ignored.

Dynamic Plugin

This stage requires a dynamic plugin to operate

## Example

This pipeline reads from an example OBJ file outputs the vertices as a point to a LAS file.

    [
        {
            "type": "readers.obj",
            "filename": "test/data/obj/1.2-with-color.obj"
        },
        {
            "type" : "writers.las",
            "filename": "output.las",
            "scale_x": 1.0e-5,
            "scale_y": 1.0e-5,
            "scale_z": 1.0e-5,
            "offset_x": "auto",
            "offset_y": "auto",
            "offset_z": "auto"
        }
    ]

## Options

count

  Maximum number of points to read. [Default: unlimited]

override_srs

  Spatial reference to apply to the data. Overrides any SRS in the input itself. Can be specified as a WKT, proj.4 or EPSG string. Can’t use with ‘default_srs’ [Default: none]

default_srs

  Spatial reference to apply to the data if the input does not specify one. Can be specified as a WKT, proj.4 or EPSG string. Can’t use with ‘override_srs’ [Default: none]

filename

  File to read. [Required]