Technologie Updates

Smart M.App Studio 2017.3

By IMAGEM on

The M.App Platform helps you to transform your brilliant ideas for Smart M.Apps into ready-to-sell products published on the M.App Exchange. With the new features available on the M.App Platform this month, you can reach your business goals even more easily!  

What's New

BI Wizard presents Multiple Data Stages to power your M.Apps 

Previously the BI Map Panel could hold just one geovisualization and it was always a single choropleth. Now with Data Stages you can have multiple geovisualizations - for example polygons representing buildings (first Data Stage) and polylines representing streets (second Data Stage), and more!

BI Wizard supports point cluster maps 

It was not always easy to visualize and interpret phenomena if multiple features appeared close to each other on the map. With this release, Point Map geovisualizations help you solve that problem. With point maps, the geometries of all features are converted to points (based on center-of-mass values), and these points are grouped into clusters according to their geographical proximity. The individual points with their settings such as tooltips and labels are actually rendered only when it is meaningful.

Using M.App Chest just got easier 

Now you can move data to different folders in M.App Chest just by using cut and paste.

Read below for the details on these and other enhancements. We expect that these new features will vastly improve your Smart M.App development experience!

Your Data’s Value greatly expands with Multiple Data Stages in BI Wizard

Prior to this release, behind the scenes, the BI Map Panel was configured to have only one Data Stage. A Data Stage consists of:

