next up previous 89
Next: Installing and testing the configuration file
Up: Creating a Configuration File
Previous: Creating a Configuration File


URL query

The string appended to the server URL in the configuration file and which defines the type of queries supported by the catalogue has a format something like:

ra=%ra&dec=%dec&radius=%r2

It consists of simple characters and `tokens'. The tokens start with a `%' character. When GAIA makes a query the tokens are replaced with values which correspond to the individual query and the resulting string is sent to the server. For example, tokens in the above string might be susbstituted to yield:

ra=10:30:00&dec=-30:30.0&radius=3

Obviously the format of the query string appended to the URL in the configuration file must correspond to that expected by the server. Various standard tokens can be included in the query string. Some common ones are:

%ra
Right Ascension,

%dec
Declination,

%r1
inner radius,

%r2
outer radius,

%n
maximum number of objects to return.

For a complete list see Section [*].


next up previous 89
Next: Installing and testing the configuration file
Up: Creating a Configuration File
Previous: Creating a Configuration File

Writing Catalogue and Image Servers for GAIA and CURSA
Starlink System Note 75
A.C. Davenhall
26 July 2000
E-mail:ussc@star.rl.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils