本文整理了Java中org.geoserver.wms.WMS.get()
方法的一些代码示例,展示了WMS.get()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WMS.get()
方法的具体详情如下:
包路径:org.geoserver.wms.WMS
类名称:WMS
方法名:get
暂无
代码示例来源:origin: org.geoserver.community/gs-geofence
public LayersParser() {
super(WMS.get());
}
代码示例来源:origin: org.geoserver.web/web-wms
@SuppressWarnings("unchecked")
public LayerAuthoritiesAndIdentifiersPanel(final String id, final boolean isRootLayer,
final IModel<? extends CatalogInfo> layerModel) {
super(id);
// authority URLs for the this layer
IModel<List<AuthorityURLInfo>> authURLsModel;
authURLsModel = LiveCollectionModel.list(new PropertyModel<List<AuthorityURLInfo>>(
layerModel, "authorityURLs"));
AuthorityURLListEditor authUrlEditor = new AuthorityURLListEditor("authorityurls",
authURLsModel);
add(authUrlEditor);
// Layer Identifiers for this layer
IModel<List<LayerIdentifierInfo>> identifiersModel;
identifiersModel = LiveCollectionModel.list(new PropertyModel<List<LayerIdentifierInfo>>(
layerModel, "identifiers"));
LayerIdentifierListEditor identifiersEditor = new LayerIdentifierListEditor(
"layerIdentifiers", identifiersModel, authUrlEditor);
if (!isRootLayer) {
WMSInfo serviceInfo = WMS.get().getServiceInfo();
List<AuthorityURLInfo> rootLayerAuthorities = serviceInfo.getAuthorityURLs();
identifiersEditor.setBaseAuthorities(rootLayerAuthorities);
}
add(identifiersEditor);
}
代码示例来源:origin: org.geoserver.extension/gs-geofence
public LayersParser() {
super(WMS.get());
}
代码示例来源:origin: org.geoserver.web/gs-web-wms
WMSInfo serviceInfo = WMS.get().getServiceInfo();
List<AuthorityURLInfo> rootLayerAuthorities = serviceInfo.getAuthorityURLs();
identifiersEditor.setBaseAuthorities(rootLayerAuthorities);
代码示例来源:origin: org.geoserver/gs-wms
@Before
public void setUp() {
dimensionHelper =
new DimensionHelper(Mode.WMS13, WMS.get()) {
@Override
protected void element(String element, String content, Attributes atts) {
// Capabilities_1_3_0_Translator.this.element(element, content, atts);
}
@Override
protected void element(String element, String content) {
// Capabilities_1_3_0_Translator.this.element(element, content);
}
};
}
代码示例来源:origin: org.geoserver/gs-wms
new LayerParser(WMS.get())
.parseLayers(names, req.getRemoteOwsURL(), req.getRemoteOwsType());
int numLayers = 0;
代码示例来源:origin: org.geoserver/gwc
public boolean isQueryable(final GeoServerTileLayer geoServerTileLayer) {
WMS wmsMediator = WMS.get();
LayerInfo layerInfo = geoServerTileLayer.getLayerInfo();
if (layerInfo != null) {
return wmsMediator.isQueryable(layerInfo);
}
LayerGroupInfo lgi = geoServerTileLayer.getLayerGroupInfo();
return wmsMediator.isQueryable(lgi);
}
代码示例来源:origin: org.geoserver/gs-gwc
/**
* Determines if the {@link PublishedInfo} associated with a {@link GeoServerTileLayer} is
* queryable via WMS
*
* @param geoServerTileLayer The tile layer to query
* @return <code>true</code> if the layer is queryable
*/
public boolean isQueryable(final GeoServerTileLayer geoServerTileLayer) {
WMS wmsMediator = WMS.get();
LayerInfo layerInfo = geoServerTileLayer.getLayerInfo();
if (layerInfo != null) {
return wmsMediator.isQueryable(layerInfo);
}
LayerGroupInfo lgi = geoServerTileLayer.getLayerGroupInfo();
return wmsMediator.isQueryable(lgi);
}
内容来源于网络,如有侵权,请联系作者删除!