Project

General

Profile

« Previous | Next » 

Revision 2669

Added by harris about 19 years ago

These are the config files for the mapbuilder rendering app that connects to
geoserver to access the metacat spatial data. The display works but the ability
to get the url to the metacat document is not yet working. This code was
written against the mapbuilder 0.2.0.xx and it is recommended that it be run
against the 0.4 libraries.

View differences:

src/spatial/rendering/mapbuilder/template_metacat.xml
1
<?xml version="1.0" encoding="utf-8" standalone="no"?>
2
<!-- $Id$ -->
3
<gml:featureMember xmlns:topp="http://www.openplans.org/topp" xmlns:gml="http://www.opengis.net/gml">
4
  <topp:metacat_testdata>
5
    <topp:the_geom>
6
          <gml:Point srsName="epsg:4326">
7
            <gml:coordinates decimal="." cs="," ts=" "></gml:coordinates>
8
          </gml:Point>
9
    </topp:the_geom>
10
    <topp:ID></topp:ID>
11
    <topp:url></topp:url>
12
  </topp:metacat_testdata>
13
</gml:featureMember>
0 14

  
src/spatial/rendering/mapbuilder/metacat.xml
1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2
<ViewContext version="1.0.0" id="atlas_world" xmlns="http://www.opengis.net/context" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/context http://schemas.opengis.net/context/1.0.0/context.xsd">
3
  <General>
4
    <Window width="500" height="250"/>
5
    <BoundingBox SRS="EPSG:4326" minx="-180" miny="-90" maxx="180" maxy="90"/>
6
    <Title>metacat data</Title>
7
    <KeywordList>
8
      <Keyword>metacat</Keyword>
9
      <Keyword>EML</Keyword>
10
    </KeywordList>
11
    <Abstract>Low resolution.</Abstract>
12
  </General>
13
  <LayerList>
14
    <Layer queryable="1" hidden="0">
15
      <Server service="OGC:WMS" version="1.1.1" title="metacat document data">
16
        <OnlineResource xlink:type="simple" xlink:href="../../../../wms"/>
17
      </Server>
18
      <Name>topp:metacat_testdata</Name>
19
      <Title>Metacat</Title>
20
      <SRS>EPSG:4326</SRS>
21
      <FormatList><Format current="1">image/png</Format></FormatList>
22
    </Layer>
23
  </LayerList>
24
</ViewContext>
0 25

  

Also available in: Unified diff