Ignore:
Timestamp:
22/05/07 13:05:26 (12 years ago)
Author:
spascoe
Message:

Many new ideas in this commit. It's still in a state of flux.
I'm exploring using decorators and class attributes with the prefix "_ows"
to declare properties that need to be in the OWS capabilities document.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/wms_service_metadata.kid

    r2493 r2501  
    44WMS 1.3.0 compliant wms:Service XML. 
    55 
    6 @param ows_c: A ows:Capabilities XML tree node containing 
     6@var c.ows_c: A ows:Capabilities XML tree node containing 
    77    ServiceIdentification and ServiceProvider children. 
    88""" 
     
    1010from ows_server.lib.wms_capabilities import WmsOwsAdapter 
    1111?> 
    12 <WMS_Capabilities version="1.3.0" 
     12<WMS_Capabilities xmlns:py="http://purl.org/kid/ns#" 
     13                  version="1.3.0" 
    1314                  xmlns="http://www.opengis.net/wms" 
    14                   xmlns:py="http://purl.org/kid/ns#" 
    1515                  xmlns:xlink="http://www.w3.org/1999/xlink" 
    1616                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    1717                  xsi:schemaLocation="http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_2_0.xsd"> 
     18  <Service py:def="wms_service"> 
     19    <?python m = WmsOwsAdapter(c.ows_c) ?> 
    1820 
    19 <?python m = WmsOwsAdapter(ows_c) ?> 
    20  
    21   <Service> 
    2221    <Name>WMS</Name> 
    2322    <Title py:if="m.title" py:content="m.title"/> 
Note: See TracChangeset for help on using the changeset viewer.