public class IlvTigerDataSource extends IlvTilableDataSource
| Modifier and Type | Class and Description |
|---|---|
static class |
IlvTigerDataSource.CFCCFilter
A specialized criterion filter that returns the value of the CFCC attribute of a map feature.
|
IlvHierarchicalDataSource.CriterionFilter, IlvHierarchicalDataSource.SingleAttributeFilterfeatureIterator, filename, nameMap, styleMaprenderer, usingGeodeticComputation| Constructor and Description |
|---|
IlvTigerDataSource(IlvInputStream stream)
Constructs a
IlvTigerDataSource from the specified input stream. |
IlvTigerDataSource(String filename)
Constructs a
IlvTigerDataSource from the specified file name. |
IlvTigerDataSource(URL url)
Constructs a
IlvTigerDataSource from the specified url. |
| Modifier and Type | Method and Description |
|---|---|
protected IlvMapRegionOfInterestIterator |
createTiledIterator(IlvMapLayer layer)
Creates an iterator that will iterate through the map features
for a specific area of interest.
|
protected void |
createTiledLayers()
Creates all the possible map layers that may be needed when load on
demand occurs in the data source insertion layer.
|
protected boolean |
isSourceDataAvailable()
Checks whether the source data this
IlvMapDataSource is
based on is available (file, database connection, url...). |
void |
readInfo(String info)
Creates the table of attributes values from a text file description.
|
void |
setCFCCCodeList(String[] cfccCodes)
Sets the list of accepted CFCC codes
|
void |
write(IlvOutputStream stream)
Writes this
IlvVMAPDataSource to an IlvOutputStream. |
createGenericTiles, getColumnCount, getLatMax, getLatMin, getLonMax, getLonMin, getRowCount, isMultiThreaded, reset, setAreaOfinterest, setMultiThreaded, setTilingParameters, setupTiledLoaders, start, useTilingaddCriterionFilter, addLayer, createFeatureRenderer, createInsertionLayer, createStyle, getCriterionFilters, getFeatureIterator, getFeatureRenderer, getFeatureRenderer, getKey, getMapLayer, getStyle, isAcceptNullValues, removeAllCriterionFilters, removeCriterionFilter, setAcceptNullValues, setupLayeraddDataSourceListener, callListeners, getBackupDataSources, getCoordinateSystem, getDescription, getInsertionLayer, getManager, getName, getNode, getValidExtentions, hasInsertionLayer, initBackupDataSource, initInsertionLayer, isAttachingAttributes, isGrapherMode, isSaveBackupDataSources, isUsingBackupDataSource, isUsingGeodeticComputation, mapIntersects, removeDataSourceListener, setAttachingAttributes, setCoordinateSystem, setDescription, setFeatureRenderer, setForceUsingBackupDataSource, setGrapherMode, setInsertionLayer, setManager, setName, setSaveBackupDataSources, setValidExtentions, toStringpublic IlvTigerDataSource(IlvInputStream stream) throws IlvReadFileException
IlvTigerDataSource from the specified input stream.stream - The IlvInputStream to read from.IlvReadFileExceptionpublic IlvTigerDataSource(String filename) throws MalformedURLException
IlvTigerDataSource from the specified file name.filename - The name of the tiger file to read.MalformedURLException - if the path cannot be parsed as a URLpublic IlvTigerDataSource(URL url) throws MalformedURLException
IlvTigerDataSource from the specified url.url - The name of the tiger file to read.MalformedURLException - if the path cannot be parsed as a URLpublic void readInfo(String info)
readInfo in class IlvHierarchicalDataSourceinfo - The description file.IlvHierarchicalDataSource.readInfo(java.lang.String)public void setCFCCCodeList(String[] cfccCodes)
cfccCodes - an array of accepted codespublic void write(IlvOutputStream stream) throws IOException
IlvVMAPDataSource to an IlvOutputStream.write in interface IlvPersistentObjectwrite in class IlvTilableDataSourcestream - The stream to write to.IOException - if there is a problem writing to stream.IlvHierarchicalDataSource.write(ilog.views.io.IlvOutputStream)protected IlvMapRegionOfInterestIterator createTiledIterator(IlvMapLayer layer)
createTiledIterator in class IlvTilableDataSourcelayer - The layer to create objects for.IlvTilableDataSource.createTiledIterator(ilog.views.maps.beans.IlvMapLayer)protected void createTiledLayers()
createTiledLayers in class IlvTilableDataSourceIlvTilableDataSource.createTiledLayers()protected boolean isSourceDataAvailable()
IlvMapDataSource is
based on is available (file, database connection, url...). A
.ivl, JViews Maps file keeps references to the original
sources the map was built from. It can happen that these sources are not available when
opening the map, for example, when the map is transferred to another machine. This method
checks that availability. In the case where these sources are not available, all operations
that need them are performed from the data embedded in the map, but there is a risk of loosing
information (when reprojecting for example).
This method should be overridden by subclasses.isSourceDataAvailable in class IlvMapDataSourcetrue, if the original source data is available.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.