StkSatelliteDatabase Class |
Namespace: AGI.Foundation.Stk
The StkSatelliteDatabase type exposes the following members.
| Name | Description | |
|---|---|---|
| StkSatelliteDatabase(StreamFactory) |
Initializes a new instance which will read data from a ZIP archive containing satellite database files.
| |
| StkSatelliteDatabase(String) |
Initializes a new instance which will read data from a ZIP archive containing satellite database files.
| |
| StkSatelliteDatabase(String, String) |
Initializes a new instance which will read data from a directory of satellite database files.
|
| Name | Description | |
|---|---|---|
| LastUpdateDate |
Gets the last update date reported in the Generic Database (.gd) file, or MinValue
if the file does not exist or does not contain a LastUpdate field.
| |
| Version |
Gets the version number reported in the Generic Database (.gd) file, or "Unknown" if
the file does not exist or does not contain a Version field.
|
| Name | Description | |
|---|---|---|
| Download |
Downloads the current stkSatDbAll satellite database from an AGI server.
This method connects via HTTPS to ftp.agi.com.
| |
| Download(IWebProxy) |
Downloads the current stkSatDbAll satellite database from an AGI server.
This method connects via HTTPS to ftp.agi.com.
| |
| Download(StkSatelliteDatabaseType) |
Downloads a current satellite database from an AGI server.
This method connects via HTTPS to ftp.agi.com.
| |
| Download(IWebProxy, StkSatelliteDatabaseType) |
Downloads a current satellite database from an AGI server.
This method connects via HTTPS to ftp.agi.com.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetEntries |
Gets all of the entries in the database.
| |
| GetEntries(StkSatelliteDatabaseQuery) |
Gets all of the entries in the database matching a specified query.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetMissions |
Gets the missions of the spacecraft in the database.
| |
| GetOwners |
Gets the owners of the spacecraft in the database.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| CreatePlatforms | Overloaded.
Creates a platform for each satellite entry in the supplied database.
(Defined by StkSatelliteDatabaseExtensions.) | |
| CreatePlatforms(StkSatelliteDatabaseQuery) | Overloaded.
Creates platforms representing the satellites in the database that match the input query.
(Defined by StkSatelliteDatabaseExtensions.) |
The following example shows how to query the satellite database for satellites matching certain criteria:
StkSatelliteDatabase db = new StkSatelliteDatabase(dbDirectory, "stkSatDb"); // Create a query object and then populate it with the properties to query on. // Regular expressions are used to query on strings. StkSatelliteDatabaseQuery query = new StkSatelliteDatabaseQuery { CommonName = new Regex("QUICK"), MinimumApogee = 200000.0, }; // Get the database entries matching the query and print out the SSC number of each. foreach (StkSatelliteDatabaseEntry entry in db.GetEntries(query)) { Console.WriteLine(entry.SatelliteNumber); }