"Fossies" - the Fresh Open Source Software Archive

Member "geotools-29.1/modules/extension/wms/src/test/resources/org/geotools/ows/wms/xml/test/test-data/1.3.0Capabilities_EmptyOnlineResource.xml" (21 May 2023, 6241 Bytes) of package /linux/misc/geotools-29.1-project.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <?xml version="1.0"?>
    2 <WMS_Capabilities version="1.3.0" xmlns="http://www.opengis.net/wms" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wms capabilities_1_3_0.xsd">
    3     <!-- Service Metadata -->
    4     <Service>
    5         <!-- The WMT-defined name for this type of service -->
    6         <Name>WMS</Name>
    7         <!-- Human-readable title for pick lists -->
    8         <Title>World Map</Title>
    9         <!-- Narrative description providing additional information -->
   10         <Abstract>None</Abstract>
   11         <!-- Online resource is sometimes empty, WMS 1.3.0 spec declares it may be used, but not required -->
   12         <OnlineResource/>
   13         <!-- Contact information -->
   14         <ContactInformation>
   15             <ContactPersonPrimary>
   16                 <ContactPerson></ContactPerson>
   17                 <ContactOrganization></ContactOrganization>
   18             </ContactPersonPrimary>
   19             <ContactPosition>None</ContactPosition>
   20             <ContactAddress>
   21                 <AddressType>None</AddressType>
   22                 <Address>None</Address>
   23                 <City>None</City>
   24                 <StateOrProvince>None</StateOrProvince>
   25                 <PostCode>None</PostCode>
   26                 <Country>None</Country>
   27             </ContactAddress>
   28             <ContactVoiceTelephone>None</ContactVoiceTelephone>
   29             <ContactElectronicMailAddress></ContactElectronicMailAddress>
   30         </ContactInformation>
   31         <!-- Fees or access constraints imposed. -->
   32         <Fees>none</Fees>
   33         <AccessConstraints>none</AccessConstraints>
   34         <LayerLimit>40</LayerLimit>
   35         <MaxWidth>2000</MaxWidth>
   36         <MaxHeight>2000</MaxHeight>
   37     </Service>
   38     <Capability>
   39         <Request>
   40             <GetCapabilities>
   41                 <Format>text/xml</Format>
   42                 <DCPType>
   43                     <HTTP>
   44                         <Get>
   45                             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www2.demis.nl/wms/wms.asp?wms=WorldMap&amp;"/>
   46                         </Get>
   47                         <Post>
   48                             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www2.demis.nl/wms/wms.asp?wms=WorldMap&amp;"/>
   49                         </Post>
   50                     </HTTP>
   51                 </DCPType>
   52             </GetCapabilities>
   53             <GetMap>
   54                 <Format>image/gif</Format>
   55                 <Format>image/png</Format>
   56                 <Format>image/jpeg</Format>
   57                 <Format>image/bmp</Format>
   58                 <Format>image/swf</Format>
   59                 <DCPType>
   60                     <HTTP>
   61                         <Get>
   62                             <!-- The URL here for invoking GetCapabilities using HTTP GET
   63             is only a prefix to which a query string is appended. -->
   64                             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www2.demis.nl/wms/wms.asp?wms=WorldMap&amp;"/>
   65                         </Get>
   66                     </HTTP>
   67                 </DCPType>
   68             </GetMap>
   69             <GetFeatureInfo>
   70                 <Format>text/xml</Format>
   71                 <Format>text/plain</Format>
   72                 <Format>text/html</Format>
   73                 <Format>text/swf</Format>
   74                 <DCPType>
   75                     <HTTP>
   76                         <Get>
   77                             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www2.demis.nl/wms/wms.asp?wms=WorldMap&amp;"/>
   78                         </Get>
   79                     </HTTP>
   80                 </DCPType>
   81             </GetFeatureInfo>
   82         </Request>
   83         <Exception>
   84             <Format>XML</Format>
   85             <Format>INIMAGE</Format>
   86             <Format>BLANK</Format>
   87         </Exception>
   88         <Layer>
   89             <Title>World Map</Title>
   90             <CRS>CRS:84</CRS>
   91             <!-- all layers are available in at least this CRS -->
   92             <EX_GeographicBoundingBox>
   93                 <westBoundLongitude>-180</westBoundLongitude>
   94                 <eastBoundLongitude>180</eastBoundLongitude>
   95                 <southBoundLatitude>-90</southBoundLatitude>
   96                 <northBoundLatitude>90</northBoundLatitude>
   97             </EX_GeographicBoundingBox>
   98             <BoundingBox CRS="CRS:84" minx="-184" miny="-90.0000000017335" maxx="180" maxy="90"/>
   99             <Layer queryable="1" opaque="1">
  100                 <Name>Bathymetry</Name>
  101                 <Title>Bathymetry</Title>
  102                 <BoundingBox CRS="CRS:84" minx="-180" miny="-90" maxx="180" maxy="90"/>
  103                 <Attribution>
  104                     <Title>test</Title>
  105                     <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www.example.com"/>
  106                     <LogoURL height="100" width="100">
  107                         <Format>image/png</Format>
  108                         <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www.osgeo.org/sites/all/themes/osgeo/logo.png"/>
  109                     </LogoURL>
  110                 </Attribution>
  111                 <MetadataURL type="FGDC">
  112                     <Format>text/html</Format>
  113                     <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www.example.com/?"/>
  114                 </MetadataURL>
  115                 <Style>
  116                     <Name>default</Name>
  117                     <Title>default</Title>
  118                     <LegendURL width="99" height="25">
  119                         <Format>image/png</Format>
  120                         <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www.osgeo.org/sites/all/themes/osgeo/logo.png"/>
  121                     </LegendURL>
  122                 </Style>
  123             </Layer>
  124             <Layer queryable="1" opaque="0">
  125                 <Name>Countries</Name>
  126                 <Title>Countries</Title>
  127                 <BoundingBox CRS="CRS:84" minx="-184" miny="-90" maxx="180" maxy="85"/>
  128                 <Attribution>
  129                     <Title>test</Title>
  130                     <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www.example.com"/>
  131                 </Attribution>
  132             </Layer>
  133             <Layer queryable="1" opaque="1">
  134                 <Name>Topography</Name>
  135                 <Title>Topography</Title>
  136                 <BoundingBox CRS="CRS:84" minx="-179.999999999999" miny="-90.0000000017335" maxx="179.999999996401" maxy="89.9999999999998"/>
  137                 <Attribution>
  138                     <Title>test</Title>
  139                 </Attribution>          
  140             </Layer>
  141             <Layer queryable="0" opaque="1">
  142                 <Name>Hillshading</Name>
  143                 <Title>Hillshading</Title>
  144                 <BoundingBox CRS="CRS:84" minx="-179.999999999999" miny="-90.0000000017335" maxx="179.999999996401" maxy="89.9999999999998"/>
  145                 <Attribution>
  146                     <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www.example.com"/>
  147                     <LogoURL>
  148                         <Format>image/png</Format>
  149                         <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www.osgeo.org/sites/all/themes/osgeo/logo.png"/>
  150                     </LogoURL>              
  151                 </Attribution>          
  152             </Layer>
  153             <Layer queryable="1" opaque="0">
  154                 <Name>Builtup areas</Name>
  155                 <Title>Builtup areas</Title>
  156                 <BoundingBox CRS="CRS:84" minx="-180" miny="-55" maxx="180" maxy="75"/>
  157                 <MaxScaleDenominator>5000000</MaxScaleDenominator>
  158             </Layer>
  159         </Layer>
  160     </Capability>
  161 </WMS_Capabilities>
  162