Changeset 3796

Show
Ignore:
Timestamp:
06/20/11 16:51:33 (11 months ago)
Author:
elemoine
Message:

sample - Map Server 6 compatibility

Location:
sample/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • sample/trunk/buildout.cfg

    r3794 r3796  
    7676# mapserv URL - used by TileCache, and possibly by the JS app 
    7777mapserv_url = http://${vars:mapserv_host}/mapfishsample/${vars:instanceid}/mapserv 
     78# mapserver JPEG driver ("GD/JPEG" with MapServer 5, and "AGG/JPEG" with MapServer 6) 
     79mapserver_jpeg_driver = "GD/JPEG" 
    7880# print host 
    7981print_host = override_me 
  • sample/trunk/mapserver/mapfishsample.map.in

    r3718 r3796  
    4040    OUTPUTFORMAT 
    4141        NAME jpeg 
    42         DRIVER "GD/JPEG" 
     42        DRIVER "${vars:mapserver_jpeg_driver}" 
    4343        IMAGEMODE RGB 
    4444        EXTENSION "jpeg" 
     
    6161    WEB 
    6262        METADATA 
     63            "ows_enable_request" "*" 
    6364            "wms_title" "changeme" 
    6465            "wms_abstract" "changeme"