[Thread Prev][Thread Next][Index]

How assign different maps to datasets



Hi,
I am using LAS 6.4. I have two datasets, belonging to different regions, Baltic and Atlantic.
I have generated maps for both the datasets just following the FAQs, and two files ui_Baltic.xml and ui_Atlantic.xml.

I have added the entries to ui.xml and have put a <properties> statement in the xml-files
describing the datasets.

After "make" this works, as long as I use either one or the other dataset. Switching back
to "Datasets" changes the menue for region correctly, but the map and the co-ordinates of
region boundaries are unchanged. So I have to restart the browser to switch between datasets.

As an example I attach one of the files:

<images>
<image name="Image_Baltic" url="gifs/Baltic.gif" bounds="0,34,53,67"/>
</images>
<menus>
<menu type="regions" name="Regions_Baltic">
<item values="10,30,54,68">Full Region</item>
<item values="16,22,55,60">Gotland</item>
<item values="15,18,54,56">Bornholm</item>
</menu>
</menus>
<maps>
<map type="livemap" name="Baltic">
<image href="#Image_Baltic"/>
<menu href="#Regions_Baltic"/>
</map>
</maps>
<defaults>
<default name="Baltic">
<map href="#DefaultOperations"/>
<map href="#DefaultViews"/>
<map href="#Baltic"/>
<map href="#DefaultOptions"/>
</default>
</defaults>

The Atlantic file is similar, just replaced Baltic with "Atlantic" changed co-ordinates and a different menue <menus>. The latter is recognized correctly.

The properties-statement in the data ndescribing files has the form:

<properties>
<ui>
<default>file:ui.xml#Baltic</default>
</ui>
</properties>

A similar statement is in the xml description file for the Atlantic data.

So, what to do, that changing the dataset, the item <maps> is recognized?

Many thanks in advance,
Martin Schmidt


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement