TopoJsonOptions.QuantizationNumber property

Specifies quantization number to use to quantize coordinates and delta-encode arcs in output TopoJSON.

public int? QuantizationNumber { get; set; }


exception condition
ArgumentOutOfRangeException Argument is less than two.


This is writing option - it does not affect reading. This option is mutually exclusive with Transform - only one of this two options can be not null. If this is not null - output TopoJSON coordinates are quantized and arcs are delta-encoded with the specified quantization number. Quantization number determines the maximum number of expressible values per dimension in the resulting quantized coordinates; typically a power of ten is chosen. Defaults to null.

See Also