public class GeorepoLayer extends Object
| Constructor and Description |
|---|
GeorepoLayer() |
| Modifier and Type | Method and Description |
|---|---|
String |
create(javax.servlet.ServletContext context,
String absFileName,
String fileType,
String layerTitle,
int SRID,
String csvDelimiter,
String workspace,
boolean transactionSupport,
String geoserverDataDir,
String[] optColumnTypes)
Setting up a new georepo geoserver layer with postgis source.
|
static String |
replaceLayer(javax.servlet.ServletContext context,
String absFileName,
int SRID,
String csvDelimiter,
String[] optColumnTypes,
int layerId)
Replaces content of a postgis datasource/ table with new content.
|
public String create(javax.servlet.ServletContext context, String absFileName, String fileType, String layerTitle, int SRID, String csvDelimiter, String workspace, boolean transactionSupport, String geoserverDataDir, String[] optColumnTypes) throws IOException
inputFile - fileType - layerTitle - SRID - csvDelimiter - userId - ExceptionIOExceptionpublic static String replaceLayer(javax.servlet.ServletContext context, String absFileName, int SRID, String csvDelimiter, String[] optColumnTypes, int layerId) throws Exception
context - absFileName - fileType - layerTitle - SRID - csvDelimiter - workspace - transactionSupport - geoserverDataDir - optColumnTypes - layerId - ExceptionCopyright © 2020. All rights reserved.