Skip navigation
All Places > GeoDev Germany > Blog > 2016 > December
2016

[Blogeintrag hier auch auf deutsch]

 

With ArcGIS 10.4, Esri introduced a new, compact data type for offline usage. Maps, address locators, and routing networks can be compiled to individual Mobile Map Package using ArcGIS Pro 1.2 or higher. This is the next generation Runtime Content that requires the separate creation of each data type, though.

 

Mobile Map Packages (.mmpk) can conveniently be shared on ArcGIS Online, Portal for ArcGIS, or by creating copies.  MMPKs can be utilized in Navigator for ArcGIS, with apps developed with ArcGIS Runtime, starting with version 100 ("Quartz"), and in ArcGIS Pro.

 

Key Facts

 

  1. Mobile map packages are unique file packages.
  2. They require little memory space and can easily be shared and updated.
  3. They can be used across various platforms.
  4. It's possible to include maps, address locators, and road networks (even individually).
  5. MMPKs can comprise of multiple maps, locators, or routing networks.
  6. Map packages can easily be used with ArcGIS apps and applications developed with ArcGIS Runtime.
  7. Mobile map packages are read-only.

 

Creating Mobile Map Packages

 

Mobile map packages can be created using the Create Mobile Map Package tool in ArcGIS Pro 1.2 or higher. Relevant data and capabilities have to be compiled in advance. There are various ways for creating MMPKs. This article presents two alternatives to create mobile map packages with an appealing map, a locator, and a customized routing network that provides an option to leave the public road and navigate on private forestry roads.

 

Mobile Map Packages with OpenStreetMap and Private Assets

 

Navigator for ArcGIS with OSM

Navigator for ArcGIS with OSM

 

OpenStreetMap (OSM) data is available free of cost and of quite good quality. The creation of an appealing map, the implementation of a suitable address locator and a road network for routing requires some efforts, though.

 

Initially, all data must be prepared for usage with ArcGIS. The map and road network can be created using the ArcGIS Editor for OpenStreetMap. This free and open ArcGIS for Desktop add-on allows for the filtering of raw OSM data to gain the required information, and the extraction into an ArcGIS-compatible format. The next step is the design of a visually appealing map (this part can be a challenging task for non-cartographers) and the creation of a routing network. The road network can be extended with private assets. In this example, a polyline feature class of forestry roads and another feature class of connections between public and forestry roads (so-called "transitions") are added to the network. The transitions have to be created manually using the Snapping tool (snapping public to forestry roads) and are then stored in the feature class. After reprocessing the network, it is possible to leave the public roads and navigate on the forestry roads. Network quality and performance are influenced by applied rules and attributes. And this is where the actual work starts: Cul-De-Sac rules, speed limits, U-turn policies, special walking, driving, or trucking routes—just to name a few—can be configured.

Finally, a suitable address locator is required, a rather laborious task. To configure the locator, cities, addresses, POIs, and their coordinates have to be extracted from the OSM data. The locator is then created with the appropriate ArcGIS Pro or ArcGIS for Desktop tools.

 

After importing the ArcGIS for Desktop project (.mxd) into ArcGIS Pro, the Create Mobile Map Package is run to create the MMPK that is based solely on OSM data.

 

Quick overview of the required steps:

  1. Import OpenStreetMap data into ArcGIS using ArcGIS Editor for OSM.
  2. Design the map.
  3. Create a routing network and add private assets.
  4. Configure the locator.
  5. Create a mobile map package with ArcGIS Pro.

 

Mobile Map Packages with StreetMap Premium for ArcGIS and Private Assets

 

Navigator for ArcGIS with StreetMap Premium

Navigator for ArcGIS with StreetMap Premium

 

StreetMap Premium for ArcGIS is a data package that is subject to cost (one-year subscription) and is based on HERE data (formerly NAVTEQ). The StreetMap Premium portfolio provides everything that is required: global dataset with appealing maps for day and night time, locators for individual countries, and a road network with almost perfect rules.  StreetMap Premium includes an ArcGIS Pro project that can be used very easily and without much additional effort to create mobile map packages.

 

In addition to that, StreetMap Premium provides the option to extend maps and road networks with private assets. To learn more about extending the road network, please check this tutorial.

 

Note: The tutorial describes the steps to add individual roads and streets manually. Usually a feature class with this data - forestry roads in our example - already exist.  In this case only the transitions have to be added manually. Next, the data is imported into the appropriate StreetMap Premium feature class "Custom Streets" and adapted to the target schema (attributes). This can be done with the Append geoprocessing tool in ArcGIS Pro. Finally, the required attributes like STREET_NAME or Paved are adjusted for accurate processing of routes and directions. Various tools or Python can be used for automating this step.

 

