next up previous 264
Next: Reading and writing STC-S descriptions (StcsChans)
Up: Storing AST Objects as XML (XmlChan)
Previous: Storing AST Objects as XML (XmlChan)

Reading IVOA Space-Time-Coordinates XML (STC-X) Descriptions

The XmlChan class also provides support for reading (but not writing) XML documents which use a restricted subset of an early draft (V1.20) of the IVOA Space-Time-Coordinates XML (STC-X) system. The version of STC-X finally adopted by the IVOA differs in several significant respects from V1.20, and so the STC-X support currently provided by AST is mainly of historical interest. Note, AST also supports the alternative ``STC-S'' linear string description of the STC model (see [*]).

STC-X V1.20 is documented at http://www.ivoa.net/Documents/WD/STC/STC-20050225.html, and the current version is documented at http://www.ivoa.net/Documents/latest/STC-X.html.

When an STC-X document is read using an XmlChan, the read operation produces an AST Object of the Stc class, which is itself a subclass of Region. Specifically, each such Object will be an instance of StcSearchLocation, StcResourceProfile, StcCatalogEntryLocation or StcObsDataLocation. See the description of the XmlChan class and the XmlFormat attribute for further details.



next up previous 264
Next: Reading and writing STC-S descriptions (StcsChans)
Up: Storing AST Objects as XML (XmlChan)
Previous: Storing AST Objects as XML (XmlChan)

AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 210
R.F. Warren-Smith & D.S. Berry
24th May 2011
E-mail:ussc@star.rl.ac.uk

Copyright (C) 2009 Science \& Technology Facilities Council