GeoJsonConf class
Optional configuration parameters for formatting (and parsing) GeoJSON.
- Annotations
-
- @immutable
Constructors
- GeoJsonConf.new({GeoRepresentation? crsLogic, bool singlePrecision = false, bool ignoreMeasured = false, bool ignoreForeignMembers = false, bool printNonDefaultCrs = false, bool compactNums = true})
-
Optional configuration parameters for formatting GeoJSON.
const
Properties
- compactNums → bool
-
When true and the number of decimals not set for output, then numbers
outputted are compacted.
final
- crsLogic → GeoRepresentation?
-
Use this to set logic whether coordinate axis order should be
authority-based (the default) or always lon-lat order.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- ignoreForeignMembers → bool
-
When ignoreForeignMembers is set to true, then such JSON elements that
are not described by the GeoJSON specification, are ignored. See the
section 6.1 of the specifcation (RFC 7946).
final
- ignoreMeasured → bool
-
When ignoreMeasured is set to true, then M coordinates are ignored from
formatting.
final
- printNonDefaultCrs → bool
-
When printNonDefaultCrs, then "crs" attribute is printed to the
"FeatureCollection".
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- singlePrecision → bool
-
When true, coordinate values read when parsing are allowed to be stored
on single-precision floating point numbers (Float32).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override