[MXD2map-commits] r341:10a0bf9a47ab

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Fri Nov 16 15:37:05 CET 2012


details:   http://hg.intevation.org/geospatial/mxd2map/rev/10a0bf9a47ab

changeset: 341:10a0bf9a47ab

user:      Bjoern Schilberg <bjoern at intevation.de>

date:      Wed Nov 14 13:07:40 2012 +0100

description:
Added OUTPUTFORMAT jpeg.


diffstat:

 mapserver/mapfile/mapfile_header.include |  8 ++++++++
 mapserver/mapfile/mxd.map                |  2 +-
 2 files changed, 9 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r dbfcb0b69a63 -r 10a0bf9a47ab mapserver/mapfile/mapfile_header.include
--- a/mapserver/mapfile/mapfile_header.include	Fri Nov 09 16:54:16 2012 +0100
+++ b/mapserver/mapfile/mapfile_header.include	Wed Nov 14 13:07:40 2012 +0100
@@ -76,3 +76,11 @@
 	EXTENSION "png"
 END
 
+OUTPUTFORMAT
+  NAME "jpeg"
+  DRIVER AGG/JPEG
+  MIMETYPE "image/jpeg"
+  IMAGEMODE RGB
+  EXTENSION "jpg"
+  FORMATOPTION "GAMMA=0.75"
+END
diff -r dbfcb0b69a63 -r 10a0bf9a47ab mapserver/mapfile/mxd.map
--- a/mapserver/mapfile/mxd.map	Fri Nov 09 16:54:16 2012 +0100
+++ b/mapserver/mapfile/mxd.map	Wed Nov 14 13:07:40 2012 +0100
@@ -50,7 +50,7 @@
     'ows_http_max_age'  '86400' # should 24h in seconds
     'ows_enable_request'       '*'
     'wms_feature_info_mime_type'    'text/html'
-    'wms_getmap_formatlist' 'image/png,image/png; mode=24bit'
+    'wms_getmap_formatlist' 'image/png,image/png; mode=24bit,image/jpeg'
     'wms_encoding' 'UTF-8'
     'wms_exceptions_format' 'XML'
   END


More information about the MXD2map-commits mailing list