Skip to content

Commit

Permalink
remove coordinate value limits
Browse files Browse the repository at this point in the history
  • Loading branch information
pdowler committed Nov 9, 2023
1 parent 350d327 commit 6783a4f
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions DALI.tex
Original file line number Diff line number Diff line change
Expand Up @@ -747,20 +747,22 @@ \subsection{Point}
12.3 45.6
\end{verbatim}

All coordinate values must fall within the minimal range of values appropriate for the
coordinate system in use. For example, equatorial coordinate limits are [0,360) for longitude
and [-90,90] for latitude; other coordinate systems may define different limits.
Coordinate values are not limited to fall within a defined valid range; this is a change from
the previous version where equatorial coordinates were explicitly limited. Software may have
to perform range reduction in some coordinate systems (for example, spherical coordinates) in
order to correctly interpret or use the coordinate values. Coordinate values are more likely to
work as expected if they are expressed in the simplest form and do not require range reduction.
For example, in spherical coordinates, \verb\362.0 2.0| is equivalent to \verb|2.0 2.0|, but the
latter form is more likely to work as intended in all cases.

There is no general purpose definition of minimum and/or maximum point values, but
specific services may define something that is applicable in a more limited context.

\subsection{Circle}
Circle values serialised in VOTable or service parameters must have the following metadata in the
\xmlel{FIELD} element: \verb|datatype="double"| or \verb|datatype="float"|, \verb|arraysize="3"|,
\verb|xtype="circle"|. For circles
in a spherical coordinate system, the values are ordered as: longitude latitude
radius; longitude values must fall within [0,360], latitude values
within [-90,90], and radius values in (0,180]. For example:
\verb|xtype="circle"|.
The values are ordered as a point followed by a radius. For example:

\begin{verbatim}
12.3 45.6 0.5
Expand Down

0 comments on commit 6783a4f

Please sign in to comment.