Dear Ammar,

what I did long time ago using version 0.10.2 was: I downloaded the desired
text star catalogs from ftp server of CDS in Strasbourg (I think it was
cdsweb.u-strasbg.fr, (http://cdsarc.u-strasbg.fr/viz-bin/ftp-index?)). Then
I loaded the text files into MySQL databsse. In the end it was 1GB database
(commands necessary for creation described in changes.txt). If you have
MySQL 5.1-32 installed, all the commands from changes.txt and datap.txt are
repeatable but it takes a lot of time. After I loaded the text files into
MySQL database I ran various scripts and queries and created text outputs
with extension .fab (scripts described in datap.txt). Then I replaced the
contents of the file name.fab in Stellarium user directory with the file
created by a particular query, e.g. ads.fab -> names.fab. Then I restarted
Stellarium and had my local designations I wanted. That was the only way to
create a join between Hip catalog and external data, there was no chance of
join with TYC catalog. There was not and probably is not now a way to
produce a direct join with binary .cat files unless you start heavy C
programming and changing structure of catalog files, not my domain.
To my surprise I found in my archives the generated .fab files, it is 12MB
compressed, if you want I can email that to your address and you can play
with it if you like. I cannot send it here, people would kill me for that.

Cheers,

Pavel

On 23 May 2013 21:16, Shadiq Ammar <ammar.sha...@gmail.com> wrote:

> Dear Pavel,
>
> Thank you for your reply, please correct me if I'm wrong. From my quick
> glance on your script its looks like your are compiling data from various
> repository and using it to create a new stellarium star catalog with added
> information or for other means. But it looks like the output/input to mysql
> are in plain text file. How do you incorporate those output to stellarium,
> you know, since stellarium using *hex* format.
>
> Again plese correct me if I'm wrong.
>
> Thank you.
>
>
>
> On Fri, May 24, 2013 at 1:32 AM, Pavel Spacek <pavel.spa...@gmail.com>wrote:
>
>> Dear Ammar,
>>
>> 3 or 4 years ago I played with personal customization of Stellarium as
>> well. Originally I just wanted to have Aitken and Struve numbers available
>> and variable stars name search. I have no time for it now. You can search
>> for my email in the sourceforge archive. I downloaded plethora of text
>> catalogues from CDS, loaded them to MySQL and made query scripts over the
>> tables, that provided interested data. I still found the description of the
>> work and the scripts in my archive, attaching 3 text files, check them if
>> they are of any use to you. (Knowledge of MySQL is necessary). You find
>> that names.fab approach has its limitations (I believe the issue I raised
>> when reporting was still on sourceforge was never fixed).
>>
>> I think Virgo provides similar functionality but, alas, you have to be
>> online. I made my customization for myself, always being offline.
>>
>> Cheers,
>>
>> Pavel
>>
>>
>>
>>
>> On 23 May 2013 16:47, Georg Zotti <georg.zo...@univie.ac.at> wrote:
>>
>>> Dear Ammar,
>>>
>>> it's far simpler. Star names are part of a sky culture, therefore they
>>> are
>>> stored there, in the star_names.fab file. This is a text file which lists
>>> Hipparchos numbers and the given name.
>>>
>>> Kind regards,
>>> Georg
>>>
>>>
>>> On Do, 23.05.2013, 14:01, Shadiq Ammar wrote:
>>> > My current objective are adding star names to unnamed stars on
>>> stellarium.
>>> > After exploring stellarium stars *.cat* files and trying to convert it
>>> > using /util/ConvertCatToNative i notice that file format are still in
>>> hex.
>>> > I never handles hex files before.... I'm trying to understands it, but
>>> > probably wrong. From what I read here:
>>> >
>>> http://sourceforge.net/projects/stellarium/files/Stellarium-user-guide/0.9.1-1/stellarium_user_guide-0.9.1-1.pdf
>>> > (Appendix
>>> > E: Starts Catalog)
>>> >
>>> > table E-10 on above document.
>>> > column name: hip, offset: 0, siz:3, description: hipparcos catalogue
>>> > number
>>> >
>>> > Implies that the first 3 byte on stars_0_0v0_1.cat are hipparcos
>>> catalog
>>> > number, but I don't know which one (signed/unsigned int 8/16/32/64) my
>>> > guess is the unsigned 16 bit. (btw, I'm using Bless Hex Editor to read
>>> the
>>> > file).
>>> >
>>> > Could anyone give me pointer of how to read and edit the star catalog?
>>> > such
>>> > as where the record of a star ended and which table (at the document
>>> > above), what files do I have to pay attention to, how to add or edit a
>>> > star
>>> > name etc?
>>> >
>>> > Thank you.
>>> >
>>> > --
>>> > Ammar Shadiq
>>> >
>>> ------------------------------------------------------------------------------
>>> > Try New Relic Now & We'll Send You this Cool Shirt
>>> > New Relic is the only SaaS-based application performance monitoring
>>> > service
>>> > that delivers powerful full stack analytics. Optimize and monitor your
>>> > browser, app, & servers with just a few lines of code. Try New Relic
>>> > and get this awesome Nerd Life shirt!
>>> >
>>> http://p.sf.net/sfu/newrelic_d2d_may_______________________________________________
>>> > Stellarium-pubdevel mailing list
>>> > Stellarium-pubdevel@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel
>>> >
>>>
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Try New Relic Now & We'll Send You this Cool Shirt
>>> New Relic is the only SaaS-based application performance monitoring
>>> service
>>> that delivers powerful full stack analytics. Optimize and monitor your
>>> browser, app, & servers with just a few lines of code. Try New Relic
>>> and get this awesome Nerd Life shirt!
>>> http://p.sf.net/sfu/newrelic_d2d_may
>>> _______________________________________________
>>> Stellarium-pubdevel mailing list
>>> Stellarium-pubdevel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Try New Relic Now & We'll Send You this Cool Shirt
>> New Relic is the only SaaS-based application performance monitoring
>> service
>> that delivers powerful full stack analytics. Optimize and monitor your
>> browser, app, & servers with just a few lines of code. Try New Relic
>> and get this awesome Nerd Life shirt!
>> http://p.sf.net/sfu/newrelic_d2d_may
>> _______________________________________________
>> Stellarium-pubdevel mailing list
>> Stellarium-pubdevel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel
>>
>>
>
>
> --
> Ammar Shadiq
>
>
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
> _______________________________________________
> Stellarium-pubdevel mailing list
> Stellarium-pubdevel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel
>
>
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Stellarium-pubdevel mailing list
Stellarium-pubdevel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel

Reply via email to