Project

General

Profile

XML visualisation example » History » Version 1

Version 1/10 - Next ยป - Current version
Rob Tjalma, 09/08/2016 11:23 AM


XML visualisation example

<?xml version="1.0" encoding="UTF-8" ?>
<Configuration>

  <TempDir value="{ADAGUC_TMP}"/>
  <Path value="{ADAGUC_PATH}/data"/>
  <DataBase dbtype="sqlite" parameters="{ADAGUC_TMP}/adaguc.autoresource.db"/>

  <!-- WMS settings -->
  <WMS>
    <Title>ADAGUC WMS Service</Title>
    <Abstract>This service returns all points of interest as saved in the source NetCDF file</Abstract>
    <RootLayer>
      <Title>name</Title>
      <Abstract>Abstract view of all Points of Interest</Abstract>
    </RootLayer>
    <!-- PNG 8 bit requests are forced to 32 bit: better for antialiasing and combining layers with many colors -->
    <WMSFormat name="image/png" format="image/png32"/> 
  </WMS>

  <!-- WMS -->
  <Include location="{ADAGUC_PATH}/data/config/includes/WMS.include.xml"/>

  <!-- WCS settings -->
  <WCS>
    <Title>ADAGUC WCS Service</Title>
    <Label>wcsLabel</Label>
  </WCS>

  <!-- WCSFormat -->
  <Include location="{ADAGUC_PATH}/data/config/includes/WCSFormat.include.xml"/>

  <!-- Projections -->
  <Include location="{ADAGUC_PATH}/data/config/includes/Projection.include.xml"/>

  <!--Legends -->
  <Include location="{ADAGUC_PATH}/data/config/includes/DefaultStyles.include.xml"/>

  <AutoResource enableautoopendap="false" enablelocalfile="true" enablecache="false">
    <Dir basedir="/usr/people/tjalma/Downloads/" prefix="/usr/people/tjalma/Downloads/"/>
  </AutoResource>

  <Include location="{ADAGUC_PATH}/data/config/includes/DefaultLayers.include.xml"/>

    <!--Legends -->
  <Legend name="rainbow" type="colorRange">
    <palette index="0"   red="0"   green="0"   blue="255"/> 
    <palette index="80"   red="0"   green="255"   blue="255"/> 
    <palette index="120" red="0"   green="255" blue="0"/> 
    <palette index="160" red="255"   green="255" blue="0"/> 
    <palette index="240" red="255"   green="0" blue="0"/> 
  </Legend>

  <Style name="auto">
    <Legend fixed="true">rainbow</Legend>
    <LegendGraphic value="/usr/people/tjalma/public_html/point_interest/images/empty_pixel.png"/>
    <Scale>0</Scale>
    <Offset>0</Offset>
    <RenderMethod>point</RenderMethod>
    <SymbolInterval file="/usr/people/tjalma/public_html/point_interest/images/map_marker.png" offset_x="0" offset_y="-15"/>
    <Point pointstyle="symbol" textcolor="#00000000" discradius="30" dot="false" anglestart="0" anglestep="0" fontsize="9" textformat="%0.1f" plotstationid="true"/>
  </Style>

  <!-- End of configuration /-->
</Configuration>

adagucviewer_poi_app.jpg View (173 KB) Maarten Plieger, 09/27/2016 07:20 AM