Re: [Geoserver-users] Convex hull

2011-03-30 Thread Andrea Aime
On Wed, Mar 30, 2011 at 5:37 PM, Ahmad Aburizaiza ahmad...@gmail.com 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.

You need WPS, there is a process that can compute the convex hull given
two geometries expressed in GML

Cheers
Andrea

-- 
---
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

---

--
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Convex hull

2011-03-30 Thread Andrew Chamberlain


  
  
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users