[OpenLayers-Users] creating a geometry from a wfs server

Andreas Hocevar ahocevar at opengeo.org
Thu Aug 11 05:11:43 EDT 2011


Hi,

sort of. You can create a vector layer, which holds an array of features, with each feature having a geometry object, from a wfs data source.

See http://openlayers.org/dev/examples/wfs-states.html for an example that does this. To access the geometry of the 1st feature, you could execute the following in the development console:

wfs.features[0].geometry

Andreas.

On Aug 11, 2011, at 06:44 , Dave Potts wrote:

> Hi
> 
> 
> 
> Is it possible to create a create a geometry object from wfs data source?
> 
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.



More information about the Users mailing list