[QGIS-trac] [Quantum GIS] #3216: WMS not working correctly
Quantum GIS
qgis at qgis.org
Mon Nov 15 08:20:06 EST 2010
#3216: WMS not working correctly
------------------------------------------------+---------------------------
Reporter: pinux | Owner: nobody
Type: bug | Status: new
Priority: major: does not work as expected | Milestone: Version 1.7.0
Component: Data Provider | Version:
Keywords: WMS | Platform_version:
Platform: Windows | Must_fix: No
Status_info: 0 |
------------------------------------------------+---------------------------
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:[[BR]]
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.[[BR]]
2. The output format is not automatically selected to jpg like it was
working on qgis 1.4.
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3216>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list