Package com.kheops.jmap.server
Class JMapServerRasterLayer
java.lang.Object
com.kheops.jmap.metadata.LocalizedObject
com.kheops.jmap.metadata.JMapObject
com.kheops.jmap.server.JMapServerLayer
com.kheops.jmap.server.JMapServerRasterLayer
- All Implemented Interfaces:
LayerConstants,LayerNode,Serializable,Cloneable
- Direct Known Subclasses:
JMapServerArcgisLayer,JMapServerBingLayer,JMapServerEcwLayer,JMapServerGdalLayer,JMapServerGoogleLayer,JMapServerImageLayer,JMapServerOpenStreetMapLayer,JMapServerWmsLayer,JMapServerWmtsLayer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected Stringprotected Stringprotected RasterTransformationInfo[]protected booleanFields inherited from class com.kheops.jmap.server.JMapServerLayer
acl, cacheTimeout, dataSourceId, dataSourceInfo, description, dynamicRefresh, elementType, extent, geometryType, id, infoReportConfig, lastException, lastUpdateTime, layerProperties, layerUpdateStatus, maximumVisibleScale, minimumVisibleScale, name, OBJECT_VERSION_ID_5_0, OBJECT_VERSION_ID_6_0, OBJECT_VERSION_ID_6_5, OBJECT_VERSION_ID_7_0, OBJECT_VERSION_ID_7_0_FUNAFUTI, OBJECT_VERSION_ID_7_0_ISTANBUL, objectVersionId, offset, projectId, readOnlyMask, status, styleManagerFields inherited from interface com.kheops.jmap.client.layers.LayerConstants
DEFAULT_MAXIMUM_SCALE, DEFAULT_MINIMUM_SCALE, PERSONAL_LAYER_BASE_ID, PERSONAL_LAYER_MAX_ID, PROJECT_LAYER_BASE_ID, PROJECT_LAYER_MAX_ID, PROPERTY_ALL_SETTINGS, PROPERTY_ALWAYS_DRAW_SELECTION, PROPERTY_DRAW_GRID, PROPERTY_EDITABLE, PROPERTY_EDITING, PROPERTY_INCLUDE_IN_CONTEXT, PROPERTY_INDEX, PROPERTY_LISTED, PROPERTY_LOCAL, PROPERTY_MAX_SCALE, PROPERTY_MIN_SCALE, PROPERTY_PUBLISHED, PROPERTY_QUERIABLE, PROPERTY_SELECTABLE, PROPERTY_USE_CLIENT_CACHE, PROPERTY_VISIBLE, REQUEST_MODE_BY_REGION, REQUEST_MODE_BY_TILE, RESERVED_LAYER_BASE_ID, RESERVED_LAYER_MAX_ID, SYSTEM_LAYER_BASE_AUTO_ID, SYSTEM_LAYER_BASE_ID, SYSTEM_LAYER_MAX_ID, TILING_MODE_AUTO, TILING_MODE_MANUAL, USER_LAYER_BASE_AUTO_ID, USER_LAYER_BASE_ID, USER_LAYER_MAX_ID -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJMapServerRasterLayer(int dataSourceId) JMapServerRasterLayer(RasterDataSourceInfo dataSourceInfo) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclone(JMapServerLayer serverLayer) Clones all properties from this server layer into the specified JMapServerLayer instance.intprotected booleanisDataStructureDifferent(JMapServerLayer oldLayer) Compare with database-persisted layer to determine if some properties have changed.voidsetDataSourceInfo(SpatialDataSourceInfo dataSourceInfo) voidsetRasterTransformations(RasterTransformationInfo[] rasterTransformations) abstract RasterLayerInfoprotected voidtoLayerInfo(LayerInfo layerInfo) Copies all properties from this server layer to the specified layer info.voidupdate(Projection projectProjection) protected voidMethods inherited from class com.kheops.jmap.server.JMapServerLayer
clone, equals, getDataSourceId, getDataSourceInfo, getDescription, getDescription, getDynamicRefresh, getElementType, getId, getInfoReportConfig, getLastUpdateTime, getLayerProperties, getMaximumVisibleScale, getMinimumVisibleScale, getName, getName, getOffset, getProjectId, getReadOnlyMask, getStyle, getStyleManager, getUpdateStatus, hashCode, isDynamic, isEditable, isEnabledCaching, isIndex, isListed, isNamed, isPublished, isSelectable, isVisible, removeTranslationsOtherThan, setDescription, setDescription, setDynamicRefresh, setElementType, setId, setIndex, setLastUpdateTime, setLayerProperties, setListed, setMaximumVisibleScale, setMinimumVisibleScale, setName, setName, setOffset, setProjectId, setProperty, setPublished, setReadOnlyMask, setReadOnlyProperty, setSelectable, setStyle, setStyleManager, setVisibleMethods inherited from class com.kheops.jmap.metadata.JMapObject
clone, setAclMethods inherited from class com.kheops.jmap.metadata.LocalizedObject
getAvailableLocales, getTranslation, isTranslationExists, setTranslation, updateTranslations
-
Field Details
-
imageFormat
-
imageFormatParams
-
transparencyEnabled
protected boolean transparencyEnabled -
backgroundColor
protected int backgroundColor -
rasterTransformations
-
-
Constructor Details
-
JMapServerRasterLayer
protected JMapServerRasterLayer(int dataSourceId) -
JMapServerRasterLayer
-
-
Method Details
-
getParameters
-
getRasterTransformations
-
setRasterTransformations
-
getGeometryType
public int getGeometryType() -
toLayerInfo
- Specified by:
toLayerInfoin classJMapServerLayer
-
toLayerInfo
Copies all properties from this server layer to the specified layer info.- Overrides:
toLayerInfoin classJMapServerLayer- Parameters:
layerInfo- the layer info to copy properties into.
-
clone
Clones all properties from this server layer into the specified JMapServerLayer instance.- Overrides:
clonein classJMapServerLayer- Parameters:
serverLayer- the instance that will receive cloned properties.
-
update
- Specified by:
updatein classJMapServerLayer
-
setDataSourceInfo
- Overrides:
setDataSourceInfoin classJMapServerLayer- Parameters:
dataSourceInfo- The dataSourceInfo to set.
-
validateObjectImpl
protected void validateObjectImpl()- Overrides:
validateObjectImplin classJMapServerLayer
-
isDataStructureDifferent
Description copied from class:JMapServerLayerCompare with database-persisted layer to determine if some properties have changed. If any data-sensible property has changed, we need to update last update time to notify remote servers that layer data needs to be updated.- Overrides:
isDataStructureDifferentin classJMapServerLayer- Returns:
trueif we need to update property lastUpdateTime,falseotherwise.
-