Click or drag to resize

GeoStreamRepository Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
A GeoStreamRepository uses one or more GeoStream servers to support local GeoBase services (such as routing and mapping).
Inheritance Hierarchy
SystemObject
  Telogis.GeoBase.RepositoriesRepository
    Telogis.GeoBase.RepositoriesGeoStreamRepository

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

The GeoStreamRepository type exposes the following members.

Constructors
  NameDescription
Public methodCode exampleGeoStreamRepository(String)
Construct a new GeoStreamRepository from an array of server URL strings. See remarks and example.
Public methodCode exampleGeoStreamRepository(WebProxy, String)
Construct a new GeoStreamRepository which is accessed through a proxy server.
Public methodCode exampleGeoStreamRepository(String, String, String)
Construct a new GeoStreamRepository, connecting to one or more servers using specified credentials. The same credentials will be used for all GeoStream servers in the servers array.
Public methodCode exampleGeoStreamRepository(String, String, Int32, String)
Construct a new GeoStreamRepository, connecting to one or more servers using specified credentials and a given session duration. After the session duration has passed the GeoStreamRepository will automatically re-authenticate. The same credentials will be used for all GeoStream servers in the servers array.
Public methodCode exampleGeoStreamRepository(String, String, GeoStreamRepositoryAuthenticationMode, String)
Construct a new GeoStreamRepository, connecting to one or more servers using specified credentials. The same credentials will be used for all GeoStream servers in the servers array.
Public methodCode exampleGeoStreamRepository(String, String, Int32, WebProxy, String)
Construct a new GeoStreamRepository which is accessed through a proxy server, connecting to one or more servers using specified credentials and a given session duration. After the session duration has passed the GeoStreamRepository will automatically re-authenticate. The same credentials will be used for all GeoStream servers in the servers array.
Public methodCode exampleGeoStreamRepository(String, String, Int32, WebProxy, GeoStreamRepositoryAuthenticationMode, String)
Construct a new GeoStreamRepository which is accessed through a proxy server, connecting to one or more servers using specified credentials and a given session duration. After the session duration has passed the GeoStreamRepository will automatically re-authenticate. The same credentials will be used for all GeoStream servers in the servers array.
Top
Properties
  NameDescription
Public propertyAuthToken
The authentication token used by the server to validate requests.
Public propertyAvailableDataSets
Returns an array of available DataSet objects for this user on this GeoStream server.
Public propertyBoundingBoxData
An array of BoundingBox data for each of the individual repositories associated with the GeostreamRepository.
(Overrides RepositoryBoundingBoxData.)
Public propertyBoundingBoxes
Implemented by derived classes to retrieve the BoundingBox objects that contain the repository content.
(Inherited from Repository.)
Public propertyCompressJsonResponses
When this is set to true, this GeoStreamRepository will indicate to the GeoStream server that it accepts JSON responses compressed using gzip or deflate.
Public propertyCopyrightString
The copyright string for the map source data.
(Overrides RepositoryCopyrightString.)
Public propertyCountries
Returns an array of Country objects representing geographies that the GeoStream server has data for.
(Overrides RepositoryCountries.)
Public propertyCurrentDataSetNames
Returns an array of server-side data set names used by this GeoStreamRepository object. The UseDataSets(String) method allows you to select which server-side data sets should be used to service requests from this GeoStreamRepository object.
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 propertyDefaultDataSet
Returns the default DataSet object used by the GeoStream server to provide data to this GeoStreamRepository object. This property will be null for GeoStream server versions below 3.1.
Public propertyStatic memberDefaultDiskCacheLocation
The default location where the disk cache resides. DefaultDiskCacheLocation is only used if UseDiskTileCache is true and DiskCacheLocation hasn't been set.
Public propertyDiskCacheLocation
The location where the disk cache should reside. DiskCacheLocation is only used if UseDiskTileCache is true.
Public propertyExpect100Continue
When this property is set to true this GeoStreamRepository object will wait for a 100 (Continue) header from the GeoStream server before sending a PUT or POST request body. This allows the GeoStreamRepository object to determine if the GeoStream server is willing to accept the GeoStream request. As RFC2616 says, "In some cases, it might either be inappropriate or highly inefficient for the client to send the body if the server will reject the message without looking at the body".
Public propertyHasGlobalData
Not implemented. Will throw a NotImplementedException.
(Overrides RepositoryHasGlobalData.)
Public propertyIsDisposed
Gets whether the repository has been Disposed.
(Inherited from Repository.)
Public propertyMaxParallelTileFetchThreads
Gets or sets the maximum number of parallel tile request threads to the server. The default value is 8.
Public propertyRecommendedTileSize
The recommended size in pixels for tile requests to this repository
Public propertyRegions
Not implemented. Will thrown a NotImplementedException
(Overrides RepositoryRegions.)
Public propertyRequestTimeoutMs
This property is used to change the Request timeout for non-tile requests. The default timeout is 100,000 milliseconds. Ensure that the server is configured to serve a request of this timespan. In IIS the MaxSessionLength/Session timeout property may need to be greater than this timeout. Note that these settings may vary between IIS versions.
Public propertyServerURLs
Returns the servers used by this GeoStreamRepository, as an array of URLs.
Public propertyServerVersion
Returns the version string of the GeoStream server (which is backing this GeoStreamRepository object).
Public propertyTileRequestTimeoutMs
This property is used to change the Request timeout for tile requests. The default timeout is 30,000 milliseconds.
Public propertyUseDiskTileCache
Whether a tile cache on disk should be created and used. The location of the cache is specified by DiskCacheLocation, which defaults to DefaultDiskCacheLocation.
Public propertyUseKeepAlive
When true this GeoStreamRepository object will attempt to open persistent connections to the GeoStream server, by setting the Connection HTTP header to 'Keep-Alive'.
Public propertyVendorVersion
Gets the vendor version for this Repository's dataset.
(Overrides RepositoryVendorVersion.)
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 methodGetDrivingSide
Indicates which side of the road vehicles drive in the specified country.
(Overrides RepositoryGetDrivingSide(Country).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasCountry
Returns true only if the GeoStream server (represented by this GeoStreamRepository object) has data for the given Country.
(Overrides RepositoryHasCountry(Country).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodCode exampleUseDataSets(DataSet)
Specify the server-side datasets to be used.
Public methodCode exampleUseDataSets(String)
Specify the server-side datasets to be used.
Top
Remarks

Related articles: Using Repositories to manage data.

See Also