Project

General

Profile

XML visualisation example » History » Version 4

Maarten Plieger, 09/26/2016 08:14 PM

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