Some values in MCF need refer to values that can not be represented by single numeric or text values. We represent these using "complex values".
Examples of complex values include:
- a Quantity, coded as:
[<unit> <val>], for example:[% 5], or[Acre 128]
- a QuantityRange, coded as one of:
[<unit> <startval> <endval>]represents[X, Y], for example:[Acre 1 9.9]represents Acre quantities between1and9.9(endpoints inclusive)[<unit> - <endval>]represents(-INF, Y], for example:[Celsius - -5]represents Celsius quantities lesser than or equal to-5(inclusive)[<unit> <startval> -]represents[X, INF), for example:[Acre 1000 -]represents Acre quantities greater than or equal to1000.
- a GeoCoordinate represents a point on Earth referenced by latitude/longitude coordinates, coded as one of:
-
[LatLong <lat_value> <long_value>], for example:[LatLong -10.136 161.173] -
[<lat_value> <long_value> LatLong], for example:[10.136S 161.173E LatLong]GeoCoordinatevalues for the latitude and longitude may either:- Use a
-sign when they are on the South or West or, - Have a suffix of
N,E,S, orWto indicate which hemisphere they belong to.
- Use a