[mapguide-users] WMS Link question

Tom Fukushima tom.fukushima at autodesk.com
Mon Nov 5 18:38:51 EST 2007


Ah, that is a ERMapper WMS server I think.  The ERMapper WMS server does not accept URL encoded WMS requests.

So for example the following request will work:
http://openmaps.gov.bc.ca/ecwp2/ecw_wms.dll?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=BC_BC_BARKBEETLE_XC1M_BCALB_2004&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&SRS=EPSG:102190&BBOX=-443475.547681155,-47702.6055951556,2547804.45231885,2104297.39440484&WIDTH=556&HEIGHT=400

But if we URL Encode some of the parts of the request, in this case, the SRS colon to %3a (look for EPSG%3a102190 in the following URL) then it fails:
http://openmaps.gov.bc.ca/ecwp2/ecw_wms.dll?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=BC_BC_BARKBEETLE_XC1M_BCALB_2004&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&SRS=EPSG%3a102190&BBOX=-443475.547681155,-47702.6055951556,2547804.45231885,2104297.39440484&WIDTH=556&HEIGHT=400

A fix was applied to the WMS provider in the FDO project:
http://trac.osgeo.org/fdo/changeset/3243
http://trac.osgeo.org/fdo/ticket/110

This fix is in FDO 3.3 and so will be part of the upcoming MGOS 2.0 release.


Tom


-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of NJgeo
Sent: Monday, November 05, 2007 4:12 PM
To: mapguide-users at lists.osgeo.org
Subject: RE: [mapguide-users] WMS Link question


MGE 2008 and Studio 2008

hmm ... so I see the error message when I try to preview it in the wms
configuration.
then when I try to create a layer I cannot see anything in preview.  I
created a map with specfic extents and still nothing  I have attached the
layer settings to this post hopefully if you look you can shed some light on
it...thanks again!

N


Andy Morsell wrote:
>
> Which version of MapGuide and Studio are you using?  I just tried using
> that
> WMS service with MGOS 1.2 and Studio 2008 and the connection seemed fine.
> I
> was able to see all of the feature sources in a new layer dialog when it
> enumerated for the feature class.
>
>
> Andy Morsell, P.E.
> Spatial Integrators, Inc.
> http://www.SpatialGIS.com
>
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of NJgeo
> Sent: Monday, November 05, 2007 1:06 PM
> To: mapguide-users at lists.osgeo.org
> Subject: [mapguide-users] WMS Link question
>
>
> I am trying to connect to an wms service via MapGuide Studio and I am
> getting the following error
>
> the service is
> http://openmaps.gov.bc.ca/images/base.xml
>
> An exception occurred in FDO component. Element
> 'TempSchema:BC_BC_BC_XC10M_BCALB_20070115' references class (BC) which
> does
> not belong to a feature schema
>
> any help with this and how I can fix it would be awesome...thanks in
> advance
>
> N
> --
> View this message in context:
> http://www.nabble.com/WMS-Link-question-tf4754434s16610.html#a13595664
> Sent from the MapGuide Users mailing list archive at Nabble.com.
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
http://www.nabble.com/file/p13597752/wmswoes.jpg
--
View this message in context: http://www.nabble.com/WMS-Link-question-tf4754434s16610.html#a13597752
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list