1 |
------------------------------------------------------------------------------------------------------- |
2 |
VO-DML GEGINNER'S EXAMPLE |
3 |
|
4 |
Based on a prototype an an Healpix extension for spatial coordinates. |
5 |
This is not a model proposal but a testbench for the VODML workflow. |
6 |
|
7 |
See README.txt to learn more about the model and its mapping on real data |
8 |
WARNING: Lots of resources have been copied here to soften the learning curve. |
9 |
In case of a real VO usage, please take the latest versions of both XSD |
10 |
and XSLT files and adapt the scripts. |
11 |
|
12 |
Laurent Michel 08/2017 |
13 |
-------------------------------------------------------------------------------------------------------- |
14 |
|
15 |
Project content |
16 |
--------------- |
17 |
|
18 |
All testbench resources are in ./vo-dml |
19 |
We suppose the the XMI files have been generated with Modelio |
20 |
|
21 |
Sub-directories: |
22 |
./models All XMI models files as well as all XSLT output files |
23 |
./mapping Example of a VOTable annotated with the lmsource model |
24 |
./modelio Modelio (3.5 and 3.6) projects used to build lmsource |
25 |
./registry Example of a VO resource referencing a model |
26 |
|
27 |
Tools |
28 |
./buildModel Script running the run-vodml task for a local model |
29 |
USAGE: ./buildModel [modelName] |
30 |
|
31 |
Scripts outputs are stored in ./models |
32 |
|
33 |
How to operate locally |
34 |
------------------------ |
35 |
|
36 |
1) Download the project |
37 |
% svn checkout https://volute.g-vo.org/svn/trunk/projects/dm/Tesselation |
38 |
|
39 |
2) Jump ino the working directory |
40 |
% cd Tesselation/vo-dml |
41 |
% chmod a+x buildModel* |
42 |
|
43 |
3) Check that both ant and graphviz are installed on your host. Change env.sh according to the |
44 |
location of the dot utility (given by the command '% which dot') |
45 |
|
46 |
4) Building the VO-DML file |
47 |
% ./buildModel lmsource |
48 |
|
49 |
|
50 |
Once these 4 steps succeeded, you can put your own XMI file in ./models and process it |