Base interface for classes that represent a registry of geo objects.
interface
|
IGeoRegistry
|
extends
|
ISerializable
|
||
base of
|
GeoRegistry
|
Human-readable name of this geo registry.
property
|
Name
{
get
}
|
||
type
|
string
|
||
value
|
|
The geo registry name. |
Returns the serial type of this object.
property
|
SerialType
{
get
}
|
||
type
|
ISerialTypeInfo
|
||
value
|
|
The serial type. | |
inherited
|
ISerializable.SerialType
|
Returns the serial data version.
property
|
SerialVersion
{
get
}
|
||
type
|
int32
|
||
value
|
|
The serial data version tag. | |
inherited
|
ISerializable.SerialVersion
|
Remarks:
An ISerializable implementation is required to support all versions up to the one returned by SerialVersion.
See also:
ISerializable.SerializeInitializes the state of this object from the given data stream.
method
|
Deserialize
(int32 serialVersion,
ISerializer data)
|
||
type
|
ISerializable
|
||
params
|
serialVersion
|
[>=1]
|
The serial data version. |
data
|
[not-null]
|
The serial data stream. | |
returns
|
|
The
deserialized
object.
This
will
typically
be
this ,
but
in
some
circumstances,
another
instance
may
be
returned
(e.g.
singletons).
|
|
inherited
|
ISerializable.Deserialize
|
Remarks:
The Deserialize method will be called immediately after the object has been instantiated via its default constructor.
The provided serialVersion number is guaranteed to be equal to or less than the SerialVersion returned by this object (i.e. ISerializable object must provide backwards compatibility).
See also:
ISerializable.SerializePerforms a georegistry lookup.
method
|
Lookup
()
|
||
type
|
IGeoObject[]
|
||
returns
|
|
All geo objects in the registry. |
Performs a georegistry lookup.
method
|
Lookup
(GeoObjectType type)
|
||
type
|
IGeoObject[]
|
||
params
|
type
|
The geo object type. | |
returns
|
|
All geo objects of the given type. |
Performs a georegistry lookup.
method
|
Lookup
(GeoObjectType type,
string key,
GeoAuthority authority)
|
||
type
|
IGeoObject
|
||
params
|
type
|
The geo object type. | |
key
|
[not-empty]
|
The geo object key. | |
authority
|
[not-null]
|
The geo authority. | |
returns
|
|
The geo object. |
Exceptions:
Performs a georegistry lookup.
method
|
LookupIds
()
|
||
type
|
GeoObjectId[]
|
||
returns
|
|
All IDs of geo objects in the registry. |
Performs a georegistry lookup.
method
|
LookupIds
(GeoObjectType type)
|
||
type
|
GeoObjectId[]
|
||
params
|
type
|
The geo object type. | |
returns
|
|
All IDs of geo objects of the given type. |
Performs a georegistry lookup.
method
|
LookupNull
(GeoObjectType type,
string key,
GeoAuthority authority)
|
||
type
|
IGeoObject
|
||
params
|
type
|
The geo object type. | |
key
|
[not-empty]
|
The geo object key. | |
authority
|
[not-null]
|
The geo authority. | |
returns
|
The
geo
object
or
null
if
not
found. |
Performs a reverse georegistry lookup.
method
|
ReverseLookup
(IGeoObject obj)
|
||
type
|
GeoObjectId
|
||
params
|
obj
|
[not-null]
|
The geo object to find. |
returns
|
The
geo
object
ID
or
null
if
not
found. |
Serializes the current state of this object to the given data stream.
method
|
Serialize
(ISerializer data)
|
||
params
|
data
|
[not-null]
|
The serial data stream. |
inherited
|
ISerializable.Serialize
|
See also:
ISerializable.DeserializePerforms a georegistry lookup.
method
|
Lookup
(GeoObjectId key)
|
||
type
|
IGeoObject
|
||
params
|
key
|
[not-null]
|
The geo object key. |
returns
|
|
The geo object. |
Exceptions:
Performs a georegistry lookup.
method
|
Lookup
(GeoObjectType type,
int32 key,
GeoAuthority authority)
|
||
type
|
IGeoObject
|
||
params
|
type
|
The geo object type. | |
key
|
The geo object key. | ||
authority
|
[not-null]
|
The geo authority. | |
returns
|
|
The geo object. |
Exceptions:
Looks for a DatumOperation that performs datum conversion between the given coordinate systems.
method
|
LookupDatumOperation
(CoordinateSystem source,
CoordinateSystem target)
|
||
type
|
IDatumTransform
|
||
params
|
source
|
[not-null]
|
The source coordinate system. |
target
|
[not-null]
|
The target coordinate system. | |
returns
|
The
found
DatumOperation
or
null . |
Performs a georegistry lookup.
method
|
LookupNull
(GeoObjectId key)
|
||
type
|
IGeoObject
|
||
params
|
key
|
The geo object key. | |
returns
|
The
geo
object
or
null
if
not
found. |
Performs a georegistry lookup.
method
|
LookupNull
(GeoObjectType type,
int32 key,
GeoAuthority authority)
|
||
type
|
IGeoObject
|
||
params
|
type
|
The geo object type. | |
key
|
The geo object key. | ||
authority
|
[not-null]
|
The geo authority. | |
returns
|
The
geo
object
or
null
if
not
found. |