Rogue Wave Views Maps Package API Reference Guide |
Rogue Wave Views Documentation Home |
This class converts Oracle SDO geometries retrieved from an Oracle database into IlvMapFeature
objects.
More...
#include <ilviews/maps/format/oracle/sdoread.h>
Public Member Functions | |
IlvSDOFeatureIterator (IldRequest *resultSet) | |
Initializes a feature iterator that can iterate over an IldRequest and returns the SDO geometries as IlvMapFeature instances. More... | |
IlvSDOFeatureIterator (IldDbms *dbms, const char *query) | |
Initializes a feature iterator that can iterate over the result of a specified query. More... | |
virtual IlvFeatureRenderer * | getDefaultFeatureRenderer (IlvDisplay *display) |
Returns the default renderer for this feature iterator. More... | |
IlvMapsError | getInitStatus () const |
Returns the error code that may have happened during the iterator initialization. | |
virtual IlBoolean | getLowerRightCorner (IlvCoordinate &coord) const |
Returns IlFalse . | |
virtual const IlvMapFeature * | getNextFeature (IlvMapsError &status) |
Converts the next SDO geometry of the iterator into an IlvMapFeature object. More... | |
virtual IlvMapFeatureId * | getNextFeatureId (IlvMapsError &status) |
Returns the feature ID for the next object. More... | |
const IlvProjection * | getProjection () const |
Returns 0 unless a source projection has been assigned to the iterator. More... | |
virtual IlBoolean | getUpperLeftCorner (IlvCoordinate &coord) const |
Returns IlFalse . | |
IlBoolean | isGeoreferenced () const |
Returns IlTrue if a source projection has been assigned to the iterator. | |
void | setSourceProjection (IlvProjection *projection) |
Used to specify the source projection of the geometries stored in the SDO database. More... | |
virtual IlBoolean | skipNextFeature (IlvMapsError &status) |
Skips the next feature. More... | |
Public Member Functions inherited from IlvMapFeatureIterator | |
virtual IlvClassInfo * | getClassInfo () const =0 |
Returns the class information for this feature iterator. More... | |
Static Public Member Functions | |
static IlvMapsError | BadRequestError () |
Returns the error indicating that the request passed to the constructor is invalid. | |
static IlvMapsError | NoMoreRowError () |
Returns the error indicating that there is no more row. | |
Static Public Member Functions inherited from IlvMapFeatureIterator | |
static IlvClassInfo * | ClassInfo () |
Returns the class information of the class. More... | |
static IlvClassInfo ** | ClassInfoRef () |
Returns the address of the class information of the class. More... | |
Friends | |
class | IlvDefaultSDOTileLoader |
This class converts Oracle SDO geometries retrieved from an Oracle database into IlvMapFeature
objects.
Library: ilvdbmaps
It supports the relational implementation of Oracle SDO. The supported Oracle geometries are: POINT
, LINESTRING
and POLYGON
.
IlvSDOWriter
, IlvMapFeature
. IlvSDOFeatureIterator::IlvSDOFeatureIterator | ( | IldRequest * | resultSet | ) |
Initializes a feature iterator that can iterate over an IldRequest
and returns the SDO geometries as IlvMapFeature
instances.
resultSet | The IldRequest containing the result set of an SDO layer query. A typical query is for instance select from ROADS_SDOGEOM order by 1, 2, 4 . |
IlvMapFeature
IlvSDOFeatureIterator::IlvSDOFeatureIterator | ( | IldDbms * | dbms, |
const char * | query | ||
) |
Initializes a feature iterator that can iterate over the result of a specified query.
dbms | The IldDbms connected to the Oracle Data Base. |
query | An SQL query to an SDO layer. A typical query is for instance select from ROADS_SDOGEOM order by 1, 2, 4 . |
|
virtual |
Returns the default renderer for this feature iterator.
Returns a renderer that can be used to translate the map features returned by this iterator into graphic objects. Feature iterators that store some rendering information in the attributes of the map features, such as color, text font, line thickness and so on, can return a specific renderer which is able to take these attributes into account during the rendering process.
Implements IlvMapFeatureIterator.
|
virtual |
Converts the next SDO geometry of the iterator into an IlvMapFeature
object.
The ID of the returned map feature is set to the SDO_GID of the SDO geometry.
status | The error that may have been produced by the method. |
Implements IlvMapFeatureIterator.
|
virtual |
Returns the feature ID for the next object.
0
if no more feature ID is available.status | The error that may have been produced by the method. It can be a NoMoreRowError() error. |
|
virtual |
Returns 0
unless a source projection has been assigned to the iterator.
Implements IlvMapFeatureIterator.
|
virtual |
Used to specify the source projection of the geometries stored in the SDO database.
The projection will be assigned to the IlvMapFeature
produced by this iterator.
projection | The projection of the geometries stored in the database. |
Reimplemented from IlvMapFeatureIterator.
|
virtual |
Skips the next feature.
IlFalse
if no more feature is available.status | The error that may have been produced by the method. It can be a NoMoreRowError() error. |
© Copyright 2016, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.