Mobile Business data has a strong demand for offline query and editing. Mobile devices based on Android and iOS systems have become very popular in recent years, therefore, many users are constantly seeking for offline solutions on ArcGIS for Android and ArcGIS for IOS. The two products mentioned above have implemented the offline basemap, but there is no very suitable solution for offline business data. The other mature product of ESRI-ArcGIS for Windows
Mobile: it provides a mature and complete method for offline basemap and business data, enabling full offline query and editing of business data.
ArcGIS for Windows Mobile is intended for various smart mobile terminals loaded with windows mobile operating systems, for example, in the electronic market, Mobile GIS handheld devices, mobile phone manufacturers such as ODPS, and windowsmobile series of device manufacturers such as Trimble and helzhong sizhuang, etc, supports Windows Mobile 6.5, 6.1, 6.0, 5.0, and the latest windowsembedded
Handheld 6.5 system.
ArcGIS for Windows Mobile consists of three parts: the out-of-the-box ArcGIS app and the mobile Project Center (mobile Project Center, hereinafter referred to as the MPC ), and ArcGIS runtime SDK for customizing and developing mobile applications based on Windows Mobile System. Where:
- ArcGIS applications are used to open and use mobile projects on desktops or mobile devices;
- Map Project Center is used to configure mobile projects for external jobs in the desktop environment;
- ArcGIS runtime SDK for Windows Mobile allows you to extend the functions of arcgisforwindows mobile, modify mobile pages, and integrate enterprise-specific services and workflows. You can use this SDK to develop functions that are basically the same as those of ArcGIS applications.
Run the following command to configure maps, functions, and business processes for field jobs, the Administrator decides which layers are used as the background layer reference and which layers are editable business layers. In ArcGIS for Windows Mobile 3.0 (the latest version ),
Dataset allows the basemap to be more easily implemented offline. The "Mobile cache production tool" on the desktop enables the business data to be completely offline.
1. Load offline basemap data
Two formats of offline files (three in fact, but streetmap is basically useless in China) are supported in the MPC: Tile packages (. TPK), and tileddatasets (such as the slice produced by ArcGIS for server), the two data file creation methods are not described in detail again. The procedure is very simple:
1) Open the MPC and create a project;
2) Select the "Browse basemap" option under the "add" menu and select one of the two sub-menus to open the "Browse basemap" dialog box;
TIPS: the difference between "Copy to project" and "deployed to device" is that when you select the former, the base map file is directly packaged into the mobile project, when you deploy a mobile project on a mobile device, you do not need to manually copy the base map file. This is suitable for scenarios where the base map file is small and each project uses a different base map; the latter can place the basemap file in a fixed location and access it through the reference path. It is suitable for scenarios where the basemap file is large and shared by multiple mobile projects.
3) in the "Browse base map" dialog box, find the conf of the tiled dataset. XML file or TPK file. Click Open to package the TPK or slice basemap data to the mobile project.
TIPS: You can add multiple basemap data in the same step, but you need to maintain a consistent space reference.
Ii. Offline business data
The difference between the business data and the basemap is that the business data needs to meet various business needs such as search and editing. Similarly, you can configure completely offline business data in ArcGIS for Windows Mobile. The procedure is as follows:
1) prepare data. Offline editing of business data must meet two conditions: first, it must be stored in personalgeodatabase or ArcSDE (if online synchronization is required, it must be stored in ArcSDE ), instead, all layers to be edited must contain the globalid field. After setting business data In ArcMap and meeting external business conditions, save the mxd document;
2) Open the ArcGIS Desktop toolbox and find the "Create mobile map" tool, as shown in:
3) double-click the running tool to set the mxd document and cache directory. set other parameters as needed. Click OK after setting;
4) The cache files created under the specified directory are as follows:
5) Select "add"> "business layer"> "mobilecache" in the MPC. In the displayed dialog box, browse the cache folder and add the cached business data, the layer name is the same as the folder Name:
6) configure the business layer. Select the layers under the business layer. On the "layer" tab in the Map window, you can set the properties of the layer, such as editable layers, read-only reference layers, or visible to users; on the "field" tab, you can set which fields are visible to users, display order, alias, and so on.
TIPS: You can add multiple business layers in the same step, but you need to maintain a consistent space reference.
7) Configure project tasks and functions, skipped here;
8) Select the "save" option under the "file" menu, fill in the project information, and save the project.
Iii. Deployment Project
After the project is saved, you can directly deploy it on the mobile device. The procedure is also very simple: connect the mobile device to the PC and copy the mobile project you Just configured to the folder of the mobile project, start the "ArcGIS" application on the mobile device, and a complete mobile project is created. It can be found that, in the entire project, both the basemap and business data are copied to the mobile device, no network connection is required, and all the editing, query, and data are saved on the Mobile End.
How is it? You can use the out-of-the-box Configuration tool to complete offline query and editing of external jobs. Is this solution suitable for you?