Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to implement Arcgis Server Publishing data Service Reading

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to realize the reading of Arcgis Server publishing data service. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.

For reference, study and use only

QGIS connects Arcgis Server to publish data, and QGIS acquires data and styles by calling Arcgis Server's data service interface. What are these specific data interfaces, which are briefly introduced in the following article. In the Arcgis Server data interface, click on the view preview window of a layer to open a web version of the data browser with an address similar to this:

Preview of the opening position and effect of the http://localhost:6080/arcgis/rest/services/SampleWorldCities/MapServer?f=jsapi view:

If you change the parameter in the above address to f=json, you will return a json version of the basic data information. Includes some information such as layers, slices, and resolution:

The above data contains three vector layers. According to the id of the data, the latter part of the above url is replaced with the following form to obtain the data of a single layer:

The data result returned by MapServer/0/query?f=json&where=1%3D1&returnIdsOnly=true is mainly used to obtain the id information in the data:

According to the objectIds obtained above, change the back of the service request address to the following form:

MapServer/0/query?f=json&&objectIds=1,2,3

Objectids is the ids returned for the last service request, and you can write more than one. Here, only the first three id are selected for testing, and the returned data results are as follows:

It contains the coordinates of the data, attributes and other details.

Through the above methods and steps, we can get all the data information by parsing the code request.

This is the end of the article on "how to achieve Arcgis Server Publishing data Service Reading". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report