当前位置:网站首页>Feature query of hypergraph iserver rest Service
Feature query of hypergraph iserver rest Service
2022-07-02 02:22:00 【Discussion on Geographic Information Technology】
In hypergraph map iServer During service use , It involves data query in layers , What is offered is rest service , Pass in the corresponding parameters , Return the query result of data .
http://support.supermap.com:8090/iserver/services/data-world/rest/data/featureResults
Select the dataset to query , It can query multiple data sets at the same time , The query mode is divided into :ID、SQL、BOUNDS、BUFFER etc. , Able to field 、 Space and other forms of data query , The corresponding query conditions of various query types are also different .
In front end development , call feature When querying the service of , The official website provides a way to call , Need to quote
SuperMap iClient Classic Class library , Download address :
https://iclient.supermap.io/web/introduction/classic.html#introduce
The specific code call method is github On ( With SQL For example ):
https://github.com/SuperMap/iClient-JavaScript/blob/master/examples/classic/query_getFeatureBySQL.html
meanwhile , You can also call without using the official class library , The specific implementation is as follows :
// Use axios Library ,post Form of service
axios.request({
url: 'http://support.supermap.com:8090/iserver/services/data-world/rest/data/featureResults.json?returnContent=true',
headers: {
'Content-Type': 'application/json' },
method: 'post',
// Query condition method , Query the filtered fields
data: {
getFeatureMode: "SQL",
datasetNames:["World:Capitals"],
maxFeatures: 1000,
queryParameter: {
attributeFilter: "SMID<10"}
}
}
).then(res => {
// Return query results
})
边栏推荐
- Medical management system (C language course for freshmen)
- JVM interview
- Oracle creates a user with read-only permission in four simple steps
- Sword finger offer 62 The last remaining number in the circle
- 【liuyubobobo-玩转Leetcode算法面试】【00】课程概述
- 2022 low voltage electrician test question simulation test question bank simulation test platform operation
- leetcode2311. 小于等于 K 的最长二进制子序列(中等,周赛)
- [graduation season] graduate seniors share how to make undergraduate more meaningful
- leetcode2312. 卖木头块(困难,周赛)
- DNS domain name resolution
猜你喜欢
Software development life cycle -- waterfall model
query词权重, 搜索词权重计算
Opengauss database backup and recovery guide
How to run oddish successfully from 0?
【带你学c带你飞】1day 第2章 (练习2.2 求华氏温度 100°F 对应的摄氏温度
Cesium dynamic diffusion point effect
What are the necessary things for students to start school? Ranking list of Bluetooth headsets with good sound quality
附加:信息脱敏;
【毕业季】研究生学长分享怎样让本科更有意义
leetcode2311. Longest binary subsequence less than or equal to K (medium, weekly)
随机推荐
leetcode2309. The best English letters with both upper and lower case (simple, weekly)
Types of exhibition items available in the multimedia interactive exhibition hall
Openssl3.0 learning XXI provider encoder
SQL server calculates the daily average and annual average of the whole province
软件开发生命周期 --瀑布模型
How to turn off the LED light of Rog motherboard
Golang lock
花一个星期时间呕心沥血整理出高频软件测试/自动化测试面试题和答案
Open那啥的搭建文档
Learning notes of software testing -- theoretical knowledge of software testing
DNS domain name resolution
How to run oddish successfully from 0?
flutter 中间一个元素,最右边一个元素
[learn C and fly] day 5 chapter 2 program in C language (Exercise 2)
Duplicate keys detected: ‘0‘. This may cause an update error. found in
Webgpu (I): basic concepts
Which is a good Bluetooth headset of about 300? 2022 high cost performance Bluetooth headset inventory
2022 Q2 - 提昇技能的技巧總結
离婚3年以发现尚未分割的共同财产,还可以要么
leetcode2309. 兼具大小写的最好英文字母(简单,周赛)