summaryrefslogtreecommitdiffstats
path: root/tksao/frame/frmarkerxml.C
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-08-03 20:29:50 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-08-03 20:29:50 (GMT)
commitb8525c3dd6b1e98d1b8754cfeb25a2f8a5a56479 (patch)
treecce6ece606536feed1304203c11ee3cb446ba774 /tksao/frame/frmarkerxml.C
parentf0f09fa30fea1f957e2a7c98b9d66431c2e31df7 (diff)
downloadblt-b8525c3dd6b1e98d1b8754cfeb25a2f8a5a56479.zip
blt-b8525c3dd6b1e98d1b8754cfeb25a2f8a5a56479.tar.gz
blt-b8525c3dd6b1e98d1b8754cfeb25a2f8a5a56479.tar.bz2
simplify coord system options
Diffstat (limited to 'tksao/frame/frmarkerxml.C')
-rw-r--r--tksao/frame/frmarkerxml.C8
1 files changed, 0 insertions, 8 deletions
diff --git a/tksao/frame/frmarkerxml.C b/tksao/frame/frmarkerxml.C
index 0a5ff39..e689b4e 100644
--- a/tksao/frame/frmarkerxml.C
+++ b/tksao/frame/frmarkerxml.C
@@ -393,7 +393,6 @@ void Base::xmlParseTR(char** cols, int* id, char** unit, char** ref,
if (angsys == Coord::WCS) {
switch (angsky) {
case Coord::FK4:
- case Coord::FK4_NO_E:
case Coord::FK5:
case Coord::ICRS:
angoffset = M_PI;
@@ -408,7 +407,6 @@ void Base::xmlParseTR(char** cols, int* id, char** unit, char** ref,
if (angsys == Coord::WCS) {
switch (angsky) {
case Coord::FK4:
- case Coord::FK4_NO_E:
case Coord::FK5:
case Coord::ICRS:
break;
@@ -867,15 +865,12 @@ Vector Base::xmlPoint(FitsImage* ptr, const char* xstr, const char* ystr,
switch (sky) {
case Coord::FK4:
- case Coord::FK4_NO_E:
case Coord::FK5:
case Coord::ICRS:
xx = xx/24.*360.;
break;
case Coord::GALACTIC:
- case Coord::SUPERGALACTIC:
case Coord::ECLIPTIC:
- case Coord::HELIOECLIPTIC:
break;
}
rr = ptr->mapToRef(Vector(xx,yy), sys, sky);
@@ -1041,19 +1036,16 @@ void Base::markerListXMLHeader(ostream& str, Coord::CoordSystem sys,
char* yucd=NULL;
switch (sky) {
case Coord::FK4:
- case Coord::FK4_NO_E:
case Coord::FK5:
case Coord::ICRS:
xucd = dupstr("pos.eq.ra;meta.main");
yucd = dupstr("pos.eq.dec;meta.main");
break;
case Coord::GALACTIC:
- case Coord::SUPERGALACTIC:
xucd = dupstr("pos.galactic.lon;meta.main");
yucd = dupstr("pos.galactic.lat;meta.main");
break;
case Coord::ECLIPTIC:
- case Coord::HELIOECLIPTIC:
xucd = dupstr("pos.ecliptic.lon;meta.main");
yucd = dupstr("pos.ecliptic.lat;meta.main");
break;