The NGC2000 catalog (for which commercial use is prohibited, and so can't be distributed with Debian/Fedora) is replaced with the more license-friendly (CC BY-SA 4.0) OpenNGC.
The accurate NGC/IC positions are removed as well, for which commercial use is also prohibited.
OpenNGC's NGC.csv is added, along with a few awk scripts to split it into separate CSVs for entries and names (mirroring the interface used for NGC2000, so they can more or less be dropped in).
These CSVs are then used to generate both the C files (by more awk), and FITS tables (by convert-openngc.py, and checked in).
The unused Python interface (ngc2000.py) is removed.
Fields that appear to be unused in the codebase (constellation, classification, and magnitude) are removed.
I've tried annotating a few images using plot-constellations and plotann.py, and the results seem mostly sane (albeit with some slight differences in size/position/naming/etc., as you'd expect).
Here's demo/apod2.jpg annotated with NGC2000:
and with OpenNGC:
Fixes #108.
The NGC2000 catalog (for which commercial use is prohibited, and so can't be distributed with Debian/Fedora) is replaced with the more license-friendly (CC BY-SA 4.0) OpenNGC. The accurate NGC/IC positions are removed as well, for which commercial use is also prohibited.
OpenNGC's NGC.csv is added, along with a few awk scripts to split it into separate CSVs for entries and names (mirroring the interface used for NGC2000, so they can more or less be dropped in). These CSVs are then used to generate both the C files (by more awk), and FITS tables (by convert-openngc.py, and checked in). The unused Python interface (ngc2000.py) is removed.
Fields that appear to be unused in the codebase (constellation, classification, and magnitude) are removed.
I've tried annotating a few images using
plot-constellations
andplotann.py
, and the results seem mostly sane (albeit with some slight differences in size/position/naming/etc., as you'd expect).Here's demo/apod2.jpg annotated with NGC2000: and with OpenNGC: