Package ucar.unidata.gis.shapefile
Class EsriShapefileRenderer
java.lang.Object
ucar.unidata.gis.GisFeatureRenderer
ucar.unidata.gis.GisFeatureRendererMulti
ucar.unidata.gis.shapefile.EsriShapefileRenderer
- All Implemented Interfaces:
Renderer
Provides a convenient interface to ESRI shapefiles by creating lists of
ucar.unidata.gis.AbstractGisFeature. Java2D Shape or VisAD SampledSet
objects can be created from these.
- Author:
- Russ Rew, John Caron
-
Field Summary
Fields inherited from class ucar.unidata.gis.GisFeatureRenderer
displayProject, shapeList
-
Method Summary
Modifier and TypeMethodDescriptionstatic EsriShapefileRenderer
factory
(InputStream stream) Factory.static EsriShapefileRenderer
Use factory to obtain a EsriShapefileRenderer.protected ucar.unidata.geoloc.ProjectionImpl
_more_protected List
_more_ucar.unidata.geoloc.LatLonRect
_more_Methods inherited from class ucar.unidata.gis.GisFeatureRendererMulti
createFeatureSet, getShapes, getStats, setDiscretization, setPixelMatch, setProjection
Methods inherited from class ucar.unidata.gis.GisFeatureRenderer
draw, getColor, setColor
-
Method Details
-
factory
Use factory to obtain a EsriShapefileRenderer. This caches the EsriShapefile for reuse.Implementation note: should switch to weak references.
- Parameters:
filename
- the filename- Returns:
- the esri shapefile renderer
-
factory
Factory.- Parameters:
stream
- the stream- Returns:
- the esri shapefile renderer
-
getPreferredArea
public ucar.unidata.geoloc.LatLonRect getPreferredArea()_more_- Specified by:
getPreferredArea
in interfaceRenderer
- Specified by:
getPreferredArea
in classGisFeatureRendererMulti
- Returns:
- _more_
-
getFeatures
_more_- Specified by:
getFeatures
in classGisFeatureRendererMulti
- Returns:
- _more_
-
getDataProjection
protected ucar.unidata.geoloc.ProjectionImpl getDataProjection()_more_- Specified by:
getDataProjection
in classGisFeatureRendererMulti
- Returns:
- _more_
-