Stars.dat / Nineplanets

The place to discuss creating, porting and modifying Celestia's source code.
Avatar
Topic author
HB M
Posts: 132
Joined: 26.11.2002
With us: 22 years
Location: Eindhoven, The Netherlands

Stars.dat / Nineplanets

Post #1by HB » 03.03.2003, 12:57

Hi folks,

A few months ago I,ve redesigned the Buildstardb little bit to a more luxury version.
Together with this I've created a stars.dat converter which read the stars.dat file and write it into a semicolon separated text file. This is for comparising the data as used in Celestia with other catalogs and for educational purposes.
The modifications to BuildstarDb are that it now can be compiled with MSVS-C++ (reading of arguments); correct an error of the double star (Eri-ups) and some modifications to the different kind of verbose- and dropstar levels. With the verbose levels one can have different kind of usefull statistical information written during the building of stars.dat (Default written to screen but with the use of a *.bat file to a textfile as well)

Because I was and still not familiar with uploading these files to CVS I've sent them to Chris Laurel, first to take a look to it and then I was hoping that he will publish it on CVS so that it will be usefull to anyone. Sofar I haven't seen it yet.

Hopefully he will find these files back and will publish it on CVS. In the mean time to all who are interested drop me a message and sent it to you.

Celestia is a very usefull program for education on a school. But often they can't affort themself the too high costs of fast internet like a cable connection and so still using a slow phoneline. For this purpose I've modified Winmain.cpp a little bit in such a way that Information will not come from the Nineplanet website but from a downloaded version of Nineplanets on the harddisc. (yes, the sun is now included to)
Same kind of principal is made as well for all known stars belonging to a constellation (about 3200 stars). Drop a messages if you are interested.

HB

marc
Posts: 426
Joined: 13.03.2002
With us: 22 years 8 months
Location: Outback Australia

Post #2by marc » 03.03.2003, 22:54

I noticed the double star in stars.dat when i was pushing stars into an SQL database. Could you email me your Buildstardb and CSV converter? I reckon i can make some use of it for processing the larger star database.

marcsmostlyharmless@hotmail.com

Avatar
Topic author
HB M
Posts: 132
Joined: 26.11.2002
With us: 22 years
Location: Eindhoven, The Netherlands

Stardb

Post #3by HB » 04.03.2003, 12:29

Hi,

There's a small mistake made by me. The doublestar in stars.dat is Eps-Tuc an NOT Eri-Up. I'm sorry.
HB

marc
Posts: 426
Joined: 13.03.2002
With us: 22 years 8 months
Location: Outback Australia

Post #4by marc » 05.03.2003, 00:37

I did find a double star though i cant remember the catalog number. I was using the catalog number as the primary key and got a duplicate key error. Next time it comes up ill take note of which star it is.


Return to “Development”