Click or drag to resize

LocalRepository Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
An abstract class representing one or more local data sources providing GeoBase services (such as routing and mapping). To provide a local data source use either a SimpleRepository or a MultiRepository.
Inheritance Hierarchy

Namespace:  Telogis.GeoBase.Repositories
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public abstract class LocalRepository : Repository, 
	IDisposable

The LocalRepository type exposes the following members.

Properties
  NameDescription
Public propertyBoundingBoxData
Implemented by derived classes to retrieve the RepositoryBoundingBoxData objects that describe the bounding boxes of the repository content.
(Inherited from Repository.)
Public propertyBoundingBoxes
Implemented by derived classes to retrieve the BoundingBox objects that contain the repository content.
(Inherited from Repository.)
Public propertyCopyrightString
Implemented by derived classes to retrieve a repository's copyright information.
(Inherited from Repository.)
Public propertyCountries
Implemented by derived classes to retrieve an array containing every Country present in a repository.
(Inherited from Repository.)
Public propertyDatasetHashCode
Gets the hash code for this Repository's dataset. The hash code may be used to identify the dataset.
(Overrides RepositoryDatasetHashCode.)
Public propertyDatasetHashCodeString
Provides a consistent string representation of DatasetHashCode.
(Inherited from Repository.)
Public propertyHasGlobalData
Implemented by derived classes to determine whether a repository contains global data.
(Inherited from Repository.)
Public propertyIsDisposed
Gets whether the repository has been Disposed.
(Inherited from Repository.)
Public propertyRegions
Implemented by derived classes to retrieve an array of Regions present in a repository.
(Inherited from Repository.)
Public propertyVendorVersion
Implemented by derived classes to retrieve the vendor version for a repository's data set.
(Inherited from Repository.)
Top
Methods
  NameDescription
Public methodDispose
Disposes of this LocalRepository. See remarks.
(Inherited from Repository.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetCountriesIn
Query the repository for all countries which fall underneath the given BoundingBox.
Public methodGetDrivingSide
Indicates which side of the road vehicles drive in the specified country.
(Inherited from Repository.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRepositoriesForCountry
Returns a list of all repositories or sub-repositories of this repository that contain data about the specified country.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasCountry
Indicates whether this repository contains data for the given Country.
(Overrides RepositoryHasCountry(Country).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

Use a MultiRepository to represent multiple local data sources (GBFS files) and a SimpleRepository to represent a single local data source (one GBFS file).

Both MultiRepository and SimpleRepository inherit from LocalRepository, so may be used in place of a LocalRepository.

Related articles: Using Repositories to manage data.

See Also