CoordRefSysResolver class abstract

An abstract class for resolving coordinate reference system information.

A resolver can be accessed using registry that is initially instantiated with the basic default implementation. It be customized by registering a custom instance using register).

NOTE: The current version of this resolver class provides only methods normalizeId, isGeographic, axisOrder, swapXY and epsg. In future other methods might be added.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

axisOrder(String id) AxisOrder?
Try to resolve the axis order (as a CRS authority has specified it) of coordinate values in position and point representations for this coordinate reference system identified by id.
epsg(String id) String?
Returns an EPSG identifier according to the common EPSG:{code} template for id if the coordinate reference system is recognized by the EPSG register.
epsgCode(String id) int?
Returns an EPSG code according to the common EPSG:{code} template for id if the coordinate reference system is recognized by the EPSG register.
isGeographic(String id, {bool? wgs84, AxisOrder? order}) bool
Returns true if coordinate reference system identified by id represents geographic coordinates.
normalizeId(String id) String
Normalizes the coordinate reference system identifier to the template http://www.opengis.net/def/crs/{authority}/{version}/{code}.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
swapXY(String id, {GeoRepresentation? logic}) bool
Whether x and y coordinates read from (or written to) external data representation should be swapped for the coordinate reference system identified by id before using in internal data structures of this package.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

registry CoordRefSysResolver
The current instance of CoordRefSysResolver, initially instantiated with the basic default implementation.
getter/setter pair

Static Methods

register(CoordRefSysResolver resolver) → void
Registers a custom instance of CoordRefSysResolver, available at static registry after calling this.