FDO .NET API Reference Feature Data Objects
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

OSGeo::FDO::Commands::SpatialContext::ISpatialContextReaderImp Class Reference

Inherits OSGeo::FDO::Runtime::Disposable, and OSGeo::FDO::Commands::SpatialContext::OSGeo::FDO::Commands::SpatialContext::ISpatialContextReader.

Inheritance diagram for OSGeo::FDO::Commands::SpatialContext::ISpatialContextReaderImp:

[legend]
List of all members.

Detailed Description

The ISpatialContextReaderImp class is a concrete implementation of ISpatialContextReader. The ISpatialContextReader interface provides forward-only, read-only functionality for enumerating spatial contexts. A reference to an ISpatialContextReader is returned from the GetSpatialContexts command. The initial position of the ISpatialContextReader interface is prior to the first item. Thus, you must call ReadNext to begin accessing any data.


Public Member Functions

System::String * GetCoordinateSystem ()
 Gets the name of the coordinate system of the spatial context currently being read. If the result is a null or empty string, the coordinate system is unknown to the spatial context.
System::String * GetCoordinateSystemWkt ()
 Gets the name of the coordinate system in OpenGIS SRS WKT format of the spatial context currently being read. If the result is an empty string, the coordinate system WKT description is not available.
System::String * GetDescription ()
 Gets the description of the spatial context currently being read.
System::Byte GetExtent ()[]
 Gets the extent of the spatial context currently being read as a byte array in FGF format.
OSGeo::FDO::Commands::SpatialContext::SpatialContextExtentType GetExtentType ()
 Gets the extent type of the spatial context currently being read.
System::String * GetName ()
 Gets the name of the spatial context currently being read.
System::Double GetXYTolerance ()
 Gets the tolerance value for XY ordinates of the spatial context currently being read. Tolerances are used in some geometric tests, mostly for equality between coordinates. This occurs frequently in spatial queries, especially with "on boundary" or "just touching" conditions. It is also an objective amount that can be used when formulating step distances for parametric curve interpolation.
System::Double GetZTolerance ()
 Gets the tolerance value for Z ordinates of the spatial context currently being read. Tolerances are used in some geometric tests, mostly for equality between coordinates. This occurs a frequently in spatial queries, especially with "on boundary" or "just touching" conditions. It is also an objective amount that can be used when formulating step distances for parametric curve interpolation.
System::Boolean IsActive ()
 Returns true if the spatial context currently being read is the active spatial context.
System::Boolean ReadNext ()
 Advances the reader to the next item. The default position of the reader is prior to the first item. Thus, you must call ReadNext to begin accessing any data.

Protected Member Functions

__sealed System::Void ReleaseUnmanagedObject ()
 DOXYGEN-IGNORE

Member Function Documentation

System::String* OSGeo::FDO::Commands::SpatialContext::ISpatialContextReaderImp::GetCoordinateSystem  ) 
 

Gets the name of the coordinate system of the spatial context currently being read. If the result is a null or empty string, the coordinate system is unknown to the spatial context.

Returns:
Returns the coordinate system name of the spatial context.

System::String* OSGeo::FDO::Commands::SpatialContext::ISpatialContextReaderImp::GetCoordinateSystemWkt  ) 
 

Gets the name of the coordinate system in OpenGIS SRS WKT format of the spatial context currently being read. If the result is an empty string, the coordinate system WKT description is not available.

Returns:
Returns the coordinate system description in WKT of of the spatial context.

System::String* OSGeo::FDO::Commands::SpatialContext::ISpatialContextReaderImp::GetDescription  ) 
 

Gets the description of the spatial context currently being read.

Returns:
Returns the description of the spatial context.

System::Byte OSGeo::FDO::Commands::SpatialContext::ISpatialContextReaderImp::GetExtent  ) 
 

Gets the extent of the spatial context currently being read as a byte array in FGF format.

Returns:
Returns the extent as a byte array in FGF format.

OSGeo ::FDO ::Commands ::SpatialContext ::SpatialContextExtentType OSGeo::FDO::Commands::SpatialContext::ISpatialContextReaderImp::GetExtentType  ) 
 

Gets the extent type of the spatial context currently being read.

Returns:
Returns the extent type.

System::String* OSGeo::FDO::Commands::SpatialContext::ISpatialContextReaderImp::GetName  ) 
 

Gets the name of the spatial context currently being read.

Returns:
Returns the name of the spatial context.

System::Double OSGeo::FDO::Commands::SpatialContext::ISpatialContextReaderImp::GetXYTolerance  ) 
 

Gets the tolerance value for XY ordinates of the spatial context currently being read. Tolerances are used in some geometric tests, mostly for equality between coordinates. This occurs frequently in spatial queries, especially with "on boundary" or "just touching" conditions. It is also an objective amount that can be used when formulating step distances for parametric curve interpolation.

Returns:
Returns the tolerance

System::Double OSGeo::FDO::Commands::SpatialContext::ISpatialContextReaderImp::GetZTolerance  ) 
 

Gets the tolerance value for Z ordinates of the spatial context currently being read. Tolerances are used in some geometric tests, mostly for equality between coordinates. This occurs a frequently in spatial queries, especially with "on boundary" or "just touching" conditions. It is also an objective amount that can be used when formulating step distances for parametric curve interpolation.

Returns:
Returns the tolerance

System::Boolean OSGeo::FDO::Commands::SpatialContext::ISpatialContextReaderImp::IsActive  ) 
 

Returns true if the spatial context currently being read is the active spatial context.

Returns:
Returns true if the current spatial context is the active one.

System::Boolean OSGeo::FDO::Commands::SpatialContext::ISpatialContextReaderImp::ReadNext  ) 
 

Advances the reader to the next item. The default position of the reader is prior to the first item. Thus, you must call ReadNext to begin accessing any data.

Returns:
Returns true if there is a next item.

__sealed System::Void OSGeo::FDO::Commands::SpatialContext::ISpatialContextReaderImp::ReleaseUnmanagedObject  )  [protected, virtual]
 

DOXYGEN-IGNORE

Reimplemented from OSGeo::FDO::Runtime::Disposable.


Comments or suggestions? Send us feedback.