GeoStreamRepository Class |
Namespace: Telogis.GeoBase.Repositories
The GeoStreamRepository type exposes the following members.
Name | Description | |
---|---|---|
GeoStreamRepository(String) |
Construct a new GeoStreamRepository from an array of server URL strings. See remarks and example.
| |
GeoStreamRepository(WebProxy, String) |
Construct a new GeoStreamRepository which is accessed through a proxy server.
| |
GeoStreamRepository(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.
| |
GeoStreamRepository(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.
| |
GeoStreamRepository(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.
| |
GeoStreamRepository(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.
| |
GeoStreamRepository(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.
|
Name | Description | |
---|---|---|
AuthToken |
The authentication token used by the server to validate requests.
| |
AvailableDataSets |
Returns an array of available DataSet objects for this
user on this GeoStream server.
| |
BoundingBoxData |
An array of BoundingBox data for each of the individual repositories associated with the GeostreamRepository.
(Overrides RepositoryBoundingBoxData.) | |
BoundingBoxes |
Implemented by derived classes to retrieve the BoundingBox objects that contain the repository content.
(Inherited from Repository.) | |
CompressJsonResponses |
When this is set to true, this GeoStreamRepository will indicate to the GeoStream
server that it accepts JSON responses compressed using gzip or deflate.
| |
CopyrightString |
The copyright string for the map source data.
(Overrides RepositoryCopyrightString.) | |
Countries |
Returns an array of Country objects representing
geographies that the GeoStream server has data for.
(Overrides RepositoryCountries.) | |
CurrentDataSetNames |
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.
| |
DatasetHashCode |
Gets the hash code for this Repository's dataset. The hash code may be used to identify the dataset.
(Overrides RepositoryDatasetHashCode.) | |
DatasetHashCodeString |
Provides a consistent string representation of DatasetHashCode.
(Inherited from Repository.) | |
DefaultDataSet |
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.
| |
DefaultDiskCacheLocation |
The default location where the disk cache resides. DefaultDiskCacheLocation is only used if
UseDiskTileCache is true and DiskCacheLocation hasn't been set.
| |
DiskCacheLocation |
The location where the disk cache should reside. DiskCacheLocation is only used if
UseDiskTileCache is true.
| |
Expect100Continue |
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".
| |
HasGlobalData |
Not implemented. Will throw a NotImplementedException.
(Overrides RepositoryHasGlobalData.) | |
IsDisposed |
Gets whether the repository has been Disposed.
(Inherited from Repository.) | |
MaxParallelTileFetchThreads |
Gets or sets the maximum number of parallel tile request threads to the server.
The default value is 8.
| |
RecommendedTileSize |
The recommended size in pixels for tile requests to this repository
| |
Regions |
Not implemented. Will thrown a NotImplementedException (Overrides RepositoryRegions.) | |
RequestTimeoutMs |
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.
| |
ServerURLs |
Returns the servers used by this GeoStreamRepository, as an array of URLs.
| |
ServerVersion |
Returns the version string of the GeoStream server (which is backing this
GeoStreamRepository object).
| |
TileRequestTimeoutMs |
This property is used to change the Request timeout for tile requests.
The default timeout is 30,000 milliseconds.
| |
UseDiskTileCache |
Whether a tile cache on disk should be created and used. The location of the cache is
specified by DiskCacheLocation, which defaults to DefaultDiskCacheLocation.
| |
UseKeepAlive |
When true this GeoStreamRepository object will attempt to open persistent connections to the
GeoStream server, by setting the Connection HTTP header to 'Keep-Alive'.
| |
VendorVersion |
Gets the vendor version for this Repository's dataset.
(Overrides RepositoryVendorVersion.) |
Name | Description | |
---|---|---|
Dispose |
Disposes of this LocalRepository. See remarks.
(Inherited from Repository.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetDrivingSide |
Indicates which side of the road vehicles drive in the specified country.
(Overrides RepositoryGetDrivingSide(Country).) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasCountry |
Returns true only if the GeoStream server (represented by this GeoStreamRepository object)
has data for the given Country.
(Overrides RepositoryHasCountry(Country).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UseDataSets(DataSet) |
Specify the server-side datasets to be used.
| |
UseDataSets(String) |
Specify the server-side datasets to be used.
|
Related articles: Using Repositories to manage data.