Skip to content
Snippets Groups Projects
Commit ae8e18b9 authored by gmantele's avatar gmantele
Browse files

[TAP] Fix typo in the description of columns of TAP_SCHEMA.coosys.

parent 6ca674c0
No related branches found
No related tags found
No related merge requests found
......@@ -932,10 +932,10 @@ public class TAPMetadata implements Iterable<TAPSchema>, VOSIResource, TAPResour
return tables;
case COOSYS:
TAPTable coosys = new TAPTable(STDSchema.TAPSCHEMA + "." + STDTable.COOSYS, TableType.table, "List of coordinate systems published used this TAP service.", null);
coosys.addColumn("id", new DBType(DBDatatype.VARCHAR), "ID of the coordinate system definition.", null, null, null, true, true, false);
coosys.addColumn("system", new DBType(DBDatatype.VARCHAR), "The coordinate system (among \"ICRS\", \"eq_FK5\", \"eq_FK4\", \"ecl_FK4\", \"ecl_FK5\", \"galactic\", \"supergalactic\").", null, null, null, false, false, false);
coosys.addColumn("equinox", new DBType(DBDatatype.VARCHAR), "Required to fix the equatorial or ecliptic systems (as e.g. \"J2000\" as the default \"eq_FK5\" or \"B1950\" as the default \"eq_FK4\").", null, null, null, false, false, false);
TAPTable coosys = new TAPTable(STDSchema.TAPSCHEMA + "." + STDTable.COOSYS, TableType.table, "List of coordinate systems of coordinate columns published in this TAP service.", null);
coosys.addColumn("id", new DBType(DBDatatype.VARCHAR), "ID of the coordinate system definition as it must be in the VOTable.", null, null, null, true, true, false);
coosys.addColumn("system", new DBType(DBDatatype.VARCHAR), "The coordinate system (among \"ICRS\", \"eq_FK5\", \"eq_FK4\", \"ecl_FK4\", \"ecl_FK5\", \"galactic\", \"supergalactic\", \"xy\", \"barycentric\", \"geo_app\").", null, null, null, false, false, false);
coosys.addColumn("equinox", new DBType(DBDatatype.VARCHAR), "Required to fix the equatorial or ecliptic systems (as e.g. \"J2000\" as the default for \"eq_FK5\" or \"B1950\" as the default for \"eq_FK4\").", null, null, null, false, false, false);
coosys.addColumn("epoch", new DBType(DBDatatype.VARCHAR), "Epoch of the positions (if necessary).", null, null, null, false, false, false);
return coosys;
......@@ -1035,11 +1035,7 @@ public class TAPMetadata implements Iterable<TAPSchema>, VOSIResource, TAPResour
* @since 2.0
*/
public enum STDTable{
SCHEMAS("schemas"),
TABLES("tables"),
COLUMNS("columns"),
KEYS("keys"),
KEY_COLUMNS("key_columns"),
SCHEMAS("schemas"), TABLES("tables"), COLUMNS("columns"), KEYS("keys"), KEY_COLUMNS("key_columns"),
/** Non standard table but anyway expected by this library in order to associated coordinate columns with a coordinate system.
* @since 2.1 */
COOSYS("coosys");
......
......@@ -33,7 +33,9 @@
<li><code>system</code>: VARCHAR <i>(The coordinate system among:
<code>ICRS</code>, <code>eq_FK5</code>, <code>eq_FK4</code>,
<code>ecl_FK4</code>, <code>ecl_FK5</code>,
<code>galactic</code>, <code>supergalactic</code>)</i></li>
<code>galactic</code>, <code>supergalactic</code>,
<code>xy</code>, <code>barycentric</code>, <code>geo_app</code>)
</i></li>
<li><code>equinox</code>: VARCHAR <i>(Required to fix the equatorial
or ecliptic systems (as e.g. <code>J2000</code> as the default
for <code>eq_FK5</code> or <code>B1950</code> as the default
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment