Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WMS not working correctly #13276

Closed
qgib opened this issue Nov 15, 2010 · 2 comments
Closed

WMS not working correctly #13276

qgib opened this issue Nov 15, 2010 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Nov 15, 2010

Author Name: pinux - (pinux -)
Original Redmine Issue: 3216

Redmine category:data_provider
Assignee: Marco Hugentobler


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.

@qgib
Copy link
Contributor Author

qgib commented Mar 2, 2011

Author Name: Paolo Cavallini (@pcav)


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

@qgib
Copy link
Contributor Author

qgib commented Apr 19, 2011

Author Name: Jürgen Fischer (@jef-n)


probably solved. closing for the lack of feedback.


  • resolution was configured as worksforme
  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers labels May 24, 2019
@qgib qgib added this to the Version 1.7.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

No branches or pull requests

1 participant