Changes between Version 17 and Version 18 of WMSWrapper
- Timestamp:
- 2021-12-22T12:17:54-04:00 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WMSWrapper
v17 v18 32 32 33 33 ## Capabilities Request 34 if ($contenttype == " application/vnd.ogc.wms_xml; charset=utf-8"){34 if ($contenttype == "text/xml; charset=utf-8"){ 35 35 header('Content-type: application/xml; charset=utf-8'); 36 36 echo msIO_getStdoutBufferString(); 37 37 } 38 38 39 ## GetMap jpeg40 else if ($contenttype == 'image/ jpeg'){41 header('Content-type: image/ jpeg');39 ## GetMap png 40 else if ($contenttype == 'image/png'){ 41 header('Content-type: image/png'); 42 42 echo msIO_getStdoutBufferBytes(); 43 43 } … … 53 53 * !GetCapabilities request: http://127.0.0.1/wms-wrapper.php?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities 54 54 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=true55 * !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