On Fri, Apr 24, 2009 at 4:22 PM, Emily Gouge <[email protected]> wrote: > So uDig is using the Get (or Post) OnlineResource for getting the layer > information. Since this is incorrect in the getCapabilities document uDig > is using the wrong resource.
So MetaCarta is sending over the wrong URLs. Nice. Is there a way to manually set the WMS URL for a layer? > I hope this helps. It does indeed. Thanks so much! Rob On Fri, Apr 24, 2009 at 4:22 PM, Emily Gouge <[email protected]> wrote: > Okay I think I know why udig is using the "wrong" url. The getCapabilities > document has the following: > > > <GetMap> > <Format>image/jpeg</Format> > <Format>image/png</Format> > <Format>image/gif</Format> > <Format>image/png; mode=24bit</Format> > <Format>image/wbmp</Format> > <Format>image/tiff</Format> > <DCPType> > <HTTP> > <Get> > <OnlineResource xlink:href="http://labs.metacarta.com/wms?"/> > </Get> > <Post> > <OnlineResource xlink:href="http://labs.metacarta.com/wms?"/> > </Post> > </HTTP> > </DCPType> > </GetMap> > > > So uDig is using the Get (or Post) OnlineResource for getting the layer > information. Since this is incorrect in the getCapabilities document uDig > is using the wrong resource. > > I hope this helps. > > Emily > > > Emily Gouge wrote: >> >> That url I provided is the one that uDig is using. So it looks like uDig >> is not using the correct URL. I'm not sure why though. >> >> I was able to see the URL by enabling tracing in the eclipse environment. >> I'm not sure how you'd do if you are running uDig outside of Eclipse. >> >> Emily >> >> >> MrR08040 wrote: >>> >>> On Thu, Apr 23, 2009 at 6:48 PM, Emily Gouge <[email protected]> >>> wrote: >>>> >>>> I can't access this in uDig either. But I also cannot access it from a >>>> basic web browser. >>>> >>>> >>>> http://labs.metacarta.com/wms?SERVICE=WMS&LAYERS=rail&EXCEPTIONS=application/vnd.ogc.se_xml&FORMAT=image/png&HEIGHT=169&TRANSPARENT=TRUE&REQUEST=GetMap&BBOX=0.0,0.0,179.61,78.168&WIDTH=389&STYLES=default&SRS=EPSG:4326&VERSION=1.1.1 >>> >>> I wouldn't expect that URL to work since it's wrong. It should be: >>> >>> >>> http://labs.metacarta.com/wms/vmap0?SERVICE=WMS&LAYERS=rail&EXCEPTIONS=application/vnd.ogc.se_xml&FORMAT=image/png&HEIGHT=169&TRANSPARENT=TRUE&REQUEST=GetMap&BBOX=0.0,0.0,179.61,78.168&WIDTH=389&STYLES=default&SRS=EPSG:4326&VERSION=1.1.1 >>> >>> But there isn't any data in that image for that layer (rails). Try >>> basic instead and that works. >>> >>> Where did you get that URL from? >>> >>> Is there anyway to see in uDig the actual URL for a given WMS layer? >>> >>> Many thanks, >>> Rob >>> >>> >>> On Thu, Apr 23, 2009 at 6:48 PM, Emily Gouge <[email protected]> >>> wrote: >>>> >>>> I can't access this in uDig either. But I also cannot access it from a >>>> basic web browser. >>>> >>>> >>>> http://labs.metacarta.com/wms?SERVICE=WMS&LAYERS=rail&EXCEPTIONS=application/vnd.ogc.se_xml&FORMAT=image/png&HEIGHT=169&TRANSPARENT=TRUE&REQUEST=GetMap&BBOX=0.0,0.0,179.61,78.168&WIDTH=389&STYLES=default&SRS=EPSG:4326&VERSION=1.1.1 >>>> >>>> I'm not sure about openlayers. >>>> >>>> MrR08040 wrote: >>>>> >>>>> Hi folks, >>>>> >>>>> I'm wondering if other people can get uDig to render the basic layer >>>>> from >>>>> here: >>>>> >>>>> http://labs.metacarta.com/wms/vmap0?service=WMS&request=GetCapabilities >>>>> >>>>> It works great under OpenLayers: >>>>> >>>>> http://openlayers.org/dev/examples/geojson.html >>>>> >>>>> But not for me under uDig 1.2M3. >>>>> >>>>> Thanks in advance, >>>>> Rob >>>>> _______________________________________________ >>>>> User-friendly Desktop Internet GIS (uDig) >>>>> http://udig.refractions.net >>>>> http://lists.refractions.net/mailman/listinfo/udig-devel >>>> >>>> _______________________________________________ >>>> User-friendly Desktop Internet GIS (uDig) >>>> http://udig.refractions.net >>>> http://lists.refractions.net/mailman/listinfo/udig-devel >>>> >>> _______________________________________________ >>> User-friendly Desktop Internet GIS (uDig) >>> http://udig.refractions.net >>> http://lists.refractions.net/mailman/listinfo/udig-devel >> >> _______________________________________________ >> User-friendly Desktop Internet GIS (uDig) >> http://udig.refractions.net >> http://lists.refractions.net/mailman/listinfo/udig-devel > > _______________________________________________ > User-friendly Desktop Internet GIS (uDig) > http://udig.refractions.net > http://lists.refractions.net/mailman/listinfo/udig-devel > _______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
