Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Expressions are a set of layer fields which can be used for expressing record data in an aggregated text-based form. For instance the following expression displays a building number, a street name followed by a postcode:

[BUILDING_NO] [STREET] [POSTCODE]

Expressions may include:

  • Layer field references which have to be enclosed with squared brackets [] (I.e. [NAME], [POSTCODE] )
  • multiple lines of text
  • other text (I.e. not only field references)
  • additional predefined fields (described below)

Therefore aforementioned example can be rewritten to the following form:

House no: [BUILDING_NO] [STREET], [POSTCODE]


Image RemovedImage Added

In expressions tab you can enter the following expressions:

Key


Image AddedImage Removed


This expression is used to provide aggregated results in the Inspected Record panel. It contains the most important information from the record. The Key can also be used to aggregate search results in Find, Find Address and Find Nearest commands . This by checking the Use key in search results option. This is particularly useful in case of gazetteers when normal results are infeasible due to a large number of mainly empty columns.

Order


Image Added

...

An expression in this field will determine the order of fields from any given record from this table that will be exported either by using quick export or Export tool from Administrator tab.

Tooltip

Image Removed




This expression will be visible as a tooltip when hovering the mouse cursor above a layer in Map window. Additional options below the field allows you to control whether tooltip should be displayed only if the layer is visible or to set the tooltip priority.  Please note that tooltips will be visible only when Inspect tool is selected.

The results of presented settings are shown below:

Summary

This expression defines which information will be displayed in:

  • Aurora results box  
  • Wrapped view of Inspected record pane (click Wrap button in top right corner of Inspection panel to activate wrapped view)

...


Info

There is a special expression which calculates the distance between a location pin and the record. There are 2 possible ways to use this expression:

 

 



  • by using a regular expression: [DISTANCE]

     

  • or by using more precise expression: [DISTANCE(units,precision)]

     

You can either use the abbreviation of the units (i.e.: m, km, ft, yd, mi) or their full names (i.e.: metres, kilometres, feet, yards, miles) to control whether the distance will have abbreviated or full units.

 


Details

This expression defines which information will be displayed for a selected record in:

  • Aurora result box

  • Wrapped view of Inspected record pane  (click Wrap button in top right corner of Inspection panel to activate wrapped view) 
  • Result box in print templates
CHECK
Info
NOTE: This expression used to be called "Inspect" so you may find this name on the images below.

This expression defines Inspect Check box result text in Aurora. If it’s not defined, then Aurora will create Inspect Check box result text based on Details expression.

...

Info

If you are familiar with HTML it’s worth trying to use this knowledge to empower results presented in Aurora result Check box. For instance, you can embed an image. To do this, please use HTML <img> tag:

The results are presented below:

However please be aware that if you begin to use HTML tags – all Inspect expression elements must be placed in HTML tags. For Instance, it’s not allowed to mix standard texts with <img> tag:

Effect:

To fix this issue you need to place the text inside a HTML tag. For instance <p> </p>:

Final effect:

...