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

边栏推荐
- CSDN insertion directory in 1 second
- Webgpu (I): basic concepts
- If you want to rewind the video picture, what simple methods can you use?
- Spend a week painstakingly sorting out the interview questions and answers of high-frequency software testing / automated testing
- pytest 测试框架
- 2022 Q2 - Summary of skills to improve skills
- 【读书笔记】程序员修炼手册—实战式学习最有效(项目驱动)
- 【带你学c带你飞】2day 第8章 指针(练习8.1 密码开锁)
- Sword finger offer II 031 Least recently used cache
- LFM信号加噪、时频分析、滤波
猜你喜欢

Opengauss database backup and recovery guide

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

MySQL constraints and multi table query example analysis

Design and implementation of key value storage engine based on LSM tree

MySQL中一条SQL是怎么执行的

leetcode2309. 兼具大小写的最好英文字母(简单,周赛)

How to turn off debug information in rtl8189fs

CVPR 2022 | Dalian Institute of technology proposes a self calibration lighting framework for low light level image enhancement of real scenes

The basic steps of using information theory to deal with scientific problems are

Vsocde has cli every time it is opened js
随机推荐
es面試題
JVM面试篇
No programming code technology! Four step easy flower store applet
2022 low voltage electrician test question simulation test question bank simulation test platform operation
Construction and maintenance of business websites [14]
Open那啥的搭建文档
From January 11, 2007 to January 11, 2022, I have been in SAP Chengdu Research Institute for 15 years
SQL server calculates the daily average and annual average of the whole province
How to build and use redis environment
CVPR 2022 | Dalian Institute of technology proposes a self calibration lighting framework for low light level image enhancement of real scenes
剑指 Offer II 031. 最近最少使用缓存
CoordinatorLayout + TabLayout + ViewPager2(里面再嵌套一个RecyclerView),RecyclerView的滑动冲突解决
Regular expression learning notes
附加:信息脱敏;
Design and implementation of key value storage engine based on LSM tree
Openssl3.0 learning XXI provider encoder
【读书笔记】程序员修炼手册—实战式学习最有效(项目驱动)
Software development life cycle -- waterfall model
leetcode2309. The best English letters with both upper and lower case (simple, weekly)
WebGPU(一):基本概念