• Data table (including geometry)
• Data model (dimensions, measures, color palettes, and so forth
• Visualizations bound to the data table and data model, so that they interact with each other

With this release, you can now configure more than one Data Stage in a single BI Map Panel, so it can have visualizations bound to several different datasets. You can access Data Stages from the new Data Panel in the left sidebar of BI Wizard.

You now select datasets for BI Map by using the visual part of the BI Wizard, where you can also:
• Configure multiple Data Stages
• Review and modify the configuration of each Data Stage
• Easily preview the underlying data table by using the "Data preview" button in the Data Panel

Each widget has its target Data Stage, which is indicated by the Data Stage value:

Combining data from several sources

It is possible to combine several attributive datasets into a single data table for particular Data Stage. In order to combine data sources, just select two or more attribute data files (CSV) and join them by using Join Datasets

Adding Datasets from External Sources (GeoMedia WebMap 2016 WFS connectivity)

Data for each Data Stage can be chosen either from the M.App Chest or fetched from an external secure data source over HTTPS. In order to add external data source for your BI data, the Smart M.App developer should provide a secure URL pointing to it.

The geometry data source should return a valid GeoJSON file with “application/vnd.api+geojson” MIME type and attribute data sources should return a valid CSV file with “text/csv” MIME type. Also, the external server should have proper Access-Control-Allow-Origin header in order to allow such connections.

In particular, the external data sources can point to WFS GetFeature requests only if the WFS supports "application/vnd.api+geojson" and "text/csv" output formats. You can easily publish such a service by using GeoMedia WebMap 2016.

Multiple Geovisualizations

In this release, the geovisualizations (georeferenced visualizations that are rendered as map layers) are treated just like the other visualizations (row charts, pie charts, and so forth):

• All available geovisualization types appear as tiles in the Map Visualizations panel in BI Wizard

• The tiles are dragged from the Map Visualizations panel and dropped onto the BI Map Panel workspace and that renders the geometry on the map according to the given geovisualization method
• Each geovisualization layer has its own settings (tooltips, labels, and so forth) that can be independently configured after selecting its legend item in the Legend Control

In the previous release, the BI Map Panel could hold just one geovisualization and it was always a single choropleth. Now with Data Stages you can have multiple geovisualizations - for example polygons representing buildings (first Data Stage) and polylines representing streets (second Data Stage), and more!

With the advent of multiple geovisualizations, there is also a new geovisualization type, which is Point (Cluster) Map.

Introducing Point (Cluster) Maps

It was not always easy to visualize and interpret phenomena if multiple features appeared close to each other on the map. With this release, Point Map geovisualizations help you solve that problem. With point maps, the geometries of all features are converted to points (based on their center-of-mass values), and these points are grouped into clusters according to their geographical proximity.

The individual points with their settings such as tooltips and labels are actually rendered only when it is meaningful.

The clusters have also their own tooltips which provide more detailed information.

The clusters are regrouped with each zoom level change, so that the map delivers meaningful information at every level.

Composite Charts Vastly Improve Data Analysis

With the new Composite Chart Container widget in BI Wizard, you can present different phenomena in a single chart.

Drag & drop two or more line charts on the composite container to get a multiple line widget. Combine bar chart with a line chart to compare phenomena in the most accurate way and save valuable space in your app at the same time. Each chart added to the Composite Chart Container widget can demonstrate a different measure or dimension.

You can set the properties of every chart in the composite Chart Container widget by using the widget’s configuration panel. In addition, the Composite Chart Container has its own properties as well.

Improved Widget Positioning and Snapping to Grid

You have probably already noticed that widgets can be floating rather than having to be docked. As the Smart M.App developer, you can set their positions and sizes at design time and these can also be changed by the end users in the published application.

To make positioning widgets even easier, the BI Wizard now offers a new positioning tool for widgets. When you drag the widget from the toolbox, a positioning grid is displayed in the BI Wizard workspace to let you position your widget on the map precisely. The widgets snap to the grid cells automatically. This way you can ensure that the neighboring charts are aligned vertically, or horizontally in your smart M.App.

Support for CRS other than EPSG:4326

You can now configure your BI map using data provided in a CRS other than EPSG 4326. You can use your external WMS services for map composition to portray the data in the local CRS and display your business information on top of the raster map for analytical purposes.

Rearrange the data in M.App Chest

Now you can move data to different folders in M.App Chest through a familiar cut and paste workflow. You can access this functionality in two ways – the standard CTRL-X/CTRL-V shortcut keys, or through toolbar buttons in the UI. You will find the Cut toolbar button on the Properties panel and the Paste button is in the main toolbar at the top of the app. When you select one or more items, the Cut button will become enabled (1). Click Cut or press CTRL-X to "cut" the selected items. Once you have cut some items, the Paste toolbar button will become enabled (2). Click the Paste button or press CTRL-V to "paste" the cut items into the current folder, which will start the move operation (3). Once the move operation completes, the view will refresh and your data now resides in the folder you pasted it in (4).

Other M.App Chest Enhancements

There are a few other minor enhancements to M.App Chest:

• CRS and footprint display on the Properties panel: The CRS and footprint of georeferenced items are now visible on the Properties panel when the item is selected. The footprint coordinates are displayed for both the items native CRS and WGS84.

• Footprint shown on Preview map: The footprint is also now shown on the Preview map, which you can access without first publishing the item. If the item is not published, you will only be able to view the footprint on the map

If the item is also published, then you can turn the data or the footprint on or off in the map by using the layer control in the upper-right corner of the map.

• Warning when trying to upload files 5GB or larger: The 5GB limit on the size of files that can be uploaded is now clearly indicated. Any file 5GB or larger is marked accordingly and M.App Chest will not attempt to upload it.

New Operators in Spatial Workshop

With this release, Spatial Workshop has several new enhancements:

• The Input dialog for the CoordinateReference Input operator lets you specify the CoordinateReferenceSystemID in your spatial recipe. Now you can easily find and select the (required) input CRS using Coordinate Reference System dialog.

• Improved Input Dialog for the Boundary Input operator now simplifies the process of defining a boundary for your Spatial Recipe.

The dedicated configuration dialogs were updated for Focal and Matrix operators.

• An extended list of more than 150 spatial recipe samples is now included for Landsat, Sentinel and Airbus data. You can use the samples as standalone recipes or as sub-models for composing your specific dedicated recipes.

• Properties panel in Spatial Workshop now automatically recognizes ports with defined list of allowed value attributes. The acceptable attribute values are listed for you in the combo box.

• Displaying port values directly on the spatial recipe graph in the Spatial Workshop workspace is yet another enhancement. Now you do not need to open an operator’s Properties dialog each time you want to see the port value.

• Last but not least, you can now determine the order of the input/output ports in your Spatial Recipe. Once it is established, the order will be honored by the Recipe Panel in your Smart M.App. Note that the order may have an impact on the performed analyses.

 

Community and Technical Support

If you haven't already, we invite you to participate in the Hexagon Geospatial Community, where you can benefit from eTraining videos, knowledge-base articles, and discussion boards.

Use your HGDN Subscription to post your questions regarding M.App Studio functionality or specific Smart M.App customization, and participate in discussions initiated by other Community Members. Access the code examples and snippets published on the Community by Hexagon Geospatial Developers and Community Members to speed up your work.