public static class IlvTiledShapeDataSource.FilteredShapeFileTileLoader extends IlvShapeFileTileLoader
Constructor and Description |
---|
FilteredShapeFileTileLoader(IlvHierarchicalDataSource.CriterionFilter filter,
String shpFilename,
String dbfFilename,
String shxFilename,
String indexFilename)
Creates a new
FilteredShapeFileTileLoader . |
FilteredShapeFileTileLoader(IlvHierarchicalDataSource.CriterionFilter filter,
URL shpURL,
URL dbfURL,
URL shxURL,
URL indexURL)
Constructs a new
FilteredShapeFileTileLoader . |
FilteredShapeFileTileLoader(IlvInputStream stream)
Reads a
FilteredShapeFileTileLoader from the specified input stream. |
Modifier and Type | Method and Description |
---|---|
IlvMapFeatureIterator |
getFeatureIterator(IlvTile tile)
Returns the feature iterator to load features from the specified tile.
|
void |
write(IlvOutputStream stream)
Writes this tile loader to the specified stream.
|
getCoordinateSystem, getDBFFilename, getDBFURL, getDefaultFeatureRenderer, getLowerRightCorner, getReader, getReader, getSHPFilename, getSHPURL, getSHXFilename, getSHXURL, getSpatialIndexFilename, getSpatialIndexURL, getStringEncoding, getTileOrigin, getUpperLeftCorner, isInterningStringAttributes, isPersistent, setCoordinateSystem, setInterningStringAttributes, setStringEncoding
getFeatureRenderer, isAttachingAttributes, load, release, setAttachingAttributes, setFeatureRenderer
public FilteredShapeFileTileLoader(IlvInputStream stream) throws IlvReadFileException, IOException
FilteredShapeFileTileLoader
from the specified input stream.stream
- The input stream.IlvReadFileException
- If a tile loader cannot be read from the
specified stream.IOException
- If an I/O error occurs.public FilteredShapeFileTileLoader(IlvHierarchicalDataSource.CriterionFilter filter, String shpFilename, String dbfFilename, String shxFilename, String indexFilename) throws IOException
FilteredShapeFileTileLoader
.filter
- The filter used while loading tiles.shpFilename
- The name of the .shp
filename.dbfFilename
- The name of the .dbf
filename.shxFilename
- The name of the .shx
filename.indexFilename
- The name of the Perforce JViews spatial index filename.IOException
public FilteredShapeFileTileLoader(IlvHierarchicalDataSource.CriterionFilter filter, URL shpURL, URL dbfURL, URL shxURL, URL indexURL) throws IOException
FilteredShapeFileTileLoader
.filter
- The filter used while loading tiles.shpURL
- The URL of the .shp
filename.dbfURL
- The URL of the .dbf
filename.shxURL
- The URL of the .shx
filename.indexURL
- The URL of the Perforce JViews spatial index filename.IOException
public IlvMapFeatureIterator getFeatureIterator(IlvTile tile) throws Exception
IlvLookAheadFeatureIterator
to read features for the specified tile.getFeatureIterator
in class IlvShapeFileTileLoader
tile
- The tile.null
if no features are to be loaded.Exception
IlvShapeFileTileLoader.getFeatureIterator(ilog.views.tiling.IlvTile)
public void write(IlvOutputStream stream) throws IOException
write
in interface IlvPersistentObject
write
in interface IlvTileLoader
write
in class IlvShapeFileTileLoader
stream
- The output stream.IOException
- thrown when an exception occurs during
the write operation for this object.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.