首页 / 浏览问题 / WebGIS / 问题详情
超图FAQ:【iServer】【11.0.1】是否有方法通过REST API去发布OSS瓦片?
44,106EXP 2023年04月11日
【iServer】【11.0.1】是否有方法通过REST API去发布OSS瓦片?

1个回答

【解决办法】可以的,需要分为创建服务提供者和服务组件两个步骤。参考请求示例 POST http://localhost:8090/iserver/manager/providers.json?token=? {"type":"com.supermap.services.providers.SuperMapTilesRealspaceProvider","name":"test-provider1","config":{"s3ConnectionInfo":{"accessKey":"minioadmin","secretKey":"minioadmin","region":null,"endpoint":"http://localhost:9090"},"configFile":"test/Lake@CBD/Lake@CBD.scp","cacheKey":null}} POST http://localhost:8090/iserver/manager/components.json?token=? {"type":"com.supermap.services.components.impl.RealspaceImpl","alias":"","name":"test-component1","interfaceNames":"rest","providers":"test-provider1"}
44,106EXP 2023年04月11日
热门文章
关注我们
...