Hi Piero,
      Thanks for giving response. Actually i'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??

On Fri, Jul 23, 2010 at 2:58 PM, Piero Campa [via OSGeo.org] <
[email protected]<ml-node%[email protected]>
> wrote:

> You can get them as *raster* via WMS (if you have a web map service...),
> or as *vector* features via OpenLayers.Layer.Vector or
> OpenLayers.Layer.WFS.
>
> I used to get the PNG raster of my shapefile like this (I have *GeoServer* as
> WMS):
>
>                 var myShapeFile = new OpenLayers.Layer.WMS('Name',
>                                 WMSURL,
>                                 {layers: WORKSPACE + ':' + ,
>                                 transparent: 'true', // Visualize all
> rasters at the same time
>                                 opaque: 1,
>                                 format: 'image/png8'},
>                                 {opacity: 0.4, singleTile: true,
> transitionEffect: 'resize'}
>                         );
>
>                 OLmap.addLayer(myShapeFile);
>
> Take a look at the examples code, it may be useful (e.g.
> http://openlayers.org/dev/examples/wfs-protocol-transactions.html)
> Piero
>
> ------------------------------
> View message @
> http://osgeo-org.1803224.n2.nabble.com/wfs-tp5328877p5328894.html
> To unsubscribe from wfs, click 
> here<http://osgeo-org.1803224.n2.nabble.com/subscriptions/Unsubscribe.jtp?code=Z3ZzLnNyaUBnbWFpbC5jb218NTMyODg3N3w0NjY3Nzk3ODM=>.
>
>
>

-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/wfs-tp5328877p5328910.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to