Click or drag to resize

DataQueryQueryLinks Method (BoundingBox)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Gets an array of StreetLinks that lie underneath the given BoundingBox.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public static StreetLink[] QueryLinks(
	BoundingBox bbox
)

Parameters

bbox
Type: Telogis.GeoBaseBoundingBox
The BoundingBox representing the area to be queried.

Return Value

Type: StreetLink
An array of StreetLinks
Remarks
This method also matches StreetLinks that pass through rect and continue outside its area.
Further, StreetLinks with BoundingBoxes that intersect rect will also be returned by this method, thus it is possible that StreetLinks will be returned that appear to lie outside rect.
Examples
C#
// Create a BoundingBox enclosing and intersecting the streets to query
BoundingBox queryBox = new BoundingBox(new LatLon(33.634192, -117.900444));

// Create the QueryLinks array.
StreetLink[] queryLinks = DataQuery.QueryLinks(queryBox);

// Compile some information from the array, then print it
string output = "Found " + queryLinks.Length + " street links in the BoundingBox." +
    " The LinkID of the first link found was " + queryLinks[0].LinkId;
Console.WriteLine(output);
//    Found 193 street links in the BoundingBox. The LinkID of the first link found was 24070625
See Also