IGeoRegistry
Description
- Derived from
- Extended by
-
GeoRegistry sealed
Base interface for classes that represent a registry of geo objects.
Public / Methods
BuildConfig
Builds the config types for this registry.
The IGeoObject entries in this registry are grouped by their GeoAuthority, i.e. the GeoObjectId.Authority of their GeoObjectId. For each such authority, a set of config types is built:
-
Tinman.Georef.Authority.NAME
Configures a CoordinateSystem object by feeding the specified components into a CoordinateSystemBuilder object. The resulting coordinate system can be accessed via the virtual fieldgeoref
. -
Tinman.Georef.Authority.NAME.CoordOpIds
fieldcoordOp
An enumeration of the GeoObjectType.CoordinateOperation objects, for CoordinateSystemBuilder.Projection. -
Tinman.Georef.Authority.NAME.CoordSysIds
fieldcoordSys
An enumeration of the GeoObjectType.CoordinateSystem objects, for CoordinateSystemBuilder.Combine. -
Tinman.Georef.Authority.NAME.DatumIds
fielddatum
An enumeration of the GeoObjectType.GeodeticDatum objects, for CoordinateSystemBuilder.Datum. -
Tinman.Georef.Authority.NAME.DatumOpIds
An enumeration of the GeoObjectType.DatumOperation objects. -
Tinman.Georef.Authority.NAME.EllipsoidIds
fieldellipsoid
An enumeration of the GeoObjectType.Ellipsoid objects, for CoordinateSystemBuilder.EllipsoidObj. -
Tinman.Georef.Authority.NAME.MeridianIds
fieldmeridian
An enumeration of the GeoObjectType.PrimeMeridian objects, for CoordinateSystemBuilder.Meridian. -
Tinman.Georef.Authority.NAME.UnitIds
fieldunitGeographic
,unitProjected
andunitVertical
An enumeration of the GeoObjectType.UnitOfMeasure objects, for CoordinateSystemBuilder.GeographicUnit, CoordinateSystemBuilder.ProjectionUnit and CoordinateSystemBuilder.VerticalUnit -
Tinman.Georef.Authority.NAME.VerticalIds
fieldvertical
An enumeration of the GeoObjectType.VerticalDatum objects, for CoordinateSystemBuilder.Vertical.
The token NAME
is the result of ConfigScript.MakeIdentifier for GeoAuthority.Name. The same method is used to generate the names of the generated enumeration items, see ConfigItem.Name. The string representation of the GeoObjectId is used as the tag, see EnumItem.Tag.
- ConfigException
-
If an existing config type has the same name as a config type being built and both types cannot be merged, because they specify conflicting data.
Consolidate
Consolidates this geo registry.
This method re-organizes the geo objects in the registry in order to fix validation problems (IValidatable.Validate), if possible. The returned geo registry will behave in the same way as this one.
Lookup
3 overloads
Performs a geo registry lookup.
- GeorefException
-
If no geo object has been found.
Performs a geo registry lookup.
Performs a geo registry lookup.
Extensions
Lookup
2 overloads
Performs a geo registry lookup.
- GeorefException
-
If no geo object has been found.
Performs a geo registry lookup.
- GeorefException
-
If no geo object has been found.
LookupDatumOperation
Looks for a DatumOperation that performs datum conversion between the given coordinate systems and returns its IDatumTransform.
This method will return unique results only. If one or more possible conversions exist, null
is returned. In this case, the calling code must provide a datum conversion.