Hi Barend, 

 

I use this url :

var myImageUrl =
"http://etat.geneve.ch/wmsconnector/com.esri.wms.Esrimap?Servicename=GeoCada
stre_IMG";

var version="1.1.1";

var imageFormat="image/png";

 

and i am sure the provider use transparency. It can be seen using any other
client like mapinfo or ArcGis9.1 for instance.

 

And I use ASV3.

 

Any idée?

 

pascal

 

  _____  

De : [email protected] [mailto:[EMAIL PROTECTED]
De la part de Barend K ö bben
Envoyé : jeudi 18 janvier 2007 08:31
À : [email protected]
Objet : Re: [svg-developers] WMS into SVG

 

Hi,

Succes for this would depend on:
- if the WMS indeed serves the PNG transparently. What WMS do you use?
- if the User Agent (SVG viewer) actually can display the PNG transparency.
What UA do you use?

Did you try using another image format, eg GIF?

__ 
Barend Köbben
International Institute for Geo-information
Sciences and Earth Observation (ITC)
PO Box 6, 7500AA Enschede (The Netherlands)
ph: +31 (0)53 4874253; fax: +31 (0)53 4874335

On 17-01-2007 22:28, "benoist" <pascal.benoist11@
<mailto:pascal.benoist11%40wanadoo.fr> wanadoo.fr> wrote:

> Hello community,
> 
> 
> 
> I load wms data into my svg server application, through the following :
> 
> myImageUrl +=
>
"&service=WMS&version="+version+"&request=GetMap&layers="+layerWmsName+"&sty
> les=&srs=EPSG:" + myMainMap.epsg;
> 
> myImageUrl += "&BBox=" + myMainMap.curxOrig + "," + (myMainMap.curyOrig +
> myMainMap.curHeight) * -1 + "," + (myMainMap.curxOrig +
myMainMap.curWidth)
> + "," + (myMainMap.curyOrig) * -1;
> 
> myImageUrl += "&width=" + myMainMap.pixWidth + "&height=" +
> myMainMap.pixHeight + "&Format=" + imageFormat;
> 
> myRasterImage.setAttributeNS("http://www.w3.
<http://www.w3.org/1999/xlink> org/1999/xlink","xlink:href",myI
> mageUrl);
> 
> 
> 
> with imageFormat being declared as : "image/png"
> 
> 
> 
> My problem is that the transparent part of the image is displayed as non
> transparent white. Would you have any help?
> 
> 
> 
> Pascal
> 
> 
> 
> [Non-text portions of this message have been removed]
> 

 



[Non-text portions of this message have been removed]



-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to