net.simplace.util.service.AtlasHelper

Version: 1.0

This class provides helper methods to get compatibility with the IMPETUS Atlas package.


public class AtlasHelper {
// Public Constructors
public AtlasHelper();

// Constants
public static final ColorBrewer COLOR_BREWER;
public static final BrewerPalette BREWER_PAL_ORANGES;
public static final BrewerPalette BREWER_PAL_BLUES;
public static final BrewerPalette BREWER_PAL_SPECTRAL;
public static final BrewerPalette BREWER_PAL_YOR;

// Class Methods
public static AtlasConfig getAtlasConfig() throws AtlasException,
IOException;

get static AtlasConfig - only avaliable once in Framework Client
returns static AtlasConfig
public static void translateRasterLegendData(RasterLegendData aRld);

Replaces the default translations of a de.schmitzm.geotools.data.rld.RasterLegendData with the ISDSS translation. This method assumes that the current (default) translation of the de.schmitzm.geotools.data.rld.RasterLegendData contains a key value to the ISDSS translation map.
public static void translateRasterLegendData(RasterLegendData aRld, String
aLocaleBundle);

Replaces the default translations of a de.schmitzm.geotools.data.rld.RasterLegendData with the ISDSS translation. This method assumes that the current (default) translation of the de.schmitzm.geotools.data.rld.RasterLegendData contains a key value to the ISDSS translation map.
public static void translateAttributeMetadata(AttributeMetadataInterface
aAmd);

Replaces the default translations of a de.schmitzm.geotools.data.amd.AttributeMetadataInterface with the ISDSS translation. This method assumes that the current (default) translation of the de.schmitzm.geotools.data.amd.AttributeMetadataInterface contains a key value to the ISDSS translation map.
public static void translateAttributeMetadata(AttributeMetadataInterface
aAmd, String aLocaleBundle);

Replaces the default translations of a de.schmitzm.geotools.data.amd.AttributeMetadataInterface with the ISDSS translation. This method assumes that the current (default) translation of the de.schmitzm.geotools.data.amd.AttributeMetadataInterface contains a key value to the ISDSS translation map.
public static void translateAttributeMetadata(AttributeMetadataMap aAmdMap);

Replaces the default translations of a de.schmitzm.geotools.data.amd.AttributeMetadataInterface map with the ISDSS translation. This method assumes that the current (default) translation of the de.schmitzm.geotools.data.amd.AttributeMetadataInterface contains a key value to the ISDSS translation map.
public static void translateAttributeMetadata(AttributeMetadataMap aAmdMap,
String aLocaleBundle);

Replaces the default translations of a de.schmitzm.geotools.data.amd.AttributeMetadataInterface map with the ISDSS translation. This method assumes that the current (default) translation of the de.schmitzm.geotools.data.amd.AttributeMetadataInterface contains a key value to the ISDSS translation map.
public static String translateByLocaleProvider(String aTranslationKey);

Translates a String according to the ISDSS net.simplace.util.service.LocaleProvider.
returns {@code aTranslationKey}, if no translation value found in {@link LocaleProvider}
public static String translateByLocaleProvider(String aLocaleBundle, String
aTranslationKey);

Translates a String according to the ISDSS net.simplace.util.service.LocaleProvider.
returns {@code aTranslationKey}, if no translation value found in {@link LocaleProvider}
public static Map initAtlasMapFromParameters(FWAtlasMapPanel aMapPanel, Map
aInputParameterMap, Map aParameterMap, String aSystemID);

Initializes a net.simplace.ui.panel.FWAtlasMapPanel with maps, which are located in a parameter map. The following parameters in aInputParameterMap are supported:
returns every "map."-key with the generated {@link StyledLayerInterface}
public static StyledLayerStyle createSLDFeatureStyledLayerStyleFromElement(
Element aStyleElement, String aLocaleBundle);


returns StyledLayerStyle
public static StyledLayerStyle createSLDGridStyledLayerStyleFromElement(
Element tStyleElement, String aLocaleBundle);


returns StyledLayerStyle
public static void exportLayers(Component aParent, FWAtlasMapPanel aMapPanel);

Opens an file chooser dialog for each displayed layer in a net.simplace.ui.panel.FWAtlasMapPanel (beginning with the top layer) to export the feature collection or raster to file.
public static Style createQuantileStyle(Object aFeatureObject, String aAttr,
int aClassCount, Integer aDigits, String aPaletteName);

Creates a SLD Style for a given feature object by using Qualtiles.
public static Style createQuantileStyle(Object aFeatureObject, String aAttr,
int aClassCount, Integer aDigits, BrewerPalette aPalette);

Creates a SLD Style for a given feature object by using Qualtiles.
public static StyledFeatureCollectionInterface
createQuantileStyledFeatureCollection(FeatureCollection
aFeatureCollection, String aAttr, int aClassCount, Integer aDigits,
BrewerPalette aPalette, String aTitle);

Creates a quantile styled FeatureCollection.
public static StyledLayerStyle
createQuantileFeatureStyledLayerStyleFromElement(Object aFeatureObject,
Element aStyleElement, String aLocaleBundle);

Creates a quantile style for a feature object.
public static StyledLayerStyle createDiscreteGridStyledLayerStyleFromElement(
Object aGridObject, Element aStyleElement, String aLocaleBundle);

Creates a discrete style for a given raster object.
public static StyledLayerStyle
createInterpolativeGridStyledLayerStyleFromElement(Object aGridObject,
Element aStyleElement, String aLocaleBundle);

Creates as interpolated style for a given raster object.


}