Quick overview of the required steps:

  1. Extend a routing network with private assets.
  2. Create a mobile map package with ArcGIS Pro.

 

Summary

 

Mobile map packages are ideal to use maps and to search for addresses or routes offline on mobile devices. The main challenge is the data that forms the basis for these packages. The examples above, using OpenStreetMap or StreetMap Premium, have demonstrated the options available: When using free data, some work is required to prepare the information and achieve the desired quality.  With StreetMap Premium, this work can be avoided by paying a fee. In either case, extending the routing network with private assets is the exciting part.

 

Whatever option you choose, all data will end up in one single package eventually. This allows for the creation of customized mobile map packages for various application scenarios and their easy distribution to mobile devices. Which "out of the box" navigation software that you know - other than Navigator for ArcGIS - provides the possibility to replace data at your own discretion and to route on private roads, as shown in our example?

Esri just released its brand new ArcGIS Python API!

The ArcGIS Python API lets ArcGIS Online and ArcGIS Enterprise users, analysts, developers and administrators script and automate tasks ranging from performing big data analysis to content management and administration of their web GIS. The API integrates well with the Jupyter Notebook and the SciPy stack and enables academics, data scientists, and GIS analysts to share programs and reproducible research with others.

It is the Python API to your Web GIS, which could be online or on-premises. It’s powerful, modern and easy to use.

This blog gives you all the details: ArcGIS Python API 1.0 Released

Want to start right know? Go directly to the ArcGIS Python API website!

Make Smart Products even Smarter

Using Location-based Controlling and Monitoring

 

There are already many smart products such as smartphones, SmartHome, or SmartGarden, meaning that these can be used intuitively and can free us from some of our chores by independently and intelligently taking over various tasks. One example would be controlling a heating system based on our current location. Even devices such as lawn mowers can be operated in a "smart" manner, and they could also communicate with other appliances such as humidity sensors or irrigation systems for optimized capabilities without any further action being required.

 

All of this is already available or currently being developed. Some of the first green shoots can be detected in context of the Internet of Things', but remain very much local. In most cases, compatibility is dependent on the manufacturer and the devices are designed for "minor" tasks only.

 

What if these products could take advantage of all of their data to communicate with thousands of other items - not only locally, but on a regional or even international level? What could we expect from these products and which advantages could be realized for both end users and other appliances, maybe even brand-new business opportunities for manufacturers?

 

 

With location-based controlling, monitoring, and communication we would like to show that already today there is a much larger potential. To do so, our focus will be on the most important data integration components and how to exploit the full potential of information: the spatial reference.

 

For our example, an off-the-shelf robotic lawn mower was used and extended with location awareness. This information is linked to the ArcGIS technology. The result: an even smarter robotic lawn mower that cannot only mow the lawn but is also informed about relevant severe weather alerts and in which cases it might be better to return to the charging station. At the same time, it uses its sensor data to "warn" other devices in close proximity.

 

 

The basis for these capabilities was established in a term project at the Bochum university. Students and faculty staff worked together extending the functionality of the robot: Communication with the device is possible via REST, it can determine its location with a GPS signal, and it can be controlled remotely. For the detection of the current position, a USB GPS module is used. Temperature and humidity sensors complement the existing sensor system. Both sensors are connected to a Raspberry Pi and mounted on the robot.

 

 

The entire actuating system was deployed using Python scripts. The current sensor data are being read in specified intervals and published via MQTT (Message Queue Telemetry Transport), an open and light-weight messaging protocol for Machine-to-Machine (M2M) communication. A MQTT broker is being used for this particular purpose. Eclipse Paho allows for the integration of a MQTT client deployment in the Python scripts for publishing and receiving sensor data.

 

The most difficult part of the implementation is the robotic lawn mower's control system. Initially, the mower did not provide for any open communication interface. But a resourceful developer in the north of Germany devised an extension module ("Robonect H30x") in his free time that allows for the transmission of HTTP control commands to the robot.

 

For the mower to determine if it is located in an area with severe weather alerts, information from ArcGIS GeoEvent Extension for Server is integrated.  As an ArcGIS Enterprise extension, this component allows for automated real-time data processing. The GeoEvent Server does not provide any "out of the box" MQTT connectors, though. A project to deliver this was set up by Esri on GitHub and rendered possible an upgrade with this important feature.

 

Severe weather alerts are provided as GeoFences, synchronizing with an ArcGIS Feature Service.

 

Real-time sensor data are collected via a GeoEvent Service. So-called GeoEvents are generated automatically from the MQTT JSON message to check if the robotic mower is located in an area with severe weather alerts. If this is the case, the robot will receive a "Go Home" command via MQTT to return to the charging station.

 

For persistence the sensor data are transferred to a feature service and, in addition, are used by a stream service for real-time visualization.

 

