首页 / 浏览问题 / WebGIS / 问题详情
iportal数据上图这块搜索功能
11EXP 2023年08月15日
数据上图的搜索功能,需要提供什么样的服务保证搜索功能可用,我在iserver发布了restdata服务,也可加载出来,当使用搜索功能时,提示服务地址有误

1个回答

您好,您iportal版本是多少呢,填写的数据服务地址具体是如何填写的,搜索的数据集是什么类型的数据集呢?
3,143EXP 2023年08月15日

iportal版本为10.2.1

服务地址:http://ip:port/iserver/services/data-sdxx/rest/data/datasources/sdxx

http://ip:port/iserver/services/data-sdxx/rest/data/datasources/sdxx/datasets

这两个地址通过web添加都可以上图,数据集为poi数据

如果是使用的POI搜索功能,在服务设置添加的数据服务地址,那么填写地址格式不对,需要填写到具体数据集名称,REST 数据服务地址示例:http://127.0.0.1:8090/iserver/services/data-changchun/rest/data/datasources/Changchun/datasets/Hospital;如果使用图层搜索功能,在使用时需要选择搜索图层,设置对应的数据集和字段。

已解决感谢
...