[Kstars-devel] [PATCH] Support of non-western constellations
Akarsh Simha
akarshsimha at gmail.com
Wed Oct 15 15:57:55 CEST 2008
> > Notes :
> > Lots of constellations are missing because some stars don't have a Bayer
> > designation and I can not use them in clines.dat (e.g. HD224926,
> > HD2411,...). Is there a way to use this stars in clines.dat ?
>
> Why not converting everything to use the HD numbers rather than Bayer
> designation? I guess no constellation uses a star which does not have a HD
> number.
This might be a good idea. I've added a HD field to every StarObject
that could be retrieved using StarObject::getHDIndex(). We could base
the "matching" for stars on that rather than Bayer
designation. There's a StarComponent::findByHDIndex() for this. Unlike
earlier, this will require no change in the catalogs :). Besides, the
startup might become faster because we are doing number matching
rather than string matching.
I still haven't looked at the patch and will do so this weekend.
Regards
Akarsh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://mail.kde.org/pipermail/kstars-devel/attachments/20081015/70d17061/attachment.sig
More information about the Kstars-devel
mailing list