org.ala.layers.intersect
Class IntersectConfig
java.lang.Object
org.ala.layers.intersect.IntersectConfig
public class IntersectConfig
- extends java.lang.Object
- Author:
- Adam
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GEOSERVER_URL_PLACEHOLDER
public static final java.lang.String GEOSERVER_URL_PLACEHOLDER
- See Also:
- Constant Field Values
GEONETWORK_URL_PLACEHOLDER
public static final java.lang.String GEONETWORK_URL_PLACEHOLDER
- See Also:
- Constant Field Values
IntersectConfig
public IntersectConfig(FieldDAO fieldDao,
LayerDAO layerDao)
load
public void load()
getAlaspatialOutputPath
public static java.lang.String getAlaspatialOutputPath()
getLayerFilesPath
public static java.lang.String getLayerFilesPath()
getLayerIndexUrl
public static java.lang.String getLayerIndexUrl()
getThreadCount
public static int getThreadCount()
getIntersectionFile
public IntersectionFile getIntersectionFile(java.lang.String fieldId)
getFieldIdFromFile
public java.lang.String getFieldIdFromFile(java.lang.String file)
addToShapeFileCache
public void addToShapeFileCache(java.lang.String fieldIds)
- Add shape files to the shape file cache.
- Parameters:
fieldIds - comma separated fieldIds. Must be cl fields.
getShapeFileCache
public SimpleShapeFileCache getShapeFileCache()
getGridBufferSize
public static int getGridBufferSize()
getGridCachePath
public static java.lang.String getGridCachePath()
getGridCacheReaderCount
public static int getGridCacheReaderCount()
getConfigReloadWait
public static long getConfigReloadWait()
requiresReload
public boolean requiresReload()
isLocalSampling
public boolean isLocalSampling()
getFieldsByDB
public java.util.List<Field> getFieldsByDB()
getGeoserverUrl
public static java.lang.String getGeoserverUrl()
getGeonetworkUrl
public static java.lang.String getGeonetworkUrl()
getAnalysisLayerFilesPath
public static java.lang.String getAnalysisLayerFilesPath()
getGdalPath
public static java.lang.String getGdalPath()
getAnalysisResolutions
public static java.util.List<java.lang.Double> getAnalysisResolutions()
getOccurrenceSpeciesRecordsFilename
public static java.lang.String getOccurrenceSpeciesRecordsFilename()
getUploadedShapesFieldId
public static java.lang.String getUploadedShapesFieldId()
getApiKeyCheckUrlTemplate
public static java.lang.String getApiKeyCheckUrlTemplate()
getSpatialPortalAppName
public static java.lang.String getSpatialPortalAppName()
getIntersectionFiles
public java.util.Map<java.lang.String,IntersectionFile> getIntersectionFiles()
getAnalysisLayerInfo
public java.lang.String[] getAnalysisLayerInfo(java.lang.String id)
- get info on an analysis layer
- Parameters:
id - layer id as String
- Returns:
- String [] with [0] = analysis id, [1] = path to grid file, [2] = analysis type
Copyright © 2014. All Rights Reserved.