Ticket #3216 (closed bug: worksforme)

Opened 3 years ago

Last modified 2 years ago

WMS not working correctly

Reported by: pinux Owned by: mhugent
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: Data Provider Version:
Keywords: WMS Cc:
Platform Version: Platform: Windows
Must Fix for Release: No Awaiting user input: yes

Description

This mapfile is working without problems on qgis 1.4:

MAP
  NAME my_map
  SIZE 640 640
  UNITS meters
  EXTENT 5387500.000000 4989000.000000 5401000.000000 5007000.000000
  IMAGECOLOR 255 255 255
  IMAGEQUALITY 100
  IMAGETYPE jpeg
 
PROJECTION
	"init=epsg:900913"
END 
  
OUTPUTFORMAT
  NAME jpeg
  DRIVER "GD/JPEG"
  MIMETYPE "image/jpeg"
  IMAGEMODE RGB
  EXTENSION "jpg"
END
   MAXSIZE 4096

  WEB
    IMAGEPATH 'C:/tmp/'
    IMAGEURL 'C:/tmp/'

    # WMS server settings
    METADATA
      'wms_title'           'My layer'
      'wms_onlineresource' 'http://localhost/cgi-bin/mapserv.exe?map=C:\my_map.map'
      'wms_srs'             'EPSG:900913'
    END
  END

  LAYER
   PROCESSING "RESAMPLE=NEAREST"
    NAME "My map"
    STATUS ON
    TILEINDEX "index.shp"
    TILEITEM "Location"
    TYPE RASTER
    METADATA
      'wms_title' 'My Layer map'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
  END
END

From 1.5 to the trunk r14547 I'm having the following problems:
1. When I try to select the layer under the number 1 it is automatically selecting the name of my map under number 0. It happens even when I have more than 1 layer.
2. The output format is not automatically selected to jpg like it was working on qgis 1.4.

Change History

Changed 3 years ago by lutra

  • owner changed from nobody to mhugent

Changed 2 years ago by pcav

Please check again with 1.6 or trunk. I cannot reproduce it. Thanks.

Changed 2 years ago by pcav

  • status_info set

Changed 2 years ago by jef

  • status changed from new to closed
  • resolution set to worksforme

probably solved. closing for the lack of feedback.

Note: See TracTickets for help on using tickets.