Project

General

Profile

XML visualisation example » History » Version 1

Rob Tjalma, 09/08/2016 11:23 AM

1 1 Rob Tjalma
h1. XML visualisation example
2 1 Rob Tjalma
3 1 Rob Tjalma
<pre>
4 1 Rob Tjalma
<?xml version="1.0" encoding="UTF-8" ?>
5 1 Rob Tjalma
<Configuration>
6 1 Rob Tjalma
7 1 Rob Tjalma
  <TempDir value="{ADAGUC_TMP}"/>
8 1 Rob Tjalma
  <Path value="{ADAGUC_PATH}/data"/>
9 1 Rob Tjalma
  <DataBase dbtype="sqlite" parameters="{ADAGUC_TMP}/adaguc.autoresource.db"/>
10 1 Rob Tjalma
  
11 1 Rob Tjalma
  <!-- WMS settings -->
12 1 Rob Tjalma
  <WMS>
13 1 Rob Tjalma
    <Title>ADAGUC WMS Service</Title>
14 1 Rob Tjalma
    <Abstract>This service returns all points of interest as saved in the source NetCDF file</Abstract>
15 1 Rob Tjalma
    <RootLayer>
16 1 Rob Tjalma
      <Title>name</Title>
17 1 Rob Tjalma
      <Abstract>Abstract view of all Points of Interest</Abstract>
18 1 Rob Tjalma
    </RootLayer>
19 1 Rob Tjalma
    <!-- PNG 8 bit requests are forced to 32 bit: better for antialiasing and combining layers with many colors -->
20 1 Rob Tjalma
    <WMSFormat name="image/png" format="image/png32"/> 
21 1 Rob Tjalma
  </WMS>
22 1 Rob Tjalma
  
23 1 Rob Tjalma
  
24 1 Rob Tjalma
  <!-- WMS -->
25 1 Rob Tjalma
  <Include location="{ADAGUC_PATH}/data/config/includes/WMS.include.xml"/>
26 1 Rob Tjalma
27 1 Rob Tjalma
  <!-- WCS settings -->
28 1 Rob Tjalma
  <WCS>
29 1 Rob Tjalma
    <Title>ADAGUC WCS Service</Title>
30 1 Rob Tjalma
    <Label>wcsLabel</Label>
31 1 Rob Tjalma
  </WCS>
32 1 Rob Tjalma
33 1 Rob Tjalma
  <!-- WCSFormat -->
34 1 Rob Tjalma
  <Include location="{ADAGUC_PATH}/data/config/includes/WCSFormat.include.xml"/>
35 1 Rob Tjalma
36 1 Rob Tjalma
  <!-- Projections -->
37 1 Rob Tjalma
  <Include location="{ADAGUC_PATH}/data/config/includes/Projection.include.xml"/>
38 1 Rob Tjalma
           
39 1 Rob Tjalma
  <!--Legends -->
40 1 Rob Tjalma
  <Include location="{ADAGUC_PATH}/data/config/includes/DefaultStyles.include.xml"/>
41 1 Rob Tjalma
42 1 Rob Tjalma
  <AutoResource enableautoopendap="false" enablelocalfile="true" enablecache="false">
43 1 Rob Tjalma
    <Dir basedir="/usr/people/tjalma/Downloads/" prefix="/usr/people/tjalma/Downloads/"/>
44 1 Rob Tjalma
  </AutoResource>
45 1 Rob Tjalma
46 1 Rob Tjalma
  <Include location="{ADAGUC_PATH}/data/config/includes/DefaultLayers.include.xml"/>
47 1 Rob Tjalma
48 1 Rob Tjalma
    <!--Legends -->
49 1 Rob Tjalma
  <Legend name="rainbow" type="colorRange">
50 1 Rob Tjalma
    <palette index="0"   red="0"   green="0"   blue="255"/> 
51 1 Rob Tjalma
    <palette index="80"   red="0"   green="255"   blue="255"/> 
52 1 Rob Tjalma
    <palette index="120" red="0"   green="255" blue="0"/> 
53 1 Rob Tjalma
    <palette index="160" red="255"   green="255" blue="0"/> 
54 1 Rob Tjalma
    <palette index="240" red="255"   green="0" blue="0"/> 
55 1 Rob Tjalma
  </Legend>
56 1 Rob Tjalma
57 1 Rob Tjalma
  <Style name="auto">
58 1 Rob Tjalma
    <Legend fixed="true">rainbow</Legend>
59 1 Rob Tjalma
    <LegendGraphic value="/usr/people/tjalma/public_html/point_interest/images/empty_pixel.png"/>
60 1 Rob Tjalma
    <Scale>0</Scale>
61 1 Rob Tjalma
    <Offset>0</Offset>
62 1 Rob Tjalma
    <RenderMethod>point</RenderMethod>
63 1 Rob Tjalma
    <SymbolInterval file="/usr/people/tjalma/public_html/point_interest/images/map_marker.png" offset_x="0" offset_y="-15"/>
64 1 Rob Tjalma
    <Point pointstyle="symbol" textcolor="#00000000" discradius="30" dot="false" anglestart="0" anglestep="0" fontsize="9" textformat="%0.1f" plotstationid="true"/>
65 1 Rob Tjalma
  </Style>
66 1 Rob Tjalma
67 1 Rob Tjalma
  <!-- End of configuration /-->
68 1 Rob Tjalma
</Configuration>
69 1 Rob Tjalma
</pre>