public class MapServer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_FILE |
static java.lang.String |
DEFAULT_FONT |
static java.lang.String |
FONTSET_FILE |
static java.lang.String |
FONTSET_FOLDER |
static java.lang.String |
IMAGE_FOLDER |
static java.lang.String |
MAPFILE_FILE |
static java.lang.String |
MAPSERVER_LAYER_PROPERTIES |
static java.lang.String |
MAPSERVER_LAYERPANEL_PROPERTIES |
static java.lang.String |
MAPSERVER_MAP_PROPERTIES |
static java.lang.String |
MAPSERVER_PANEL_PROPERTIES |
static java.lang.String |
MAPSERVER_SYMBOL_PROPERTIES |
static java.lang.String |
NAME |
static java.lang.String |
SYMBOLSET_FILE |
static java.lang.String |
TEMP_DIR |
Constructor and Description |
---|
MapServer(PublishProperties publishProperties) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
addImageUrl(java.lang.String url) |
boolean |
createWCSProject() |
boolean |
createWFSProject() |
boolean |
createWMSProject() |
java.lang.String |
getCorrectPath(java.lang.String fileFormat) |
java.lang.String |
getCorrectPath(java.lang.String fileFormat,
java.io.File origen) |
java.lang.String |
getCorrectProjection(java.lang.String abrev) |
java.io.File |
getCurrentFile() |
java.lang.String |
getOverrideFiles() |
Map |
getPublishedMap(ViewDocument viewDoc) |
PublishProperties |
getPublishProperties() |
boolean |
hasMapfile() |
void |
loadAllServices() |
void |
loadWCSService() |
void |
loadWFSService() |
void |
loadWMSService() |
Layer |
makepublish(FLayer layer) |
Layer |
makepublish(FLayer lyr,
boolean b) |
java.lang.Object |
parserFile(java.io.File file,
java.lang.Object mapObject) |
void |
parserFile(java.lang.Object mapObject,
java.io.File file) |
void |
parserFile(java.lang.Object mapObject,
java.io.File file,
boolean removeTemporal) |
Map |
publish() |
Map |
publish(boolean loadLayers) |
void |
resetCurrentFile() |
void |
restoreFile(java.io.File xmlFile,
java.io.File file2) |
void |
setCurrentFile(java.io.File f) |
void |
setOverrideFiles(java.lang.String b) |
void |
unloadAllServices() |
public static final java.lang.String NAME
public static final java.lang.String MAPSERVER_MAP_PROPERTIES
public static final java.lang.String MAPSERVER_PANEL_PROPERTIES
public static final java.lang.String MAPSERVER_LAYER_PROPERTIES
public static final java.lang.String MAPSERVER_LAYERPANEL_PROPERTIES
public static final java.lang.String MAPSERVER_SYMBOL_PROPERTIES
public static final java.lang.String MAPFILE_FILE
public static final java.lang.String SYMBOLSET_FILE
public static final java.lang.String TEMP_DIR
public static final java.lang.String IMAGE_FOLDER
public static final java.lang.String FONTSET_FOLDER
public static final java.lang.String FONTSET_FILE
public static final java.lang.String DEFAULT_FONT
public static final java.lang.String DEFAULT_FILE
public MapServer(PublishProperties publishProperties)
public Map publish()
public Map publish(boolean loadLayers)
protected java.lang.String addImageUrl(java.lang.String url)
public PublishProperties getPublishProperties()
public boolean createWMSProject()
public boolean createWFSProject()
public boolean createWCSProject()
public Map getPublishedMap(ViewDocument viewDoc)
public java.lang.String getCorrectProjection(java.lang.String abrev)
public java.lang.String getCorrectPath(java.lang.String fileFormat)
public java.lang.String getCorrectPath(java.lang.String fileFormat, java.io.File origen)
public void setOverrideFiles(java.lang.String b)
public java.lang.String getOverrideFiles()
public java.io.File getCurrentFile()
public void resetCurrentFile()
public void setCurrentFile(java.io.File f)
public void loadWMSService()
public void loadWFSService()
public void loadWCSService()
public void loadAllServices()
public void unloadAllServices()
public boolean hasMapfile()
public java.lang.Object parserFile(java.io.File file, java.lang.Object mapObject)
public void parserFile(java.lang.Object mapObject, java.io.File file)
public void parserFile(java.lang.Object mapObject, java.io.File file, boolean removeTemporal)
public void restoreFile(java.io.File xmlFile, java.io.File file2)