<div>Hi Piero,</div>
<div>      Thanks for giving response. Actually i&#39;m using TerraGate SFS Manager. I have a couple shape files. I need to get those shape files(wfs) on to the map using openlayers. so, how can i do this using TerraGate SFS Manager??<br clear="all">
<br></div>
<div class="gmail_quote">On Fri, Jul 23, 2010 at 2:58 PM, Piero Campa [via OSGeo.org] <span dir="ltr">&lt;<a href="/user/SendEmail.jtp?type=node&node=5328910&i=0" target="_top" rel="nofollow">[hidden email]</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">You can get them as <b>raster</b> via WMS (if you have a web map service...), or as <b>vector</b> features via OpenLayers.Layer.Vector or OpenLayers.Layer.WFS. <br>
<br>I used to get the PNG raster of my shapefile like this (I have <b>GeoServer</b> as WMS): <br><br>                var myShapeFile = new OpenLayers.Layer.WMS(&#39;Name&#39;, <br>                                WMSURL, <br>
                                {layers: WORKSPACE + &#39;:&#39; + , <br>                                transparent: &#39;true&#39;, // Visualize all rasters at the same time <br>                                opaque: 1, <br>
                                format: &#39;image/png8&#39;}, <br>                                {opacity: 0.4, singleTile: true, transitionEffect: &#39;resize&#39;} <br>                        ); <br><br>                OLmap.addLayer(myShapeFile); <br>
<br>Take a look at the examples code, it may be useful (e.g. <a href="http://openlayers.org/dev/examples/wfs-protocol-transactions.html" target="_blank" rel="nofollow" link="external">http://openlayers.org/dev/examples/wfs-protocol-transactions.html</a>) <br>
Piero <br><br>
<hr color="#cccccc" noshade size="1">

<div style="FONT: 11px tahoma,geneva,helvetica,arial,sans-serif; COLOR: #666666">View message @ <a href="http://osgeo-org.1803224.n2.nabble.com/wfs-tp5328877p5328894.html?by-user=t" target="_blank" rel="nofollow" link="external">http://osgeo-org.1803224.n2.nabble.com/wfs-tp5328877p5328894.html</a> <br>

<div class="im">To unsubscribe from wfs, <a target="_blank" rel="nofollow" link="external">click here</a>. </div></div><br>
</blockquote></div><br>

<br><hr align="left" width="300">
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/wfs-tp5328877p5328910.html">Re: wfs</a><br>
Sent from the <a href="http://osgeo-org.1803224.n2.nabble.com/OpenLayers-Users-f1822463.html">OpenLayers Users mailing list archive</a> at Nabble.com.<br>