With the operation BoundingBox a bounding box (the smallest possible rectangle according to the mercator cylinder projection in the plain) for polygons or polylines can be calculated, and the corner's longitude/latitude can be output.
Input
For the operation BoundingBox the adapter expects the same input XML structure as for the operation LineConversion, where polygones, polylines as well as additional (optional) attributes are specified.
Output
For the operation BoundingBox an XML document will be output, where for each element Polygon or Polyline that has been defined within the input XML the corners of a rectangular bounding box will be output. In addition, all attributes that were defined in the input XML within the elements Polygon or Polyline will be output without modification.
The required corners (latitude/longitude) to spread out a bounding box will be output as follows:
<Data>
<!-- For each polygon/polyline element -->
<BoundingBox attribute="value"> <!-- Any attributes -->
<MinLatitude><!--Geodecimally-encoded latitude of corner 1--></MinLatitude>
<MaxLatitude><!--Geodecimally-encoded latitude of corner 2--></MaxLatitude>
<MinLongitude><!--Geodecimally-encoded longitude of corner 1--></MinLongitude>
<MaxLongitude><!--Geodecimally-encoded longitude of corner 2--></MaxLongitude>
</BoundingBox>
</Data>