[Qgis-user] trouble with WMS layer

Burkhardt, Glenn B UTAS Glenn.Burkhardt at utas.utc.com
Tue Oct 16 07:51:43 PDT 2018


The Mapserver I've set up doesn't seem to have all the configuration needed for Qgis to add layers.  I'm hoping to get some pointers on what needs to change.  The layers I've defined show up in the server query, but they simply don't display.  One of the problems is that the GetMap query includes lat/lon for the entire world, instead of the extent of the layer that's been configured.  But even when I adjust that and use Firefox to make the query, it doesn't display the map.  Other applications, e.g., TakukGIS and WorldWind work with this server.  I'm using QGIS 3.2.3.

The query my map server is receiving is:

127.0.0.1 - - [16/Oct/2018:10:09:41 -0400] "GET /cgi-bin/mapserv?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=-90,-180,90,180&CRS=EPSG:4326&WIDTH=1408&HEIGHT=705&LAYERS=MassJ250k&STYLES=&FORMAT=image/png&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96&TRANSPARENT=FALSE HTTP/1.1" 200 4802 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0"

The layer information report includes:


Original Mass.1to250k
Name Mass.1to250k
Source contextualWMSLegend=0&crs=EPSG:4326&dpiMode=7&featureCount=10&format=image/png&layers=MassJ250k&styles=&url=http://localhost/cgi-bin/mapserv
Provider wms
CRS
EPSG:4326 - WGS 84 - Geographic
Extent -180.0000000000000000,-90.0000000000000000 : 180.0000000000000000,90.0000000000000000
Unit degrees
Width n/a
Height n/a
Data type Could not determine raster data type.
WMS Info  Selected Layers Other Layers

Server Properties

Property Value
WMS Version 1.3.0
Title WMS server

GetCapabilitiesUrl http://localhost/cgi-bin/mapserv?
GetMapUrl http://10.116.65.50/cgi-bin/mapserv?
GetFeatureInfoUrl http://10.116.65.50/cgi-bin/mapserv?
GetLegendGraphic http://10.116.65.50/cgi-bin/mapserv?
Image Formats
image/png
image/jpeg
image/bil
application/bil16
image/png; mode=8bit
application/x-pdf
image/svg+xml
image/tiff
application/vnd.google-earth.kml+xml
application/vnd.google-earth.kmz
Identify Formats
text/plain
application/vnd.ogc.gml
Layer Count 7

Selected Layers

Property Value
Name MassJ250k
Visibility Visible
Title Mass.1to250k
Abstract  Raster Map - /Mass/TIF/1to250k [MassJ250k] Coverage - -74.4670051 40.9012464 -69.6700508 43.4899329
Can Identify No
Can be Transparent No
Can Zoom In Yes
Cascade Count 0
Fixed Width 0
Fixed Height 0
Available in CRS EPSG:4326




More information about the Qgis-user mailing list