Changes between Version 17 and Version 18 of WMSWrapper


Ignore:
Timestamp:
2021-12-22T12:17:54-04:00 (8 months ago)
Author:
Jeff McKenna
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WMSWrapper

    v17 v18  
    3232
    3333## Capabilities Request
    34 if ($contenttype == "application/vnd.ogc.wms_xml; charset=utf-8"){
     34if ($contenttype == "text/xml; charset=utf-8"){
    3535    header('Content-type: application/xml; charset=utf-8');
    3636    echo msIO_getStdoutBufferString();
    3737}
    3838
    39 ## GetMap jpeg
    40 else if ($contenttype == 'image/jpeg'){
    41     header('Content-type: image/jpeg');
     39## GetMap png
     40else if ($contenttype == 'image/png'){
     41    header('Content-type: image/png');
    4242    echo msIO_getStdoutBufferBytes();
    4343}
     
    5353* !GetCapabilities request: http://127.0.0.1/wms-wrapper.php?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities
    5454
    55 * 1GetMap request: http://127.0.0.1/wms-wrapper.php?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&BBOX=-180,-90,180,90&SRS=EPSG:4326&WIDTH=953&HEIGHT=480&LAYERS=ocean&STYLES=&FORMAT=image/jpeg&TRANSPARENT=true
     55* !GetMap request: http://127.0.0.1/wms-wrapper.php?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&BBOX=-180,-90,180,90&SRS=EPSG:4326&WIDTH=953&HEIGHT=480&LAYERS=ocean&STYLES=&FORMAT=image/png&TRANSPARENT=true