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 use sfs or sgs's model layer query service

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article shows you how to use sfs or sgs model layer query service, the content is concise and easy to understand, can definitely make your eyes bright, through the detailed introduction of this article, I hope you can learn something.

Connect the 3dml model layer published by sfs or sgs in TE, and select each model will pop up the corresponding attribute information, or right-click on the layer to query the attribute information of the model layer.

Individual model attribute information:

List of model attribute information:

In fact, in the process of data release, these data query services can be called with code to query, as long as the form of the query meets the data service requirements of sfs or sgs, the query results can be returned.

For example, a single model attribute information query, through the network grab packet, found that the query is sent to the server through post, a string in xml format, and then returns a string of attribute information in xml format

The specific query network address is: http://localhost/SG/streamer.ashx

Query method: POST

Incoming data: _ _ fid__21

TypeName can be found in the publishing layer of sfs or sgs, as shown below:

_ _ fid__ and object label, which can be obtained through secondary development. For more information, please see API.

The returned data:

106.712475632682,26.5755894852759 106.712756127271,26.5760308712863 106.713418738278,26.5756940678533 106.713138241961,26.5752526831408 106.712475632682,26.5755894852759MODELSPRINGMALLSPRINGMALL.xpl2000000101000

This data is the same as using sqlite to open the 3dml tool. For more information, please see the article "description of 3dml data format". The returned data is the same as that in the chart below:

The request address, request content and return content of the service are determined. In C # development, WebClient is used. In js development, jquery or other ajax methods can be used for data request and return.

The above is how to use the model layer query service of sfs or sgs. Have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

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