Hi Ahmad,

If you need this to be dynamic, the best bet is to use OpenLayers for your client.  With a WFS layer configured to pull over the building features from Geoserver, you can let the user pick the buildings and then have a bit of _javascript_ to calculate and display the convex hull.  The _javascript_ would get the all polygon vertices as an array of points and then feed them into the getConvexHull() function here:

http://en.literateprograms.org/Quickhull_%28Javascript%29

This could then be displayed by Openlayers in fairly quick time.

Andy





On 30/03/2011 16:37, Ahmad Aburizaiza wrote:
Hello all,

I am new to Geoserver and to web GIS in general. I have a building layer that I want to be able to select two buildings and create a convex hull. Any suggestions.

Thanks in advance,


---------------------------------------------------------------------------
Ahmad Aburizaiza

PhD student at
George Mason University
Geography and Geoinformation Science Department
Fairfax, VA, USA
Tel : +1352-328-5511

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to