Click or drag to resize

Data File Search Locations

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

When deploying an application it is often undesirable to place data files in a fixed location. GeoBase allows for this by automatically searching a number of locations for data files. GeoBase stops searching as soon as a location with one or more valid data files is found.

You may use a Repository to manage data files on-the-fly. When using a Repository the location (but not necessarily the name) of data files must be known. A Repository allows control of access to specific data files by thread.

Search Locations

GeoBase data files must have .gbfs extensions. GeoBase searches for data files in the following order:

  1. In the startup directory of your application
  2. In the directory that contains geobase.net.dll
  3. In a subdirectory named data below the directory referred to by the Path registry key, stored at HKEY_LOCAL_MACHINE\SOFTWARE\Telogis\GeoBase

When a folder has been found in this list, GeoBase checks for a version dependent subfolder. This subfolder has a name of the form gb.<major>.<minor>. For example, the folder gb.2.0 will have GBFS 2.0 files in it. This allows multiple versions of GeoBase to coexist on a single machine. If no version specific subfolder exists, GBFS files from the main folder are used.

Note Note

GeoBase stops searching as soon as one or more data files are found in a location.