ilog.views.maps.tiling
Interface IlvMapRegionOfInterestIterator

All Superinterfaces:
IlvMapFeatureIterator, IlvMapReusableFeatureIterator
All Known Implementing Classes:
IlvKMLReader, IlvMapDXFReader, IlvMapSVGReader, IlvSDODataSource.OracleIterator, IlvTigerReader, IlvWMSReader

public interface IlvMapRegionOfInterestIterator
extends IlvMapReusableFeatureIterator

This subinterface of IlvMapReusableFeatureIterator will be used by the IlvTilableDataSource instances to load tiles for a region of interest.

Since:
JViews 7.5

Method Summary
 Rectangle2D getLatLonBounds()
          Returns the latitude/longitude bounds for the list of all geometries or null if such is not available.
 void setRegionOfInterest(double lonMin, double latMin, double lonMax, double latMax)
          Sets the region of interest to return features for.
 
Methods inherited from interface ilog.views.maps.IlvMapReusableFeatureIterator
restart
 
Methods inherited from interface ilog.views.maps.IlvMapFeatureIterator
dispose, getCoordinateSystem, getDefaultFeatureRenderer, getLowerRightCorner, getNextFeature, getUpperLeftCorner, isGeoreferenced
 

Method Detail

setRegionOfInterest

void setRegionOfInterest(double lonMin,
                         double latMin,
                         double lonMax,
                         double latMax)
Sets the region of interest to return features for. After this method is called, the IlvMapFeatureIterator.getNextFeature() method should not return any feature which geometry is outside this area.

Parameters:
lonMin - longitude min in radians.
latMin - latitude min in radians.
lonMax - longitude max in radians.
latMax - latitude max in radians.

getLatLonBounds

Rectangle2D getLatLonBounds()
Returns the latitude/longitude bounds for the list of all geometries or null if such is not available.

Returns:
a rectangle enclosing all features.
Since:
JViews 7.5


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