Quantcast
Channel: OpenCities Map Wiki
Viewing all articles
Browse latest Browse all 1284

- Rounding PBA values

$
0
0
Revision 1 posted to Bentley Map - Wiki by Inga Morozoff on 12/1/2017 6:57:38 PM

The Geospatial Administrator provides the ability to round up or down numbers used in PBA.  For example, diameters might be stored with four decimals, but you might want to annotate with two decimals.

To do that, you can make use of the built in XFM.Round evaluator expression to round off values defined as double data type with the following syntax:   XFM.Round(double value, decimal places)

For example:  [XFM.Round([Diameter],2)]  will round the value 25.3678 to 25.37 as shown in the graphic above.

Note that the entire statement is encapsulated in square brackets. 

XFM Round can be applied to PBA keys:

As well as in the Labeling dialog:

 

 

For more information, please refer to:

https://docs.bentley.com/LiveContent/content/en/Bentley%20Map%20Help-v2/GUID-F5AFF697-E56F-58E8-21D4-D7D3165A9186

Diameter = [XFM.Round([Diameter],2)]


Viewing all articles
Browse latest Browse all 1284

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>