pub struct FgbWriterOptions<'a> {
    pub write_index: bool,
    pub detect_type: bool,
    pub promote_to_multi: bool,
    pub crs: FgbCrs<'a>,
    pub has_z: bool,
    pub has_m: bool,
    pub has_t: bool,
    pub has_tm: bool,
    pub title: Option<&'a str>,
    pub description: Option<&'a str>,
    pub metadata: Option<&'a str>,
}
Expand description

Options for FlatGeobuf writer

Fields

write_index: bool

Write index and sort features accordingly.

detect_type: bool

Detect geometry type when geometry_type is Unknown.

promote_to_multi: bool

Convert single to multi geometries, if geometry_type is multi type or Unknown

crs: FgbCrs<'a>

CRS definition

has_z: bool

Does geometry have Z dimension?

has_m: bool

Does geometry have M dimension?

has_t: bool

Does geometry have T dimension?

has_tm: bool

Does geometry have TM dimension?

title: Option<&'a str>description: Option<&'a str>metadata: Option<&'a str>

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more