Hi Petr, I suppose you wanted to write this to the list, right?
Best regards, Marc On 08.08.2011 12:18, Petr Voldán wrote: > > Hi Jansen, > > > > Thank you for advice, probably we will use this approach, but we > decided to postpone it and do it in easier way. We use snapping method > - user has to edit all influenced polygons itself. > > For this reason I would have another question. Is it possible to show > all polygons vertexes as points? > > The idea is: user will chose modifyFeature function and this causes > that all polygon vertexes will be shown as a point with different > style than edited feature vertexes/points. Users will be able to see > vertexes of neighbor polygons and easy snapping on existing vertexes. > > I guess that it is possible to separate points from feature geometry > and then create new feature from this points. Or is there any easier > solution? > > > > Thanks > > Regards Petr > > > > On 5 August 2011 10:49, Marc Jansen <[email protected] > <mailto:[email protected]>> wrote: > > Hi Petr, > > find comments inline. > > On 04.08.2011 09:46, voldapet wrote: > > Hi, > > > > I’m facing this issue: I have something as choropleth thematic > map – set of > > polygons with some data. Using WFS-T (postgis – geoserver – > openlayers) I am > > able to edit geometry of polygons – this works fine. > > My polygons looks like state borders – have shared border > vertexes. When I > > edit geometry some polygon (ex. move vertexes using > modifyFeature), I need > > to affect the geometry of neighbor polygon. There shouldn't be > holes or > > overlaps. > > > > Is it possible to do it? > > Not out of the box, I fear. But you could listen for the > "vertexmodified" / "vertexremoved" events of the vector layer and > programmatically edit the nearby vectors, see here for an example: > http://www.openlayers.org/dev/examples/editing-methods.html > > I'd be very interested in the outcome of this approach. > > Best regards, > Marc > > > Thanks > > Regards Petr > > > > > > -- > > View this message in context: > > http://osgeo-org.1803224.n2.nabble.com/Edit-vertexes-of-neighbor-polygon-tp6651716p6651716.html > > Sent from the OpenLayers Users mailing list archive at Nabble.com. > > _______________________________________________ > > Users mailing list > > [email protected] <mailto:[email protected]> > > http://lists.osgeo.org/mailman/listinfo/openlayers-users > > > > _______________________________________________ > Users mailing list > [email protected] <mailto:[email protected]> > http://lists.osgeo.org/mailman/listinfo/openlayers-users > >
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
