@Entity public class TileService extends GeoService
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_CRS |
static String |
PARAM_IMAGEEXTENSION |
static String |
PARAM_RESOLUTIONS |
static String |
PARAM_SERVICEBBOX |
static String |
PARAM_SERVICENAME |
static String |
PARAM_TILESIZE |
static String |
PARAM_TILINGPROTOCOL |
static String |
PROTOCOL |
static String |
TILING_PROTOCOL_TMS |
static String |
TILING_PROTOCOL_WMTS |
DETAIL_ORIGINAL_NAME, DETAIL_OVERRIDDEN_URL, DETAIL_USE_INTERSECT, DETAIL_USE_PROXY, PARAM_MUST_LOGIN, PARAM_ONLINE_CHECK_ONLY, PARAM_PASSWORD, PARAM_USERNAME| Constructor and Description |
|---|
TileService() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkOnline(javax.persistence.EntityManager em) |
List<TileMatrixSet> |
getMatrixSets() |
Layer |
getTilingLayer()
Get the layer that contains the tiling settings etc.
|
String |
getTilingProtocol() |
GeoService |
loadFromUrl(String url,
Map params,
WaitPageStatus status,
javax.persistence.EntityManager em) |
static double |
metersPerUnit(String crs) |
protected void |
parseBoundingBox(Layer layer,
XPath xpath,
Node l,
List<TileMatrixSet> tmses) |
protected List<TileMatrixSet> |
parseMatrixSets(XPath xpath,
Document doc) |
protected TileMatrix |
parseTileMatrix(XPath xpath,
Node tileMatrix,
TileMatrixSet tms) |
protected TileMatrixSet |
parseTileMatrixSet(XPath xpath,
Node matrixSet) |
protected TileService |
parseWMTSCapabilities(String url,
Map params,
WaitPageStatus status,
javax.persistence.EntityManager em) |
void |
setMatrixSets(List<TileMatrixSet> matrixSets) |
void |
setTilingProtocol(String tilingProtocol) |
org.json.JSONObject |
toJSONObject(boolean flatten,
Set<String> layersToInclude,
boolean validXmlTags,
boolean includeAuthorizations,
javax.persistence.EntityManager em) |
org.json.JSONObject |
toJSONObject(boolean flatten,
Set<String> layersToInclude,
boolean validXmlTags,
javax.persistence.EntityManager em) |
authorizationsModified, getAuthorizationsModified, getCategory, getDetails, getId, getKeywords, getLayer, getLayerChildrenCache, getName, getPassword, getProtocol, getReaders, getSingleLayer, getStyleLibraries, getTopLayer, getUrl, getUsername, initLayerCollectionsForUpdate, isMonitoringEnabled, isMonitoringStatusOK, loadFromUrl, loadLayerTree, removeAllLayers, setAllChildrenDetail, setAuthorizationsModified, setCategory, setDetails, setId, setKeywords, setMonitoringEnabled, setMonitoringStatusOK, setName, setPassword, setReaders, setStyleLibraries, setTopLayer, setUrl, setUsername, toJSONObjectpublic static final String PROTOCOL
public static final String PARAM_RESOLUTIONS
public static final String PARAM_TILESIZE
public static final String PARAM_TILINGPROTOCOL
public static final String PARAM_SERVICENAME
public static final String PARAM_SERVICEBBOX
public static final String PARAM_IMAGEEXTENSION
public static final String PARAM_CRS
public static final String TILING_PROTOCOL_WMTS
public static final String TILING_PROTOCOL_TMS
public GeoService loadFromUrl(String url, Map params, WaitPageStatus status, javax.persistence.EntityManager em)
loadFromUrl in class GeoServiceprotected TileService parseWMTSCapabilities(String url, Map params, WaitPageStatus status, javax.persistence.EntityManager em)
protected void parseBoundingBox(Layer layer, XPath xpath, Node l, List<TileMatrixSet> tmses) throws XPathExpressionException
XPathExpressionExceptionprotected List<TileMatrixSet> parseMatrixSets(XPath xpath, Document doc) throws XPathExpressionException
XPathExpressionExceptionprotected TileMatrixSet parseTileMatrixSet(XPath xpath, Node matrixSet) throws XPathExpressionException
XPathExpressionExceptionpublic static double metersPerUnit(String crs)
protected TileMatrix parseTileMatrix(XPath xpath, Node tileMatrix, TileMatrixSet tms) throws XPathExpressionException
XPathExpressionExceptionpublic Layer getTilingLayer()
public org.json.JSONObject toJSONObject(boolean flatten,
Set<String> layersToInclude,
boolean validXmlTags,
javax.persistence.EntityManager em)
throws org.json.JSONException
toJSONObject in class GeoServiceorg.json.JSONExceptionpublic org.json.JSONObject toJSONObject(boolean flatten,
Set<String> layersToInclude,
boolean validXmlTags,
boolean includeAuthorizations,
javax.persistence.EntityManager em)
throws org.json.JSONException
toJSONObject in class GeoServiceorg.json.JSONExceptionpublic List<TileMatrixSet> getMatrixSets()
public void setMatrixSets(List<TileMatrixSet> matrixSets)
public String getTilingProtocol()
public void setTilingProtocol(String tilingProtocol)
public void checkOnline(javax.persistence.EntityManager em)
throws Exception
checkOnline in class GeoServiceExceptionCopyright © 2019. All rights reserved.