[Thread Prev][Thread Next][Index]

Re: [las_users] Regarding Ferret, Categories Dataset and OpenLayer Map



Hello,

On 03/29/2011 05:31 AM, sandip wrote:
Hi Dear All,

I am struggling to make the changes in ferret files, categorise and sub
categorise the datasets and OpenLayer Map.

1. Range of column bar is of the ferret map is starting from random minus
value instead of zero (It must start from zero) and some case like anomaly
    it should start from minus value. (for anomaly its showing right
values). How to set the colour bar range in ferret file?

[image: colorbar.gif]
The Ferret team will answer this question.
2. How to arrange the Multiple datasets in one category (e.g. All rainfall
dataset should come under Rainfall category). I have done with -D option in
addxml.sh but it wont work.
Create a category and add each data set using a filter, like this:
<category name="Rainfall Data">
    <filter action="" contains="Rainfall"/>
</category>

if all the data set names you want contain the work rainfall and none of the one you want to exclude contain that word.  You can do the job more precisely by listing the IDs of the data sets you want to include in a data set.

 <category name="Data by Type">
            <category name="Global Ocean">
                <filter action="" contains-tag="coads_climatology_cdf"/>
                <filter action="" contains-tag="levitus_climatology"/>
            </category>
 </category>




The details of how to do this are here: http://ferret.pmel.noaa.gov/FERRET_17sep07/LAS/Documentation/manual/customize.html#Categories

[image: Screenshot.png]

3. Third problem is, I want to change the tile of OpenLayer Map. Is it
possible to change the map or replace the tile in LAS Application.
Yes you can change the title. 

In your $TOMCAT_HOME/content/las/conf/serverui.xml file change this:

<lasui title="CURRENT TITLE">

to whatever you want the title to be.

The next release will have a _javascript_ call you can add to your LAS page to change the OpenLayers base map, but it cannot be easily changed in the current release.

Roland


[Thread Prev][Thread Next][Index]


Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement