Re: [Qgis-user] Problem with WMS in QGIS 2.2
Richard, thanks so much. It works great. Bob Bruce From: Richard Duivenvoorde [rdmaili...@duif.net] Sent: May 14, 2014 1:14 PM To: Bruce, Bob (CWS); Qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] Problem with WMS in QGIS 2.2 Hi Bob, Looking into to he capabilities of the first one: http://atlas.agr.gc.ca/arcgis/services/ImageServices/IMG_MB_ORTHO_50CM_2009/ImageServer/WMSServer?request=getCapabilities You can see that the online resource is pointing to: http://nlwis-agprd0p.agr.gc.ca/arcgis which is for you/me not available (but seems to be an internal address or so??) In QGIS output, I can see it tries to pull this url: http://nlwis-agprd0p.agr.gc.ca/arcgis/services/ImageServices/IMG_MB_ORTHO_50CM_2009/ImageServer/WMSServer?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=48.950220162,-101.717164428,52.395249721,-97.750967283&CRS=EPSG:4326&WIDTH=808&HEIGHT=703&LAYERS=IMG_MB_ORTHO_50CM_2009&STYLES=&FORMAT=image/jpeg&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96 BUT: a lot of WMS servers are not configured ok, so QGIS has an option to ignore the url's in the capabilities, but actually use the same host as the capabilities come from: In the WMS connection parameters, click the two check boxes: [v] Ignore GetMap/GetTile URI reported in capabilities [v] Ignore GetFeatureInfo URI reported in capabilities THEN I get a map \o/ You can also contact them, and ask them to configure their wms with the right online resource url ( and ask them to move from arcgis to qgisserver ;-) ). Regards, Richard Duivenvoorde On 14-05-14 19:09, Bruce, Bob (CWS) wrote: > I am having a problem access some WMS servers in QGIS. Could someone > else please have a look at this to see if I am doing something wrong or > if there is a problem with QGIS? > > > > I am using QGIS 2.2.0-Valmiera > > > > I have got it to work on one WMS server, but when I try and connect to: > > > > http://atlas.agr.gc.ca/arcgis/services/ImageServices/IMG_MB_ORTHO_50CM_2009/ImageServer/WMSServer > > > > it shows it connected and I can add the layer to my view but when I try > and draw it no map image returns. > > > > When I try a URL request for a map image to that WMS I do get one, here > is an example: > > > > http://atlas.agr.gc.ca/arcgis/services/ImageServices/IMG_MB_ORTHO_50CM_2009/ImageServer/WMSServer?service=WMS&request=GETMAP&version=1.3.0&crs=EPSG:26914&format=image/jpeg&layers=IMG_MB_ORTHO_50CM_2009&styles=&transparent=false&bbox=336636.55,5539116.4,349496.46,5550523.7&width=902&height=801 > > > > so I am stumped as to why I don't see anything in QGIS. I have tried to > be careful and select the same CRS and image type as the one in my URL > above and my project is set to the same CRS but still no map image returns. > > > > Is this a QGIS problem or something that I'm doing? > > > > thanks, > >Bob Bruce > > > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-user > ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Problem with WMS in QGIS 2.2
Hi Bob, Looking into to he capabilities of the first one: http://atlas.agr.gc.ca/arcgis/services/ImageServices/IMG_MB_ORTHO_50CM_2009/ImageServer/WMSServer?request=getCapabilities You can see that the online resource is pointing to: http://nlwis-agprd0p.agr.gc.ca/arcgis which is for you/me not available (but seems to be an internal address or so??) In QGIS output, I can see it tries to pull this url: http://nlwis-agprd0p.agr.gc.ca/arcgis/services/ImageServices/IMG_MB_ORTHO_50CM_2009/ImageServer/WMSServer?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=48.950220162,-101.717164428,52.395249721,-97.750967283&CRS=EPSG:4326&WIDTH=808&HEIGHT=703&LAYERS=IMG_MB_ORTHO_50CM_2009&STYLES=&FORMAT=image/jpeg&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96 BUT: a lot of WMS servers are not configured ok, so QGIS has an option to ignore the url's in the capabilities, but actually use the same host as the capabilities come from: In the WMS connection parameters, click the two check boxes: [v] Ignore GetMap/GetTile URI reported in capabilities [v] Ignore GetFeatureInfo URI reported in capabilities THEN I get a map \o/ You can also contact them, and ask them to configure their wms with the right online resource url ( and ask them to move from arcgis to qgisserver ;-) ). Regards, Richard Duivenvoorde On 14-05-14 19:09, Bruce, Bob (CWS) wrote: > I am having a problem access some WMS servers in QGIS. Could someone > else please have a look at this to see if I am doing something wrong or > if there is a problem with QGIS? > > > > I am using QGIS 2.2.0-Valmiera > > > > I have got it to work on one WMS server, but when I try and connect to: > > > > http://atlas.agr.gc.ca/arcgis/services/ImageServices/IMG_MB_ORTHO_50CM_2009/ImageServer/WMSServer > > > > it shows it connected and I can add the layer to my view but when I try > and draw it no map image returns. > > > > When I try a URL request for a map image to that WMS I do get one, here > is an example: > > > > http://atlas.agr.gc.ca/arcgis/services/ImageServices/IMG_MB_ORTHO_50CM_2009/ImageServer/WMSServer?service=WMS&request=GETMAP&version=1.3.0&crs=EPSG:26914&format=image/jpeg&layers=IMG_MB_ORTHO_50CM_2009&styles=&transparent=false&bbox=336636.55,5539116.4,349496.46,5550523.7&width=902&height=801 > > > > so I am stumped as to why I don't see anything in QGIS. I have tried to > be careful and select the same CRS and image type as the one in my URL > above and my project is set to the same CRS but still no map image returns. > > > > Is this a QGIS problem or something that I'm doing? > > > > thanks, > >Bob Bruce > > > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-user > ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Problem with WMS in QGIS 2.2
I am having a problem access some WMS servers in QGIS. Could someone else please have a look at this to see if I am doing something wrong or if there is a problem with QGIS? I am using QGIS 2.2.0-Valmiera I have got it to work on one WMS server, but when I try and connect to: http://atlas.agr.gc.ca/arcgis/services/ImageServices/IMG_MB_ORTHO_50CM_2009/ImageServer/WMSServer it shows it connected and I can add the layer to my view but when I try and draw it no map image returns. When I try a URL request for a map image to that WMS I do get one, here is an example: http://atlas.agr.gc.ca/arcgis/services/ImageServices/IMG_MB_ORTHO_50CM_2009/ImageServer/WMSServer?service=WMS&request=GETMAP&version=1.3.0&crs=EPSG:26914&format=image/jpeg&layers=IMG_MB_ORTHO_50CM_2009&styles=&transparent=false&bbox=336636.55,5539116.4,349496.46,5550523.7&width=902&height=801 so I am stumped as to why I don't see anything in QGIS. I have tried to be careful and select the same CRS and image type as the one in my URL above and my project is set to the same CRS but still no map image returns. Is this a QGIS problem or something that I'm doing? thanks, Bob Bruce ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user