[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #NWN-649909]: can getMap be used instead of getCapabilities?



Hi Ellyn.

We are having the same trouble you are encountering. 

Do you have an example from a map server that works as you expect?

Thanks.

-Julien

> Full Name: Ellyn Montgomery
> Email Address: address@hidden
> Organization: USGS
> Package Version: 2.9 build date:2010-05-27 15:48 UTC
> Operating System: Windows XP
> Hardware: Java: home: C:\Program Files\IDV_2.9\jre version: 1.6.0_20 
> j3d:1.5.2 fcs (build4)
> Description of problem: Hi folks-
> 
> Sorry to bother you again, but have run into some additional questions.
> 
> I'm trying to import a map layer with the background transparent.  I believe 
> to do this you have to use a getMap instead of getCapabilities. If you load 
> the capabilities document of this URL,  
> http://coastalmap.marine.usgs.gov/wmsconnector/com.esri.wms.Esrimap?REQUEST=GetCapabilities&SERVICE=WMS&ServiceName=Gulf_of_MaineREQUEST=GetCapabilities,
>  then click "continental margin sediment distribution" you get a map 
> displayed, but everything that's white is background, and if I use the slider 
> to change the transparency, everything becomes more transparent, not just the 
> background.
> 
> So I tried to load the getMap part where you can specify the transparency- 
> here's the URL I'm trying to open as a catalog and get this message:
> 
> Creating 
> ui:http://coastalmap.marine.usgs.gov/wmsconnector/com.esri.wms.Esrimap?REQUEST=GetMap&SERVICE=WMS&ServiceName=Gulf_of_Maine&LAYERS=12VERSION=1.1.1&STYLES=&SRS=EPSG:4326&FORMAT=image/jpeg&WIDTH=446&HEIGHT=300&BBOX=-71.0,39.0,-68.0,44.0&TRANSPARENCY=TRUE
> Unknown xml:<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
> <ServiceExceptionReport version="1.1.1">
> 
> I can't tell from the documentation whether request=getMap is allowed or not. 
>  The error makes it look like the XML served by ESRImap is too old, but it's 
> probably something else entirely.
> 
> Thanks for any help you can provide-
> Ellyn
> ...
> 
> ******************
> Stack trace:
> java.lang.IllegalArgumentException: Unknown xml:<?xml version="1.0" 
> encoding="UTF-8" standalone="yes" ?>
> <ServiceExceptionReport version="1.1.1">
> ...
> at ucar.unidata.idv.chooser.XmlChooser.makeUi(XmlChooser.java:490)
> at ucar.unidata.idv.chooser.XmlChooser.makeUiFromPath(XmlChooser.java:441)
> at ucar.unidata.idv.chooser.XmlChooser.makeUiFromPath(XmlChooser.java:388)
> at ucar.unidata.idv.chooser.XmlChooser.doUpdateInner(XmlChooser.java:703)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at ucar.unidata.util.Misc$2.run(Misc.java:1061)
> at ucar.unidata.util.Misc$3.run(Misc.java:1089)
> 
> 
> 


Ticket Details
===================
Ticket ID: NWN-649909
Department: Support IDV
Priority: Normal
Status: Open