Click or drag to resize

Index Statement

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Index
Syntax

INDEX <test>, '[' <crossover> ']' // Line and points

INDEX <test>, '[' <full>, <arterial>, <major> ']' // Streets

The index statement allows control over the index that is queried when drawing a map. Use the index statement to restrict the number of features being queried at high zoom levels. This prevents unnecessary querying of features that will not be drawn. It can only be used within lines, points and streets blocks. The syntax for the streets index takes three values between square brackets, while lines and points take a single value.

Lines and Points

For lines and points, there are two available indexes: Full and Simple. The Full index contains every feature, while the Simple index only contains major features, and in the case of Lines these features are simplified for faster rendering. If the value of <test> is less than the crossover, the full index is used. Otherwise the simple index is used. For example:

INDEX %scale, [ 500 ]

This will use the full index if scale is less than 500.

Streets

Three indexes exist for streets:

FullContains all streets
ArterialContains streets of class Surface, Arterial and above
MajorContains Major, Super and Secondary highways, and larger roads

INDEX %scale, [10,25,100]

This example will query the full index when scale is less that 10. It will query the arterial index when scale is less than 25, and the major highway index when scale is less than 100.