Click or drag to resize

BoundingBoxAllowCrossAntimeridian Property

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Whether the BoundingBox is allowed to straddle the antimeridian (the meridian at +/- 180 degrees). The default is true.

Namespace:  Telogis.GeoBase
Assembly: (in Version:
public bool AllowCrossAntimeridian { get; set; }

Property Value

Type: Boolean
BoundingBoxOperationExceptionThrown when set if P1 and P2 are not equal.

If set to true then the BoundingBox will never cover more than 180 degrees of longitude. In certain situations, the BoundingBox will achieve this by setting its left-hand edge to have a longitude larger than its right-hand edge, in which case the BoundingBox straddles the antimeridian (the meridian at +/- 180 degrees).

For example, if set to true and the following points are added to the BoundingBox: (51, 171) and (72, -130), then the BoundingBox will have P1=(51, 171) and P2=(72, -130), meaning it will approximately cover Alaska USA. However, if this property is set to false, then the BoundingBox will have P1=(51,-130) and P2=(72,171), meaning it will cover a narrow strip around the world from western Canada to eastern Russia.

This value may only be changed when the bounding box covers zero area (ie P1 == P2).

See Also