Re: [thredds] Editing Metadata. Enhanced Catalog

Hi Derrick,

The mechanism for configuring these items changed between TDS 4.1 and
TDS 4.2. For TDS 4.1, you can configure these items with the OGCMeta.xml
file. For TDS 4.2, as Pauline noted, you can configure these items in
the threddsConfig.xml file.

The documentation is a bit slim on this for TDS 4.1. The default
location for OGCMeta.xml is
{TOMCAT_HOME}/webapps/thredds/WEB-INF/OGCMeta.xml. However, that will
get overwritten when you deploy a new thredds.war file. So, it is best
to copy that file into your content/thredds directory and give that
location in your threddsConfig.xml file as described here

http://www.unidata.ucar.edu/projects/THREDDS/tech/tds4.1/reference/ThreddsConfigXMLFile.html#WMS

Basically, add "<ogcMetaXML>OGCMeta.xml</ogcMetaXML>" to the <WMS>
element in your threddsConfig.xml.


For TDS 4.2, there's more information on configuring these items here

http://www.unidata.ucar.edu/projects/THREDDS/tech/tds4.2/reference/ThreddsConfigXMLFile.html#Server_Description

Ethan

On 10/19/2010 3:57 AM, Pauline Mak wrote:
> Hi Derrick,
> 
> I'm looking at the the version 4.2.20101001.2254, and have found the
> settings to be in the $TOMCAT_HOME/content/thredds/threddsConfig.xml
> file under the serverInformation chunk.  Changing this modified contact
> information chunk in the WMS GetCapabilties doc.
> 
> I'm not sure if this is the same in version 4.1.20100520.1554 though!
> 
> Cheers,
> 
> -Pauline.
> 
> On 19/10/10 8:26 PM, Derrick.Wong@xxxxxxxx wrote:
>> Hi all,
>>
>> I was wondering if it's possible to configure THREDDS so that when you
>> request for the WMS GetCapabilities document,
>>
>> the following details can be modified accordingly:
>>
>> <ContactInformation>
>>     <ContactPersonPrimary>
>>         <ContactPerson>Support</ContactPerson>
>>         <ContactOrganization>Unidata</ContactOrganization>
>>     </ContactPersonPrimary>
>>     <ContactVoiceTelephone>  </ContactVoiceTelephone>
>>     
>> <ContactElectronicMailAddress>support-thredds@xxxxxxxxxxxxxxxx</ContactElectronicMailAddress>
>>
>> </ContactInformation>
>>
>> I had a read here
>> http://www.unidata.ucar.edu/Projects/THREDDS/tech/tutorial/EnhancedCatalogs.html
>> and I have tried configuring a dataset in enhacnedCatalog.xml, adding
>> the following params:
>>        <creator>
>>          <name vocabulary="DIF">Test</name>
>>          <contact url="http://www.google.com/";
>> email="derrick.wong@xxxxxxxx" />
>>        </creator>
>>        <publisher>
>>          <name vocabulary="DIF">Test</name>
>>          <contact url="http://www.google.com/";
>> email="derrick.wong@xxxxxxxx" />
>>        </publisher>
>>
>> But there seems to be no difference.
>>
>> Could someone kindly assist?
>>
>> I am currently running THREDDS Data Server [Version 4.1.20100520.1554
>> - 20100520.1554] on Tomcat 6, on Win XP PRO SP3
>>
>> Thank you for your time.
>>
>> Derrick Wong
>> Software Engineer | ASRDC (Australian Spatial Research Data Commons)
>> Project | CSIRO
>>
>> Phone: +61 8 6436 8945
>> derrick.wong@xxxxxxxx | www.csiro.au
>> Address: ARRC (Australian Resources Research Centre), 26 Dick Perry
>> Avenue, Kensington WA 6151, Australia
>>
>> PLEASE NOTE
>> The information contained in this email may be confidential or
>> privileged. Any unauthorised use or disclosure is prohibited. If you
>> have received this email in error, please delete it immediately and
>> notify the sender by return email. Thank you. To the extent permitted
>> by law, CSIRO does not represent, warrant and/or guarantee that the
>> integrity of this communication has been maintained or that the
>> communication is free of errors, virus, interception or interference.
>> Please consider the environment before printing this email.
>>
>>
>> _______________________________________________
>> thredds mailing list
>> thredds@xxxxxxxxxxxxxxxx
>> For list information or to unsubscribe,  visit:
>> http://www.unidata.ucar.edu/mailing_lists/
>>
>