DataQueryQueryPoints Method (BoundingBox, String) | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Namespace:
Telogis.GeoBase
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public static PointFeature[] QueryPoints(
BoundingBox bbox,
string tableName
)
Public Shared Function QueryPoints (
bbox As BoundingBox,
tableName As String
) As PointFeature()
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:
PointFeatureAn 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
BoundingBox bbox = new BoundingBox(new LatLon(34, -117), new LatLon(33.75, -117.5));
PointFeature[] parray = DataQuery.QueryPoints(bbox, "all");
Console.WriteLine("There are a total of " + parray.Length + " PointFeatures in the given BoundingBox");
See Also