AFAIK there is no javascript library for this. As Carsten writes they use a Java backend based on JTS for this, which is a pretty logical solutions.
If you look at the WPSDemo by Chris you'll see something similar. which uses Python and GEOS on the server-side. http://crschmidt.net/mapping/wpserverdemo/ Best regards, Bart > Yves, > > > > This sounds interesting. I have a need to select a group or collection of > polygons from a user who just clicks the polygons they need. Then I need > to aggregate all the geometries into a single object and also aggregate > the numeric attributes. Then to insert the new geometry into the database > as a WFS-T transaction. So far my OL application can get all the polygons > and all the attributes with WFS but have not got software to aggregate the > geometries. Would you have the javascript software to do this? > > > > Cheers, Brad⦠> > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Dipl. Inf. Carsten Eider > Sent: Friday, November 28, 2008 9:13 PM > To: Yves Moisan > Cc: [EMAIL PROTECTED]; dev@openlayers.org > Subject: Re: [OpenLayers-Users] OL-Based GeoEditor > > > > Hi Yves, > > thank you for your answer, i hope other people also had some fun with > this nice tool! > What ist your impresiion of it? Could it be usable? > Are there any other testers or has someone else a feedback (either > negative or positive) for me? > > English UI: Our development-focus is set on german farmers, so there is no > need to use an english one! > But if there is a big demand for it, i will do it, or better let it do:-) > > thx Carsten > > Yves Moisan schrieb: > > I like the gröSSe option :-). An English UI would help me as a French > speaker. Mein Deutsch nicht sehr gut ist :-) > > Yves > Le jeudi 27 novembre 2008 à 15:44 +0100, Dipl. Inf. Carsten Eider a > écrit : > > > Hi list, > > my work on a GeoEditor is nearly completely done. > > Features: > * using Openlayers for geometric operations, only joining and > splitting is done by a JTS-Java-Backend > * using WFS-T with a GeoServer(Shapefile as backend) for storing > the changes > * using SLD and handmade Java-BackEnd for storing LayerStyles > * using dojo for editing styles. > Restrictions: > * only german front-end > Proof-of-concept: > * https://143.93.78.98/geoEditor2/editor.html, use "demo" and no > password for login > Thx Carsten > > > Dipl. Inf. Carsten Eider schrieb: > > > Hi folks, > > i am working on a small geo-editor for an agricultural project in > rhine-palatinat/germany, visit http://www.agroconnect.de for more > information. > Upto now my editor has the following features: > * new polygon, plain OL > * edit polgon, plain OL > * delete polygon, plain OL > * union polygon, OL with a javaserver in the backend > Coming feaures: > * split polygon into 2 elements, OL with server backend > * group polygons > At the moment i am hanging a bit with the split-feature. > My idea is > 1. select polygon > 2. select first point/vertix as starting point > 3. select second point as ending point > 4. do split > 5. remove polygon and add the new ones > Step 4 will be done on serverside,but could also be done on > clientside. > > Any ideas how to realize steps 1-3. Should i use several controls > (Select and Modify) or > should i subclass Control.ModifyFeature ? > > Any hints will be appreciated. > > -- > Mit freundlichen GrüÃen / Yours faithfully > Carsten Eider > > Dipl. Inf. (FH) > > Kompetenzzentrum für Innovative Informationssysteme > > c/o Fachhochschhule Bingen / University of applied sciences Bingen > > BerlinstraÃe 109 > 55411 Bingen > > Tel: +49 (0) 6721 / 409-179 > Fax: +49 (0) 6721 / 409-158 > email: [EMAIL PROTECTED] > Internet: iis.fh-bingen.de > _______________________________________________ > Users mailing list > [EMAIL PROTECTED] > http://openlayers.org/mailman/listinfo/users > > > > -- > Mit freundlichen GrüÃen / Yours faithfully > Carsten Eider > > Dipl. Inf. (FH) > > Kompetenzzentrum für Innovative Informationssysteme > > c/o Fachhochschhule Bingen / University of applied sciences Bingen > > BerlinstraÃe 109 > 55411 Bingen > > Tel: +49 (0) 6721 / 409-179 > Fax: +49 (0) 6721 / 409-158 > email: [EMAIL PROTECTED] > Internet: iis.fh-bingen.de > _______________________________________________ > Users mailing list > [EMAIL PROTECTED] > http://openlayers.org/mailman/listinfo/users > > > > > > > > > > > -- > Mit freundlichen GrüÃen / Yours faithfully > Carsten Eider > > Dipl. Inf. (FH) > > Kompetenzzentrum für Innovative Informationssysteme > > c/o Fachhochschhule Bingen / University of applied sciences Bingen > > BerlinstraÃe 109 > 55411 Bingen > > Tel: +49 (0) 6721 / 409-179 > Fax: +49 (0) 6721 / 409-158 > email: [EMAIL PROTECTED] > Internet: iis.fh-bingen.de > _______________________________________________ > Users mailing list > [EMAIL PROTECTED] > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Dev mailing list Dev@openlayers.org http://openlayers.org/mailman/listinfo/dev