当前位置:网站首页>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
})

边栏推荐
- leetcode2309. The best English letters with both upper and lower case (simple, weekly)
- Pytest testing framework
- pytest 测试框架
- Logging only errors to the console Set system property ‘log4j2. debug‘ to sh
- How to build and use redis environment
- [deep learning] Infomap face clustering facecluster
- 2022 Q2 - 提昇技能的技巧總結
- leetcode2311. 小于等于 K 的最长二进制子序列(中等,周赛)
- The basic steps of using information theory to deal with scientific problems are
- Mathematics in Sinorgchem: computational geometry
猜你喜欢

The wave of layoffs in big factories continues, but I, who was born in both non undergraduate schools, turned against the wind and entered Alibaba

花一个星期时间呕心沥血整理出高频软件测试/自动化测试面试题和答案

OpenCASCADE7.6编译

No programming code technology! Four step easy flower store applet

Software development life cycle -- waterfall model

leetcode373. 查找和最小的 K 对数字(中等)

What are the necessary things for students to start school? Ranking list of Bluetooth headsets with good sound quality

【毕业季】研究生学长分享怎样让本科更有意义

CSDN article underlined, font color changed, picture centered, 1 second to understand

【带你学c带你飞】1day 第2章 (练习2.2 求华氏温度 100°F 对应的摄氏温度
随机推荐
leetcode2311. 小于等于 K 的最长二进制子序列(中等,周赛)
From January 11, 2007 to January 11, 2022, I have been in SAP Chengdu Research Institute for 15 years
Comparative analysis of MVC, MVP and MVVM, source code analysis
Mathematics in Sinorgchem: computational geometry
What are the necessary things for students to start school? Ranking list of Bluetooth headsets with good sound quality
Software No.1
The wave of layoffs in big factories continues, but I, who was born in both non undergraduate schools, turned against the wind and entered Alibaba
Calculation (computer) code of suffix expression
Bash bounce shell encoding
Ar Augmented Reality applicable scenarios
Decipher the AI black technology behind sports: figure skating action recognition, multi-mode video classification and wonderful clip editing
剑指 Offer II 031. 最近最少使用缓存
Redis环境搭建和使用的方法
flutter 中間一個元素,最右邊一個元素
[question] - why is optical flow not good for static scenes
[learn C and fly] day 5 chapter 2 program in C language (Exercise 2)
If you want to rewind the video picture, what simple methods can you use?
A quick understanding of digital electricity
[punch in questions] integrated daily 5-question sharing (phase II)
STM32F103——两路PWM控制电机