This class converts Oracle SDO geometries retrieved from an Oracle database into IlvMapFeature
objects.
More...
#include <ilviews/maps/format/oracle/sdoread.h>
|
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
.
- See also
IlvSDOWriter
, IlvMapFeature
.
§ IlvSDOFeatureIterator() [1/2]
IlvSDOFeatureIterator::IlvSDOFeatureIterator |
( |
IldRequest * |
resultSet | ) |
|
Initializes a feature iterator that can iterate over an IldRequest
and returns the SDO geometries as IlvMapFeature
instances.
- Parameters
-
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 . |
- See also
IlvMapFeature
.
§ IlvSDOFeatureIterator() [2/2]
IlvSDOFeatureIterator::IlvSDOFeatureIterator |
( |
IldDbms * |
dbms, |
|
|
const char * |
query |
|
) |
| |
Initializes a feature iterator that can iterate over the result of a specified query.
- Parameters
-
dbms | The connection 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 . |
§ getDefaultFeatureRenderer()
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.
- Parameters
-
display | The display that is used by the returned renderer. |
- Returns
- The default renderer for this feature iterator.
Implements IlvMapFeatureIterator.
§ getNextFeature()
virtual const IlvMapFeature* IlvSDOFeatureIterator::getNextFeature |
( |
IlvMapsError & |
status | ) |
|
|
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.
- Parameters
-
status | The error that may have been produced by the method. |
Implements IlvMapFeatureIterator.
§ getNextFeatureId()
virtual IlvMapFeatureId* IlvSDOFeatureIterator::getNextFeatureId |
( |
IlvMapsError & |
status | ) |
|
|
virtual |
Returns the feature ID for the next object.
- Returns
- The next feature ID or
0
if no more feature ID is available.
- Parameters
-
status | The error that may have been produced by the method. It can be a NoMoreRowError() error. |
§ getProjection()
const IlvProjection* IlvSDOFeatureIterator::getProjection |
( |
| ) |
const |
|
virtual |
§ setSourceProjection()
void IlvSDOFeatureIterator::setSourceProjection |
( |
IlvProjection * |
projection | ) |
|
|
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.
- Parameters
-
projection | The projection of the geometries stored in the database. |
Reimplemented from IlvMapFeatureIterator.
§ skipNextFeature()
virtual IlBoolean IlvSDOFeatureIterator::skipNextFeature |
( |
IlvMapsError & |
status | ) |
|
|
virtual |
Skips the next feature.
- Returns
IlFalse
if no more feature is available.
- Parameters
-
status | The error that may have been produced by the method. It can be a NoMoreRowError() error. |
© Copyright 2018, 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.