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 EsriShapefileRendererfactory(InputStream stream) Factory.static EsriShapefileRendererUse 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, setProjectionMethods 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:
getPreferredAreain interfaceRenderer- Specified by:
getPreferredAreain classGisFeatureRendererMulti- Returns:
- _more_
-
getFeatures
_more_- Specified by:
getFeaturesin classGisFeatureRendererMulti- Returns:
- _more_
-
getDataProjection
protected ucar.unidata.geoloc.ProjectionImpl getDataProjection()_more_- Specified by:
getDataProjectionin classGisFeatureRendererMulti- Returns:
- _more_
-