| java.lang.Object de.fho.jump.pirol.utilities.apiTools.ToolToMakeYourLifeEasier de.fho.jump.pirol.utilities.apiTools.LayerTools
LayerTools | public class LayerTools extends ToolToMakeYourLifeEasier (Code) | | Class for more convenient use of Layer objects. Offers methods e.g. to get features that reside within
a given geometry or to easily add a result layer to the map.
author: Ole Rahn author: FH Osnabrück - University of Applied Sciences Osnabrück author: Project PIROL 2005 author: Daten- und Wissensmanagement |
Method Summary | |
public static Layer | addAndSelectStandardResultLayer(String title, FeatureCollection featCollection, Color color, PlugInContext context, PirolFeatureCollectionRole role) | public static Layer | addAndSelectStandardResultLayer(String title, FeatureCollection featCollection, PlugInContext context, PirolFeatureCollectionRole role) | public static Layer | addStandardResultLayer(String title, FeatureCollection featCollection, PlugInContext context, PirolFeatureCollectionRole role) | public static Layer | addStandardResultLayer(String title, FeatureCollection featCollection, Color color, PlugInContext context, PirolFeatureCollectionRole role) | public static Layer | addStandardResultLayer(String title, FeatureCollection featCollection, Color color, PlugInContext context, boolean select, PirolFeatureCollectionRole role) | public Layer | addStandardResultLayer(String title, FeatureCollection featCollection, PirolFeatureCollectionRole role) | public List | getFeaturesInFence() | public Feature[] | getFeaturesInFenceInLayer(Layer layer, Geometry fenceGeometry) | public Feature[] | getFeaturesInFenceInLayer(Feature[] featArray, Geometry fenceGeometry) | public Geometry | getFenceGeometry() | public Map | getLayer2FeatureMap(List features) | public static Map | getLayer2FeatureMap(List features, PlugInContext context) | public int | getNumSelectedLayers() | public static int | getNumSelectedLayers(PlugInContext context) | public Category | getResultCategory() | public static Category | getResultCategory(PlugInContext context) | public List | getSelectedFeatures() | public static Layer | getSelectedLayer(PlugInContext context) | public static Layerable | getSelectedLayerable(PlugInContext context, Class layerableClass) | public Layer[] | getSelectedLayers() | public static Layer[] | getSelectedLayers(PlugInContext context, int num) Get a given number of selected Layers.
Parameters: context - the current PlugInContext Parameters: num - max. | public static String | getUniqueLayerName(PlugInContext context, String name) | final public static Layer | putGeometryArrayIntoMap(Geometry[] geometryArray, PlugInContext context) |
getFeaturesInFence | public List getFeaturesInFence()(Code) | | |
getFeaturesInFenceInLayer | public Feature[] getFeaturesInFenceInLayer(Layer layer, Geometry fenceGeometry)(Code) | | |
getFeaturesInFenceInLayer | public Feature[] getFeaturesInFenceInLayer(Feature[] featArray, Geometry fenceGeometry)(Code) | | |
getFenceGeometry | public Geometry getFenceGeometry()(Code) | | |
getLayer2FeatureMap | public Map getLayer2FeatureMap(List features)(Code) | | |
getNumSelectedLayers | public int getNumSelectedLayers()(Code) | | |
getSelectedFeatures | public List getSelectedFeatures()(Code) | | |
getSelectedLayer | public static Layer getSelectedLayer(PlugInContext context)(Code) | | get one Layer that is selected
Parameters: context - the current PlugInContext one selected Layer, null if no Layers are selected |
getSelectedLayerable | public static Layerable getSelectedLayerable(PlugInContext context, Class layerableClass)(Code) | | get one Layer that is selected
Parameters: context - the current PlugInContext one selected Layer, null if no Layers are selected |
getSelectedLayers | public Layer[] getSelectedLayers()(Code) | | |
getSelectedLayers | public static Layer[] getSelectedLayers(PlugInContext context, int num)(Code) | | Get a given number of selected Layers.
Parameters: context - the current PlugInContext Parameters: num - max. number of layers to return, -1 returns all selected layers a given number of selected Layers, null if no Layers are selected |
getUniqueLayerName | public static String getUniqueLayerName(PlugInContext context, String name)(Code) | | returns a layername, that is not yet used in the layername panel
|
putGeometryArrayIntoMap | final public static Layer putGeometryArrayIntoMap(Geometry[] geometryArray, PlugInContext context)(Code) | | |
|
|