Skip to content

Commit

Permalink
Adding a refposition attribute to COOSYS (#33)
Browse files Browse the repository at this point in the history
This addresses issue #16.
  • Loading branch information
msdemlei authored Aug 14, 2023
1 parent 3cfe52a commit 657fbb1
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 19 deletions.
60 changes: 47 additions & 13 deletions VOTable.tex
Original file line number Diff line number Diff line change
Expand Up @@ -671,17 +671,44 @@ \subsection{\elem{COOSYS} Element}
\label{elem:COOSYS}

The \elem{COOSYS} element defines a celestial coordinate system, to
which the components of a position on the celestial sphere refer. It has
an \attr{ID} attribute -- required if the \elem{COOSYS} element has to
which the components of a position on the celestial sphere refer. It
has the following attributes, all of them (syntactically) optional:

\begin{description}
\item[\attr{ID}] Required if the \elem{COOSYS} element has to
be referred to via the \attr{ref} attribute of the position components,
which is generally the case --, a \attr{system} attribute which
specifies the coordinate system among \verb|"ICRS"|, \verb|"eq_FK5"|,
which is generally the case.

\item[\attr{system}] Specifies the coordinate system among
\verb|"ICRS"|, \verb|"eq_FK5"|,
\verb|"eq_FK4"|, \verb|"ecl_FK4"|, \verb|"ecl_FK5"|, \verb|"galactic"|,
\verb|"supergalactic"|. The \attr{equinox} attribute fixes the
\verb|"supergalactic"|.

\item[\attr{equinox}] Fixes the
equatorial or ecliptic systems (as e.g., \verb|"J2000"| as the default
for \verb|"eq_FK5"| or \verb|"B1950"| as the default for
\verb|"eq_FK4"|), and \attr{epoch} specifies the epoch of the positions
if necessary. Note that the \elem{COOSYS} may be deprecated in the
for \verb|"eq_FK5"| or \verb|"B1950"|, as the default for
\verb|"eq_FK4"|).

\item[\attr{epoch}] Specifies the epoch of the positions
if necessary, again as an astroYear (i.e, prefixed with J or B depending
on whether Julian or Besselian years are used).

\item[\attr{refposition}] The reference position for which the positions
are given. The values of this attribute should be taken form the IVOA
\emph{refposition} vocabulary (\url{http://www.ivoa.net/rdf/refposition}).
At the time or writing, this vocabulary includes the terms
% GENERATED: !vocterms refposition
\textsl{BARYCENTER},
\textsl{EMBARYCENTER},
\textsl{GEOCENTER},
\textsl{HELIOCENTER},
\textsl{TOPOCENTER},
\textsl{UNKNOWN}
% /GENERATED
\end{description}


Note that the \elem{COOSYS} may be deprecated in the
future in favor of a more generic way of describing the conventions used
to define the positions of the objects studied in the enclosed tables.

Expand Down Expand Up @@ -723,9 +750,9 @@ \subsection{\elem{TIMESYS} Element}
vocabulary
(\url{http://www.ivoa.net/rdf/timescale}).
This attribute is mandatory.
\item[\attr{refposition}] The reference position again is a simple string,
the values of which SHOULD be taken from the IVOA \emph{refposition}
vocabulary
\item[\attr{refposition}] The reference position again is a simple string.
As with the COOSYS attribute of this name, the values SHOULD be
taken from the IVOA \emph{refposition} vocabulary
(\url{http://www.ivoa.net/rdf/refposition}).
This attribute is mandatory.
\end{description}
Expand Down Expand Up @@ -2196,8 +2223,15 @@ \subsection{Differences Between Versions 1.3 and 1.4}
\end{itemize}


% NOTE: IVOA recommendations must be cited from docrepo rather than ivoabib
% (REC entries there are for legacy documents only)
\subsection{Differences Between Versions 1.4 and 1.5}
\label{diff1.4-1.5}

\begin{itemize}
\item COOSYS now has a refposition attribute analogous to TIMESYS.
\end{itemize}

% NOTE: IVOA recommendations must be cited from docrepo.bib

\bibliography{ivoatex/ivoabib,ivoatex/docrepo,localrefs}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Expand Down
9 changes: 4 additions & 5 deletions VOTable.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@
.Version 1.4pre1: MD: merged 1.3-Erratrum 2, added TIMESYS.
.Version 1.4wd-a: TD: updates for initial draft of v1.4.
.Version 1.4: TD: Change version to 1.4
.Version 1.5pre1: MD: adding refposition attribute in COOSYS
-->
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
xmlns="http://www.ivoa.net/xml/VOTable/v1.3"
targetNamespace="http://www.ivoa.net/xml/VOTable/v1.3"
version="1.4"
version="1.5pre1"
>
<xs:annotation><xs:documentation>
VOTable is meant to serialize tabular documents in the
Expand Down Expand Up @@ -220,11 +221,8 @@
</xs:simpleContent>
</xs:complexType>

<!-- Expresses the coordinate system we are using --><!-- Deprecated V1.2 -->
<!-- Expresses the coordinate system we are using -->
<xs:complexType name="CoordinateSystem">
<xs:annotation><xs:documentation>
Deprecated in Version 1.2
</xs:documentation></xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="ID" type="xs:ID" use="required"/>
Expand All @@ -246,6 +244,7 @@
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="refposition" type="xs:token"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
Expand Down
2 changes: 1 addition & 1 deletion ivoatex
Submodule ivoatex updated 2 files
+3 −3 document.template
+0 −1 ivoa.cls

0 comments on commit 657fbb1

Please sign in to comment.