[MXD2map-commits] r343:9d6d3cca688c

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/9d6d3cca688c

changeset: 343:9d6d3cca688c

user:      Bjoern Schilberg <bjoern at intevation.de>

date:      Wed Nov 14 13:15:24 2012 +0100

description:
Added OUTPUTFORMAT jpeg in example files.


diffstat:

 contrib/installer/example/example/mapfile_header.include |  8 ++++++++
 contrib/installer/example/example/template.map           |  2 +-
 2 files changed, 9 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r dd90ea1d0d30 -r 9d6d3cca688c contrib/installer/example/example/mapfile_header.include
--- a/contrib/installer/example/example/mapfile_header.include	Wed Nov 14 13:10:55 2012 +0100
+++ b/contrib/installer/example/example/mapfile_header.include	Wed Nov 14 13:15:24 2012 +0100
@@ -71,3 +71,11 @@
 	EXTENSION "png"
 END
 
+OUTPUTFORMAT
+  NAME "jpeg"
+  DRIVER AGG/JPEG
+  MIMETYPE "image/jpeg"
+  IMAGEMODE RGB
+  EXTENSION "jpg"
+  FORMATOPTION "GAMMA=0.75"
+END
diff -r dd90ea1d0d30 -r 9d6d3cca688c contrib/installer/example/example/template.map
--- a/contrib/installer/example/example/template.map	Wed Nov 14 13:10:55 2012 +0100
+++ b/contrib/installer/example/example/template.map	Wed Nov 14 13:15:24 2012 +0100
@@ -49,7 +49,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' 'latin1'
     'wms_exceptions_format' 'XML'
   END


More information about the MXD2map-commits mailing list