Click or drag to resize

DataQueryQueryPoints Method (BoundingBox, String)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Finds PointFeature objects that lie within the given BoundingBox.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public static PointFeature[] QueryPoints(
	BoundingBox bbox,
	string tableName
)

Parameters

bbox
Type: Telogis.GeoBaseBoundingBox
The BoundingBox representing the area to query.
tableName
Type: SystemString
The name of the table to query.

Return Value

Type: PointFeature
An array of PointFeatures matching the specified type in the BoundingBox.
Remarks
Map features are stored in named tables according to their type. Developers with custom data should avoid using the table names in the list below.
Pre-defined data query tables
all
small_villages
villages
large_villages
towns
large_towns
small_cities
cities
major_cities
Examples
C#
// 
// Create new BoundingBox, NE Los Angeles (USA)
// 
BoundingBox bbox = new BoundingBox(new LatLon(34, -117), new LatLon(33.75, -117.5));

// 
// Get all PointFeatures in the bounding box...
// 
PointFeature[] parray = DataQuery.QueryPoints(bbox, "all");
Console.WriteLine("There are a total of " + parray.Length + " PointFeatures in the given BoundingBox");
See Also