ilog.views.maps
Interface IlvMapFeatureIterator

All Known Subinterfaces:
IlvLookAheadFeatureIterator, IlvMapRegionOfInterestIterator, IlvMapReusableFeatureIterator
All Known Implementing Classes:
IlvCADRGFrameReader, IlvDTEDReader, IlvGeotiffReader, IlvGraphicLayerDataSource, IlvGTopo30Reader, IlvImageReader, IlvKMLReader, IlvMapDelegateFeatureIterator, IlvMapDXFReader, IlvMapSVGReader, IlvMIDMIFReader, IlvMIFReader, IlvObjectSDOFeatureIterator, IlvPolylineMergerDataSource, IlvPolylineSimplifierDataSource, IlvRasterAbstractReader, IlvRasterBasicImageReader, IlvRasterDTEDReader, IlvRasterGeoTiffReader, IlvRasterReusableFeatureIterator, IlvRasterSDOReader, IlvSDODataSource.OracleIterator, IlvSDOFeatureIterator, IlvShapeFileReader, IlvSHPReader, IlvTigerReader, IlvWMSReader

public interface IlvMapFeatureIterator

An interface used to implement feature iterators. A feature iterator is a convenient interface to access various map feature sources transparently. Feature iterators can be implemented by:

Since:
ILOG JViews 3.0
See Also:
IlvMapLoader

Method Summary
 void dispose()
          Releases the resources allocated by the feature iterator (files, connections, and so on).
 IlvCoordinateSystem getCoordinateSystem()
          Returns the spatial reference system that describes the coordinate system of geometric coordinates of the map features.
 IlvFeatureRenderer getDefaultFeatureRenderer()
          Returns a renderer that can be used to translate the map features returned by this iterator into graphic objects.
 IlvCoordinate getLowerRightCorner()
          Returns the lower right corner of the rectangle containing all the map feature of the list, or null if the iterator cannot provide this information.
 IlvMapFeature getNextFeature()
          Returns the next map feature of the iterator or null if the iteration is finished.
 IlvCoordinate getUpperLeftCorner()
          Returns the upper left corner of the rectangle containing all the map features of the list, or null if the iterator cannot provide this information.
 boolean isGeoreferenced()
          Returns true if the map reader can provide the source projection of its map features.
 

Method Detail

getNextFeature

IlvMapFeature getNextFeature()
                             throws IOException
Returns the next map feature of the iterator or null if the iteration is finished. The returned map feature must be considered as volatile and can be modified by the reader during the next call to its getNextFeature function.

Throws:
IOException

isGeoreferenced

boolean isGeoreferenced()
Returns true if the map reader can provide the source projection of its map features.


getCoordinateSystem

IlvCoordinateSystem getCoordinateSystem()
Returns the spatial reference system that describes the coordinate system of geometric coordinates of the map features.

Returns:
The coordinate system, or null if the coordinate system is unknown.
Since:
JViews 5.0

getUpperLeftCorner

IlvCoordinate getUpperLeftCorner()
Returns the upper left corner of the rectangle containing all the map features of the list, or null if the iterator cannot provide this information.


getLowerRightCorner

IlvCoordinate getLowerRightCorner()
Returns the lower right corner of the rectangle containing all the map feature of the list, or null if the iterator cannot provide this information.


getDefaultFeatureRenderer

IlvFeatureRenderer getDefaultFeatureRenderer()
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.


dispose

void dispose()
Releases the resources allocated by the feature iterator (files, connections, and so on).



Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.