Visualization and control of the demo run on a JavaScript Dashboard that was configured specifically for this purpose.

 

The following video demonstrates the operation of the robotic lawn mower:

 

 

Based on location-specific severe weather alerts, the robot automatically returns to the charging station. This scenario is just a rather basic example of how location-based controlling and monitoring can make smart products even smarter. The spatial reference applied in this demo could be the basis for other scenarios where not only one device but thousands could be connected using their particular location. This also allows for devices to communicate with others in close proximity, transferring information like optimization or warning messages.

 

This concept opens up new opportunities for customers and manufacturers: The customer no longer needs to worry about the protection and the current state of the device. The manufacturer can take advantage of the location-based data to provide new offerings and services (e. g. predictive maintenance), to optimize the company's service operations, or to develop completely new business opportunities (e. g. security or maintenance subscription).

 

Are your "things" ready to get even smarter? Tell us and let's have a look how Esri's spatial technology can help you out!

 

Esri just released the latest version of Web AppBuilder for ArcGIS! 

This blog does explain What’s New in Web AppBuilder for ArcGIS (December 2016) | ArcGIS Blog.

 

If you're not familiar with Web AppBuilder for ArcGIS you should have a look at Web AppBuilder for ArcGIS.

 

Any questions?

Feel free to send me your question or simply get in touch with the other Esri staff around here!

 

Würzburg based startup greenspin is developing the next generation of digital farming tools. Mofato is their imagery based solution to support farmers with important information on field management, weather, low yielding zones, plant growth anomalies, fertilization and more. greenspin is member of the Esri Startup Program.

 

Now, greenspin is looking for a developer who support their mobile development team. Please see attached for the vacancy (German). In case you are interested or have further questions you can reach out to Heiko Fabritius, +49 931 46057868, fabritius@greenspin.de.

 

Good luck!

 

 

We are excited about the upcoming version 4.2 of the ArcGIS API for JavaScript. Julie Powell, product manager at Esri Inc., just wrote an outlook at what we can expect from this release:

 

We are in the home stretch preparing the next 4.x release of the ArcGIS API for JavaScript. Here are a few highlights about the release that developers can look forward to.

Vector Tile Layers Revamped … in 2D AND 3D!
Vector tile layers give you the ability to display vector data at the highest available resolution without compromising performance. It also lets you tailor map styles for specific apps and end user’s needs without having to recook tiles.

 

Visualize vector tiles in 3D
Vector tile layers have been supported since version 4.0 of the JavaScript API. Now with version 4.2 you will be able to visualize them in a 3D local scene or 3D globe. All of the things that you are familiar with doing with vector tiles in 2D now applies to 3D. For example, you might want to simply turn off your basemap’s building footprints and instead show a proposed buildings layer in your app. This is accomplished by modifying the style, without having to make any changes to your tile cache.

Basemaps and operational layers
Your 3D scene can display one of Esri’s vector tile basemaps; either as-is or with your own custom style. You can also use ArcGIS Pro to create and publish vector tile layers with your own data. While we traditionally think of vector tile layers in terms of basemaps, they can also be operational layers.

Projections
Now with version 4.2, your vector tile layers can be created and displayed in any projection in a 2D map and either WGS84 or Web Mercator on a 3D globe.

There are more exciting enhancements planned for vector tiles in 2017.

New ways of visualizing your data in 3D
In addition to adding support for vector tiles in 3D scenes, 4.2 will introduce a few more ways to work with your data in 3D.

3D Smart Mapping: continuous color and size
Scheduled next week, ArcGIS Online will introduce 3D Smart Mapping in the WebScene Viewer. This will let you to explore different ways of visualizing your point data by varying the size and color according to attribute values. The styling is saved to the WebScene, and you can load it in your JavaScript app using a few lines of code. More 3D Smart Mapping options will continue to be added throughout 2017.

New point cloud layer
Display a point cloud in your app to answer questions such as: “Is my data accurate?” “Has someone built a new structure I don’t know about?” “Where is tree vegetation growing into power lines?”

Widgets, widgets, widgets…
Widget Development Model
Developers have the choice of using API widgets out-of-the-box, styling them with CSS, or creating their own custom view (UI) on top of the API widgets’ business logic. They can also create their own custom widgets from scratch. This release will include resources covering the widget development model and guidance for building your own custom widget.

LayerList and Print widgets
The LayerList and Print widgets will be available in version 4.2. Both widgets have been designed from the ground up with a clean user experience and responsive design. They also follow the API’s view model architecture for extensibility and customization.

Stay tuned for 4.2
Version 4.2 will continue the pattern of introducing new innovation while bringing across 3.x capabilities. The Choosing a Version guide and detailed Functionality Matrix will be updated to reflect the API’s status for reaching parity with 3.x.

