Setting up UML for RGS

If you are using a vmware instanace, don't try to put things on virtual shared drives. Store things within the vm. Or odd lock-ups happen.

Subversion is version dependent. If you check out a model using svn 1.6 and try to use svn 1.7 as the subversion exe path below, it won't work.

It's not obvious from the HollowWorld page, but the subversion URL for ISO TC 211 is https://www.seegrid.csiro.au/mirrors/iso-harmonized-model check that out and set the isotc211 link to the base of the checkout. The HollowWorld model seems to expect a path of $base/isotc211/ISOTC211.xml for some reason.

(SlikSvn) If you have a different user id/password to what's normal, the initial svn update may hang. You need to open a command line, go the the directory where you have stored the working copy and execute something like svn info --xml --incremental https://svn.sdsc.edu/repo/WaterML/WaterML2.0-part2/uml-model/ at that point, you will be prompted for a password. Just enter, you'll then be prompted for a username/password and that should get saved.

Ratings and gaugings model environment

1. Setup the base HollowWorld environment according to https://www.seegrid.csiro.au/wiki/AppSchemas/ConfiguringUMLToolForHollowWorld. This will setup version control for HollowWorld template and ISO models. So there will be two models in the VC setup window:

2. Check out the RGS model from the SDSC SVN here: https://svn.sdsc.edu/repo/WaterML/WaterML2.0-part2/uml-model/ using an SVN client. SVN login details available from here: https://wiki.csiro.au/display/WaterML20/Infrastructure+Tools+-+Subversion+and+JIRA.

3. In EA, configure a new package under version control (right click project -> Package control -> Version control settings...) that points to the local directory holding the checked out XMI file. This should look like this:

4. From Package control -> GetPackage, you will prompted with the XMI import:

ModelEnvironmentSetup > EA_shot_svn.png" />

The model you want is RGS-core-model.xml. The RGS-existing-models.xml may also be imported. This contains reverse engineered existing models (UGSS, WDTF, FEWS etc.). This will import the model into the selected package. You should end up with a base structure something like this:

The existing models are reversed engineered from the associated schema with some small manual adjustment.

The ensure you have the dependent ISO/HollowWorld models, check the BaseModel::Gaugings::Gaugings model overview and you should be able to see the OM_Observation base type from GaugingObservation, e.g.

(thumbs up) You should be now good to go.

-- PeterTaylor - 18 Dec 2012
Topic revision: r1 - 18 Dec 2012, PeterTaylor
This site is powered by FoswikiThe information you supply is used for OGC purposes only. We will never pass your contact details to any third party without your prior consent.
If you enter content here you are agreeing to the OGC privacy policy.

Copyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding OGC Public Wiki? Send feedback