@Deprecated public class IlpShapeFileBackground extends Object implements IlpBackground
.shp Shape files as background.
This background loader reads:
.shp.
.dbf (optional),
.shx, and the Rogue Wave JViews spatial index file,
with extension .idx (optional).
See also: the Rogue Wave JViews demo demos/maps/esri, which can
be used to create the spatial index (.idx) files, and
the Rogue Wave JViews package ilog.views.maps.format.shapefile.
The XML settable properties are:
property name="url" (required).shp file. The other three files are expected
to be located in the same directory.property name="loadOnDemand" (optional)| Modifier and Type | Field and Description |
|---|---|
protected URL |
dbfURL
Deprecated.
|
protected URL |
idxURL
Deprecated.
|
protected boolean |
loadOnDemand
Deprecated.
|
protected URL |
shpURL
Deprecated.
|
protected URL |
shxURL
Deprecated.
|
protected boolean |
useLoadOnDemand
Deprecated.
|
| Constructor and Description |
|---|
IlpShapeFileBackground()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected URL |
addExtension(String base,
String extension)
Deprecated.
|
protected URL |
checkExists(URL url)
Deprecated.
|
IlvManagerLayer |
createLayer(IlpViewsView view,
URL SHPfileURL)
Deprecated.
Creates an empty
IlvManagerLayer suitable for a .shp file. |
protected IlvFeatureRenderer |
createRenderer(IlpViewsView view,
URL SHPfileURL,
IlvMapFeatureIterator reader)
Deprecated.
Creates a renderer for the attributes of the map.
|
void |
fillLayer(IlpViewsView view,
URL SHPfileURL,
IlvManagerLayer layer)
Deprecated.
Fills a layer with a
.shp file. |
boolean |
isLoadOnDemand()
Deprecated.
Returns
true if the memory saving technique of
load-on-demand is enabled. |
void |
setLoadOnDemand(boolean on)
Deprecated.
Enables or disables load-on-demand.
|
protected String |
withoutExtension(URL url)
Deprecated.
|
protected boolean loadOnDemand
protected URL shpURL
protected URL dbfURL
protected URL shxURL
protected URL idxURL
protected boolean useLoadOnDemand
public boolean isLoadOnDemand()
true if the memory saving technique of
load-on-demand is enabled.public void setLoadOnDemand(boolean on)
protected URL addExtension(String base, String extension)
protected IlvFeatureRenderer createRenderer(IlpViewsView view, URL SHPfileURL, IlvMapFeatureIterator reader)
public IlvManagerLayer createLayer(IlpViewsView view, URL SHPfileURL)
IlvManagerLayer suitable for a .shp file.createLayer in interface IlpBackgroundview - The view in which the background is to be displayed.SHPfileURL - The location of the background data.public void fillLayer(IlpViewsView view, URL SHPfileURL, IlvManagerLayer layer)
.shp file.fillLayer in interface IlpBackgroundview - The view in which the background is to be displayed.SHPfileURL - The location of the background data.layer - The layer to be filled.© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.