SVOCat Documentation

Version 0.5, June 2016, author: Carlos Rodrigo

1. Introduction
2. Download
    2.1. Extract
    2.2. Permissions
3. The files
4. Example
5. Configure
    5.1. First
    5.2. Project
    5.3. Mysql
    5.4. Web
    5.5. VO Curation
    5.6. ConeSearch
    5.7. Fields
    5.8. Photometry
    5.9. Search Opts.
    5.10. File Paths
    5.11. Scripts
6. Web Design
    6.1. style.css
    6.2. Colors
    6.3. header.php
    6.4. footer.php
7. Extra tips
    7.1. MOC files
    7.2. VO registry
(You can see this documentation as a single web page if you wish)


SVOCat is an application intended to make easier the publication of an astronomical catalogue, both as a web page and as a Virtual Observatory ConeSearch service.

Our intention is not no make it "magical" so that it makes all the work for you. We have tried to make it so that it's easier for you to learn about what is being done, to start the installation and configuration process at different steps if you wish, and to change the application if you need to do it for your case.


(See some technical details below)

We assume that:

  • Your catalogue can be seen as a single table with several columns (one for each property provided by the catalogue) and several lines (one for each catalogue entry, for instance, each observed object)
  • Two of the columns give RA and DEC in decimal degrees.

and that your have your data either:

  • as a csv file with different columns separated by commas. It can be a series of different csv files with the same structure if your catalogue is very big and you prefer to split it in different files.
  • as a table in a mysql database.

If you have the data in another format just transform it to csv. In any case, at the end of the day we will need the database table. If you already have it (or you want to create it in your own way) you can skip some steps in the installation process.

Installation summary:

  1. Download the SVOCat.tgz file.

  2. Uncompress the file in a directory that can be accessed by the web server.

  3. Access the admin.php file with a web navigator to configure everything.

  4. Create the database tables using the scripts that will be created in the configuration process (or any other method)

  5. Edit the style files to make the web pages look as you wish.

Technical details:

We have tested the application only in Ubuntu Linux, in particular in two different installations:

  • Ubuntu 10.04+Apache 2.2.14+MySQL 5.1.63+PHP 5.3.2
  • Ubuntu 12.04+Apache 2.2.22+MySQL 5.5.35+PHP 5.3.10

and some examples in this documentation are specific for linux/unix systems.

In principle, there is no reason why you need any specific distribution or any special version of the software because SVOCat does not need any specially modern feature of any of the needed software. But, just in case, we recommend you to use some Linux distribution and install the most up to date Apache+MySQL+PHP packages for that distribution (in some cases you can find them under the "LAMP" label).

Installing all the software in Ubuntu should be quite easy. You can find a lot of examples if you search in google for "Installing LAMP in ubuntu", for instance: ApacheMySQLPHP in ubuntu. But it should be as straightforward as opening a terminal and writing:

sudo apt-get install tasksel
sudo tasksel install lamp-server

During the installation process you will be asked for a password for the "root" user. This is not the typical unix root administrator. It's the default mysql user with all the permissions to interact with the databases. You should choose some password for that user and remember it. You can leave it empty if you wish, but then the "root" user will have an empty password and that's quite bad security.

You can also install everything in other operating systems like windows or Mac OS, but the technical details on how to install each software in those operating systems are out of the scope of this documentation.