https://dsoplanner.com/index.php?title=Objects_Databases&feed=atom&action=historyObjects Databases - Revision history2024-03-28T20:11:41ZRevision history for this page on the wikiMediaWiki 1.36.1https://dsoplanner.com/index.php?title=Objects_Databases&diff=52&oldid=prevHalxinator: Created page with "= Overview = <gallery mode="packed" heights=600px caption="Figure 10: Object Databases module screenshots"> Image:db.jpg | (using bright theme) Image:db2.jpg | (in the night..."2021-04-28T07:35:15Z<p>Created page with "= Overview = <gallery mode="packed" heights=600px caption="Figure 10: Object Databases module screenshots"> Image:db.jpg | (using bright theme) Image:db2.jpg | (in the night..."</p>
<p><b>New page</b></p><div>= Overview =<br />
<br />
<gallery mode="packed" heights=600px caption="Figure 10: Object Databases module screenshots"><br />
Image:db.jpg | (using bright theme)<br />
Image:db2.jpg | (in the night mode)<br />
</gallery><br />
<br />
Objects Databases module provides tools to work with various DSO Planner databases of objects on the Android device (Figure <span id=fig:obj_dbs>10</span>). You can add you own databases and they will be treated by DSO Planner engine the same way as internal ones, including but not limited to the functions provided in [[Object Selection module]], [[Other Modules#Global_Search|Global Search]], [[Observation Notes]], [[Observations Lists module]], and [[Star Chart module]]. This unique feature greatly enhances application functionality as users could create any number of own databases for their needs and easily share and distribute them around.<br />
<br />
The main screen of the module shows the list of databases available for DSO Planner on the Android device. <br />
<br />
Tap the database row to open it, using the [[View Database]] module, where you can edit it, add new items, e.t.c.<br />
<br />
== Editable Integrated Databases ==<br />
<br />
Several Integrated databases of DSO Planner allows to add new objects of the similar kind to them or edit existing objects' records right through the database list screen. The format of the data in these databases explained below. To edit object in such a database - long tap on the object to open its context menu an select the "Edit" item. To add a new object or import a list of objects from the SD card - use the main menu of the database list screen.<br />
<br />
=== Comets ===<br />
<br />
* '''name1''' &mdash; Short name of the object<br />
* '''name2''' &mdash; Long Name of the object<br />
* '''comment''' &mdash; free note text<br />
* '''month''' &mdash; Orbit elements' Epoch month<br />
* '''year''' &mdash; Orbit elements' Epoch year<br />
* '''absmag''' &mdash; Absolute star magnitude<br />
* '''day''' &mdash; Orbit elements' Epoch day<br />
* '''e''' &mdash; Orbital Excentricity<br />
* '''i''' &mdash; Inclination to the ecliptic, J2000.0 (degrees)<br />
* '''node''' &mdash; Longitude of the ascending node, J2000.0 (degrees)<br />
* '''q''' &mdash; Perihelion distance (AU)<br />
* '''slope''' &mdash; Star magnitude slope parameter<br />
* '''w''' &mdash; Argument of perihelion, J2000.0 (degrees)<br />
<br />
=== Minor Planets ===<br />
<br />
* '''name1''' &mdash; Short name of the object<br />
* '''name2''' &mdash; Long Name of the object<br />
* '''comment''' &mdash; free note text<br />
* '''month''' &mdash; Orbit elements' Epoch month<br />
* '''year''' &mdash; Orbit elements' Epoch year<br />
* '''G''' &mdash; Star magnitude slope parameter<br />
* '''H''' &mdash; Absolute star magnitude<br />
* '''M''' &mdash; Mean anomaly at the Epoch (degrees)<br />
* '''axis''' &mdash; Semimajor axis of the orbit (AU)<br />
* '''day''' &mdash; Orbit elements' Epoch day<br />
* '''e''' &mdash; Orbital Excentricity<br />
* '''i''' &mdash; Inclination to the ecliptic, J2000.0 (degrees)<br />
* '''node''' &mdash; Longitude of the ascending node, J2000.0 (degrees)<br />
* '''w''' &mdash; Argument of perihelion, J2000.0 (degrees)<br />
<br />
See the [[Use cases#Add_new_asteroid_to_the_database_from_NASA_JPL_HORIZONS|Use Case]] for converting the asteroid data from the [http://ssd.jpl.nasa.gov/horizons.cgi#top NASA JPL HORIZONS] orbit elements.<br />
<br />
== Context menu ==<br />
<br />
* '''Fields''' &mdash; Show all of the custom fields of the database.<br />
* '''Remove database''' &mdash; Remove the database (delete it).<br />
<br />
== Gestures ==<br />
<br />
There are two simple [[User Interface#Gestures | flick gestures]] available, that could be called throughout the application for calling Menu (flick up) and returning to the previous window (flick left). See the Main Concepts, User Interface chapter for more details.<br />
<br />
= User Database =<br />
<br />
<gallery mode="packed" heights=500px caption="Adding new user database"><br />
Image:Dbadd3.jpg | (Click Add and enter the new DB name)<br />
Image:Dbadd4.jpg | (Decide on custom fields)<br />
Image:Dbadd5.jpg | (Add custom fields names and types)<br />
Image:dbadd1.jpg | (Edit custom fields before clicking Done)<br />
</gallery><br />
<br />
== Creating User Database ==<br />
<br />
To create a new user database &mdash; tap the '''Add''' button at the bottom of the databases list. Set the name of the database in the dialog provided and decide if you want to add [[Data formats#Additional_(custom)_object_fields|custom fields]] to it or not. When there are no custom fields required &mdash; the new database will be created with the set of default, [[Data formats#Standard_data_fields|standard data fields]], similar to the NGCIC database. You can add any number of custom data fields of various types (Text String, integer, etc.) to your database. They are not only for the information representation, but also to define interaction model (eg, the Image Path type field will allow to open that image for preview). See the [[Data formats]] section for more details. <br />
<br />
== Import data ==<br />
<br />
After creating the new database you can import the data into that database from a special text file, containing rows of records per object with pairs of ''name=value;'' defining the object's information. Open the database from the databases list and select the "Import" option from the main menu of the View Database screen. Then navigate to the file you want to import and select it. The importing procedure may take a while for large files, so its progress and status will be displayed in the standard Android notifications area.<br />
<br />
'''Note''', that for a successful data importing you have to make sure the custom field names, which you have defined for the new database, are matching the field names in the database you plan to import exactly. Keep in mind though, that it is possible for the import file records to omit any number of nonessential records (i.e. if they are not available or have no value assigned). So you may need to refer to the importing instructions to that file or review the entire file to recover all of the custom fields' names used. There is NO way to edit data fields after the database is created. The records (lines) with the fields which was not defined in the new database will not be imported (skipped during the import loop).</div>Halxinator