public class GISOperations extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GISOperations.featuresTypes |
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULTSTYLE |
static String |
TEMPLATEGROUP |
| Constructor and Description |
|---|
GISOperations() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createFulfilGeometriesStatement(String tableName) |
boolean |
createGroupOnGeoServer(GISInformation gisInfo)
Creates a new group on the geoserver using a previous template
|
boolean |
createLayers(GISInformation gisInfo) |
static String |
createLayerTableStatement(String tableName,
String featureName,
GISOperations.featuresTypes type) |
boolean |
createNewGroupOnGeoServer(GISInformation gisInfo)
creates a new group on the most unloaded geoserver
|
boolean |
deleteGroup(GISInformation gisInfo,
String groupName)
deletes a group on the geoserver containing it
|
boolean |
deleteLayer(GISInformation gisInfo,
String layerName)
deletes a layer on the right geoserver by asking to geonetwork
|
boolean |
deleteStyle(GISInformation gisInfo,
String styleName)
deletes a style on the selected geoserver
|
boolean |
generateGisMap(GISInformation gisInfo)
generates a gis map blocking if a style creation failure happens
|
boolean |
generateGisMap(GISInformation gisInfo,
boolean ignoreStylesFailure)
generates a complete GIS MAP on a remote GEO SERVER
The user has to fill in the gisInfo object in order to generate the map
|
String |
getCurrentGeoServer() |
org.gcube.common.geoserverinterface.GeoCaller |
getGeoCaller(GISInformation gisInfo)
builds up a GeoCaller which will call geonetwork for getting a geoserver reference and then will use the geoserver like in the old GeoserverCaller
|
static void |
main(String[] args) |
public static String DEFAULTSTYLE
public static String TEMPLATEGROUP
public String getCurrentGeoServer()
public static String createFulfilGeometriesStatement(String tableName)
public static String createLayerTableStatement(String tableName, String featureName, GISOperations.featuresTypes type)
public org.gcube.common.geoserverinterface.GeoCaller getGeoCaller(GISInformation gisInfo)
gisInfo - public boolean deleteStyle(GISInformation gisInfo, String styleName) throws Exception
gisInfo - styleName - Exceptionpublic boolean deleteLayer(GISInformation gisInfo, String layerName) throws Exception
gisInfo - layerName - Exceptionpublic boolean deleteGroup(GISInformation gisInfo, String groupName) throws Exception
gisInfo - groupName - Exceptionpublic boolean createLayers(GISInformation gisInfo) throws Exception
Exceptionpublic boolean createNewGroupOnGeoServer(GISInformation gisInfo) throws Exception
gisInfo - Exceptionpublic boolean createGroupOnGeoServer(GISInformation gisInfo) throws Exception
gisInfo - Exceptionpublic boolean generateGisMap(GISInformation gisInfo)
gisInfo - public boolean generateGisMap(GISInformation gisInfo, boolean ignoreStylesFailure)
public static void main(String[] args)
Copyright © 2014. All Rights Reserved.