[OpenLayers-Users] Display Point from Polygon WFS

Vivien Deparday vivien.deparday at gmail.com
Wed Apr 1 20:21:12 EDT 2009


I'm not sure what technology you use on the server side but if you use a 
spatial database like PostGIS, you can use the function ST_Centroid( 
geometry ) in the database and then directly request the centroids 
instead of the polygons.


floflo wrote:
> Hi,
> i request a WFS query on a layer full of complex polygon.. rendering is too slow
> anyway, I just want to display a POINT for each POLYGON (in the middle)
> purpose: display proportionnal symbol from an attribute of a polygon layer (exemple, layer : country, propSymbol on Population)
> do you have any issue ?
> thanks

More information about the Users mailing list