- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中org.geoserver.catalog.WMTSStoreInfo.getWebMapTileServer()
方法的一些代码示例,展示了WMTSStoreInfo.getWebMapTileServer()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WMTSStoreInfo.getWebMapTileServer()
方法的具体详情如下:
包路径:org.geoserver.catalog.WMTSStoreInfo
类名称:WMTSStoreInfo
方法名:getWebMapTileServer
[英]Returns the underlying WebMapTileServer.
This method does I/O and is potentially blocking. The listener may be used to report the progress of loading the datastore and also to report any errors or warnings that occur.
[中]返回基础WebMapTileServer。
此方法不执行I/O操作,可能会造成阻塞。侦听器可用于报告加载数据存储的进度,以及报告发生的任何错误或警告。
代码示例来源:origin: geoserver/geoserver
@Override
public WebMapTileServer getWebMapTileServer(ProgressListener listener) throws IOException {
return delegate.getWebMapTileServer(listener);
}
代码示例来源:origin: geoserver/geoserver
/**
* Locates and returns a WTMS {@link Layer} based on the configuration stored in WMTSLayerInfo
*
* @param info
* @throws IOException
*/
public Layer getWMTSLayer(WMTSLayerInfo info) throws IOException {
String name = info.getName();
if (info.getNativeName() != null) {
name = info.getNativeName();
}
WMTSCapabilities caps = null;
caps = info.getStore().getWebMapTileServer(null).getCapabilities();
for (Layer layer : caps.getLayerList()) {
if (name.equals(layer.getName())) {
return layer;
}
}
throw new IOException(
"Could not find layer " + info.getName() + " in the server capabilitiles document");
}
代码示例来源:origin: org.geoserver/gs-restconfig
List<String> getAvailableLayersInternal(
String workspaceName, String storeName, boolean quietOnNotFound) {
NamespaceInfo ns = getNamespaceInternal(workspaceName);
Collection<WMTSStoreInfo> stores = getStoresInternal(ns, storeName, quietOnNotFound);
return stores.stream()
.flatMap(
store -> {
WebMapTileServer ds;
try {
ds = store.getWebMapTileServer(null);
} catch (IOException e) {
throw new RestException(
"Could not load wmts store: " + storeName,
HttpStatus.INTERNAL_SERVER_ERROR,
e);
}
final List<WMTSLayer> layerList = ds.getCapabilities().getLayerList();
return layerList
.stream()
.map(Layer::getName)
.filter(Objects::nonNull)
.filter(name -> !name.isEmpty())
.filter(name -> !layerConfigured(store, name));
})
.collect(Collectors.toList());
}
代码示例来源:origin: org.geoserver.web/gs-web-core
builder.setStore(store);
List<WMTSLayer> layers =
wmtsInfo.getWebMapTileServer(null).getCapabilities().getLayerList();
for (Layer l : layers) {
if (l.getName() == null) {
代码示例来源:origin: org.geoserver.web/gs-web-core
if (store instanceof WMTSStoreInfo) {
try {
WebMapTileServer wmts = ((WMTSStoreInfo) store).getWebMapTileServer(null);
createWMTSLayerImportContainer.setVisible(wmts != null);
} catch (IOException e) {
代码示例来源:origin: org.geoserver/gs-wms
WebMapTileServer wmts = wmtsLayer.getStore().getWebMapTileServer(null);
Layer gt2Layer = wmtsLayer.getWMTSLayer(null);
代码示例来源:origin: org.geoserver.web/gs-web-core
WebMapTileServer webMapTileServer = expandedStore.getWebMapTileServer(null);
WMTSCapabilities capabilities = webMapTileServer.getCapabilities();
List<WMTSLayer> layers = capabilities.getLayerList();
我最近尝试在 Lubuntu 14.04 服务器上安装带有 Tomcat7 的 GeoServer,但遇到了很多问题,因为 Tomcat7 的 Java 默认版本设置为 1.7。昨晚我为此苦苦挣扎,我
有人知道为什么geoserver在设置图层时不实现直接sql查询吗? 最佳答案 开发人员还没有抽出时间来解决这个问题。 (对此功能的需求并不大,因为 GeoServer 可以像表格一样轻松地提供数据库
这几天一直在纠结一个大问题——如何通过Geoserver获取矢量图 block ?我找了很多文档和博客,有一些对问题有用的资源,一步一步操作很容易: http://suite.opengeo.org/
我是 GeoServer/数据库世界的新手。我以前从未做过任何数据库工作,但作为学生实习的一部分,我需要使用 GeoServer 设置 WMS。 我在独立模式下使用 GeoServer 2.0.1(使
我试图通过在geoserver中使用WFS GetFeature来获取一些按GML格式的日期过滤的数据,但该操作忽略了时间参数,只返回一个包含所有数据的巨大GML文件。这是我正在使用的查询: http
我想在我的 tomcat Web 服务器中运行 geoserver web archive。我使用的是 tomcat 8。 我从 geoserver 下载 GeoServer 2.7.1.1 web
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 想改进这个问题?将问题更新为 on-topic对于堆栈溢出。 6年前关闭。 Improve this qu
我正在使用 Geoserver 2.1.1 版、Postgres 9 和 PostGIS 2.0 我想要实现的目标应该(我认为!)非常直截了当。我想在 map 上绘制一条线,代表地球表面两个城市之间的
我一直在搜索很多,但没有找到关于 Geoserver 可以处理多少并发用户的明确经验法则,无论是在 Tomcat 还是 Glassfish 容器中。 假设在高峰时段可能有大约 400 个并发用户,并且
我正在对 Geoserver 源代码进行一些更改。 我使用了来自 here 的快速入门指南.我完成了指南中的所有步骤,效果很好。当我使用 web-app/org.geoserver.web/start
我准备使用redis作为geoserver的web缓存,所以需要了解geoserver中的数据库连接。我已经在 Eclipse 中导入了 geoserver,并且有两个名为 gs-sec-jdbc 和
本文整理了Java中org.geoserver.wfs.WFSException类的一些代码示例,展示了WFSException类的具体用法。这些代码示例主要来源于Github/Stackoverfl
本文整理了Java中org.geoserver.wms.WMSInfoImpl类的一些代码示例,展示了WMSInfoImpl类的具体用法。这些代码示例主要来源于Github/Stackoverflow
本文整理了Java中org.geoserver.catalog.WMTSStoreInfo类的一些代码示例,展示了WMTSStoreInfo类的具体用法。这些代码示例主要来源于Github/Stack
本文整理了Java中org.geoserver.security.WorkspaceAccessLimits类的一些代码示例,展示了WorkspaceAccessLimits类的具体用法。这些代码示例
本文整理了Java中org.geoserver.wfs.WFSGetFeatureOutputFormat类的一些代码示例,展示了WFSGetFeatureOutputFormat类的具体用法。这些代
本文整理了Java中org.geoserver.ysld.YsldHandler类的一些代码示例,展示了YsldHandler类的具体用法。这些代码示例主要来源于Github/Stackoverflo
我正在使用 Geoserver 和 SQL Server 2008。 我有一个表,其中有一列 [geography] 类型。我能够看到 Geoserver 中显示的表(我已经安装了 SQL Serve
我使用 geoserver 2.0.1,我使用 textsymbolizer 来标记 map 上的要素。地理服务器可能不支持 '' 标签,因为我尝试更改字体大小、字体系列或 .. 它没有效果。如何在不
我在 OS X 10.10 上的 Tomcat 7.0.62 上运行 GeoServer 2.7.1。我已经使用 Homebrew 安装了 Tomcat,并将 GeoServer 2.7.1 war
我是一名优秀的程序员,十分优秀!