public class VTileServer extends Object implements IGeoServer
| Constructor and Description |
|---|
VTileServer(String url,
String userName,
String password) |
public boolean testConnect()
IGeoServertestConnect in interface IGeoServerpublic String getUrl()
IGeoServergetUrl in interface IGeoServerpublic List<IGeoService> getServices()
IGeoServergetServices in interface IGeoServerpublic com.geoway.adf.gis.basic.PageList<IGeoService> getServices(List<ServiceType> serviceTypes, String keyword, int pageIndex, int rows)
IGeoServergetServices in interface IGeoServerserviceTypes - 服务类型keyword - 关键词public void deleteService(ServiceType type, String serviceName)
IGeoServerdeleteService in interface IGeoServertype - 服务类型serviceName - 服务名称public IGeoService getService(ServiceType type, String serviceName)
IGeoServergetService in interface IGeoServertype - 服务类型serviceName - 服务名称public IGeoService publishService(IServicePublishParams params)
IGeoServerpublishService in interface IGeoServerparams - 发布参数public VTileDataService createDataService(VTileServicePublishParams publishParams)
publishParams - public String getMapServerUrl()
public void setDefaultStyle(String id, String styleId)
id - 服务idstyleId - 样式idpublic List<VTileDatasource> getMongoDatasource()
public List<VTileServiceStyle> getServiceStyles(String serviceId)
serviceId - public void reCreateCache(IGeoService service)
reCreateCache in interface IGeoServerservice - public IGeoService publishTempService(IServicePublishParams params)
IGeoServerpublishTempService in interface IGeoServerpublic boolean createUpdateTileTask(String serviceName, String updateGeometry, Date updateTime)
serviceName - updateGeometry - updateTime - public VTileDataService registerLayer(VTileServicePublishParams publishParams, String datasourceId, String groupId)
publishParams - 发布参数datasourceId - 数据源idgroupId - 数据服务分组idpublic String getDataGroupId(String groupName, boolean nonExistCreate)
groupName - 分组名称nonExistCreate - 分组不存在时是否创建public String getDataServiceIdByName(String dataServiceName, String groupId)
dataServiceName - public VTileDataService getDataServiceByName(String dataServiceName, String groupId)
dataServiceName - public VTileDataService getDataServiceById(String dataServiceId)
dataServiceId - 数据服务idpublic void deleteDataService(VTileDataService dataService)
dataService - public void deleteDataService(String dataServiceIds)
dataServiceIds - public boolean createMapCache(String cacheDatasourceId, List<Integer> cutLevels, String serviceId)
cacheDatasourceId - cutLevels - serviceId - @Deprecated public boolean createDataCache(String cacheDatasourceId, List<Integer> cutLevels, String dataId)
不建议使用,矢量瓦片引擎已不再优化维护
cacheDatasourceId - cutLevels - dataId - public void createMapService(String name, String alias, String dataIds)
name - alias - dataIds - 地图服务idsCopyright © 2025. All rights reserved.