Display ArcGIS data in reality enhancement application Layar (I)

Source: Internet
Author: User
1. Concept of Augmented Reality

Reality enhancement (AR) is a new technology developed on the basis of virtual reality. Ar uses the information provided by computer systems to increase users' awareness of the real world and apply virtual information to the real world, in addition, the virtual objects, scenes, or system prompts generated by the computer are superimposed into real scenarios to enrich and enhance the reality.

Ar technology has three features:

① Combining virtual reality;

② Instant interaction;

③ 3D scenarios;

Ar technology was not well known in the early days. With the rapid development and popularization of mobile smart devices, ar technology has gradually become a public field of view. The current mobile smart devices have sufficient performance to support the computing capabilities required by Ar. This article describes the implementation of this function based on a mobile ar application. Currently, ar technology has been applied in many industries, such as medical, landscape, military, gaming, and mechanical maintenance. In the GIS industry, the combination of AR and GIS is still in its infancy.


2. augmented reality application Layar

Layar (http://www.layar.com) is a mobile ar application, supporting Android and IOS. Layar allows content providers (CP) to publish layers. Layar can load specified layers to obtain information provided by CP.

CP registers an account on the Layar website and creates a layer. Layar provides a set of layer API standards. To implement layer, CP must receive parameters and return data according to the data format specified in this standard.

Layar obtains location information through GPS of mobile devices, the camera obtains the current scene, and the sensor obtains the location information. With this information, Layar can request data from a layer on the CP server. After obtaining the data, Layar uses the Augmented Reality Technology to render the data in a 3D scenario.

Shows the data access process of Layar:

① The Layar application on the mobile phone opens the specified layer, obtains GPS information, and sends a request to the Layar server;

② The Layar server sends a request to the corresponding CP Server Based on the layer information;

③ The CP server queries the Qualified Data, packs the data according to the standard format of the Layar API, and returns the data to the Layar server;

④ The Layar server returns the data to the Layar application, and the Layar displays the data on the mobile phone end.


3. Use Layar to display ArcGIS data
3.1 Implementation Principle

It is actually very easy to use Layar to display ArcGIS data. Add the ArcGIS Server that provides services to the data access flowchart in section 2nd, as shown in. CP layers does not directly provide data, but sends a request to the rest service of ArcGIS Server. ② after obtaining the data, it packs the data according to the standard format of Layar API, and then returns it to the Layar server. In this process, the CP server is equivalent to the adapter role.
The data provided by the rest service is converted into Layar data.

ESRI released geoservices restspecification (http://www.esri.com/industries/landing-pages/geoservices/geoservices.html), with reference to this standard, you can write code to ArcGIS
The rest Service sends a request and parses the returned results. In fact, ArcGIS's various client APIs (Web APIs, such as flex, Silverlight, JavaScript, mobile APIs, such as Android, IOS, Windows Phone, and runtime APIs) are implemented by reference to this standard.


3.2 log on to Layar

First, register an account on the Layar website. The registration process is omitted here. After successful registration, log on to the logon page, as shown in.

Shows the logon success page.

Click my layers at the top of the page to enter the layers page, as shown in. In concert with the User Conference demo, a layer named ESRI chinauc 2012 (uc2012layer) has been created.

3.3 create a Layer

Click "createa new layer" to create a new layer, and fill in the layer information in the layer creation window, as shown in. It must be noted that the apiendpoint URL must be an Internet accessible address, that is, an address on the cpserver. This address is the specific implementation of the layer, the Layar server accesses this address to obtain data.


After a layer is created, the information page of the layer is displayed, as shown in. On the Information page, you can also set many layer information, such as the icon, type, and URL of the layer. You can try it out and will not go into details here.


It should be noted that the layer created here is only a conceptual layer and data cannot be provided, because the CP side has not yet implemented it. The next section describes how to implement the content of the CP server.


Display ArcGIS data (ⅱ) in reality enhancement application Layar)Http://blog.csdn.net/arcgis_mobile/article/details/8063735

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.