Version 4.2 will be a great release! Version 3.19 is also planned to release in the same timeframe with key enhancements and bug fixes. Stay tuned for the official release announcements in the coming weeks.

From 6th until the 8th of December we are meeting in Berlin once again for the Esri Developer Summit  The Event will take place at the Axica Conference Building.

We raffled 5 free passes. Congratulation. Here we want to introduce two of the lucky winners:
Florian Schimandl –  smartlane  
Florian Schimandl - Smartlane 
"After finishing his computer science degree at TU München, Florian continued working as a research assistant at university in the area of traffic Engineering, always trying to connect cutting edge IT technology and the somewhat more traditional engineering world. Working in different national and international research and development projects as a software developer, researcher and project manager, he also worked there on his PhD creating an architecture for mobility data and data quality analytics for  field operational tests of cooperatve traffic systems. Beginning in 2015 Smartlane has given him the possibility to put his knowledge and skills into a viable product line (Smartlane Mobility Intelligence) to ease burdens in the logistics an mobility sectors." 

@

Victor Manuel Catalàn Dìaz - AED-SICAD AG

"Victor studied Surveyor Engineer at the university in Madrid because he loved maps. That is where he discovered the GIS. Since then he directed all his efforts at consolidating his career in a combination of programming and geolocation. He currently works for more then 4 years in Munich as GIS Software Engineer at AED-SICAD AG. In his free time he likes to spent time researching fields and travelling."

 

We’re pleased to announce that version 1.3 of AppStudio for ArcGIS is now available.  You can get the new version of AppStudio by logging into http://appstudio.arcgis.com or downloading AppStudio Desktop and Player from the download page.

 

This release includes new support for Android and iOS virtual devices, Enterprise logins using OAuth, a configuration tool for local Make, and updates to the AppStudio templates.

 

Here are the highlights for what’s new with AppStudio 1.3:

 

Virtual device support

AppStudio now includes support for both Android emulators and iOS simulators created on your desktop machine. Any virtual machines created either through Xcode or Android Studio can now be automatically opened from AppStudio, which will then launch AppStudio Player on the virtual machine with access to all of your app files. This provides a convenient way to test your app on multiple platforms directly from your desktop development environment. Also, AppStudio Player automatically connects to AppStudio Console when running in an emulator/simulator, thus making it ideal for debugging.

Note: AppStudio supports Android emulators running Android 6.0 (Marshmallow) and above. (this does not change the system requirements on physical android devices).

 

 

Enterprise logins

Previously, Android and iOS apps created in AppStudio couldn’t handle OAuth authentication requests from a web base identity manager, meaning that in many cases ADFS/SAML couldn’t be used for enterprise logins. This isn’t the case anymore, with an update to the WebView component solving this limitation and full support OAuth authentication. Enterprise logins now work on all operating systems supported by AppStudio.

Local Make configuration tool

The new advanced configuration tool streamlines the process of setting up a local build environment and associating AppStudio with an external Qt kit. While this isn’t necessary for the majority of users, people who need to use local Make, use a different version of Qt than provided, or otherwise need a separate version of Qt than provided with AppStudio, will find the process far easier with the aid of the advanced configuration tool.

AppStudio templates

The AppStudio app templates have been updated with several design, usability and functional enhancements, along with various bug fixes.

  • Map Tour Template: Map Tours can now be sorted either by name or distance from the user, and now supports story map videos directly within the app.
  • Map Viewer Template: Maps can now display map credits, scale, map units, location accuracy and an interactive list of map layers.
  • Quick Report Template: The Quick report template has been redesigned with a new look and feel. It now supports multiple photos in one report, embedding a web map, as well as creating and editing reports when offline.

In addition, these templates are now available within AppStudio Desktop as well as the AppStudio website through the new Templates section of the New App window.

 

 

Other improvements in AppStudio 1.3

  • Qt components have now been upgraded to 5.6.2.
  • AppStudio Console now provides a QR code to connect to it through. Player, in turn, now has a barcode scanner.
  • The camera interface is now capable of identifying if camera flash is supported.
  • Various UI improvements have been made to AppStudio Player.

 

Keep your eyes out for follow-up blog posts about AppStudio 1.3 with more details about the updated templates and working, virtual devices, and developer tips-n-tricks.

 

See the “What’s new” section of the online help for more details the new features and improvements in AppStudio 1.3. And sign-up for an ArcGIS trial account to get a 60-day trial of AppStudio Standard including all the development tools of

AppStudio Desktop edition.

 

Visit us on the AppStudio GeoNet Group

 

 

 

 

This blog first appeared ArcGIS Blogs. Thanks to @Chris LeSueur!

Filter Blog

By date: By tag: