<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Petr,<br>
<br>
I suppose you wanted to write this to the list, right? <br>
<br>
Best regards,<br>
Marc<br>
<br>
<br>
On 08.08.2011 12:18, Petr Voldán wrote:
<blockquote
cite="mid:CADcf5L0STqscJdLbShrTeJZ3cDC7zxkJ2VybB610pFmjjZmudw@mail.gmail.com"
type="cite">
<p class="MsoNormal"><span style="" lang="EN-US">Hi Jansen,</span></p>
<p class="MsoNormal"><span style="" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="" lang="EN-US">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. </span></p>
<p class="MsoNormal"><span style="" lang="EN-US">For this
reason I would have another question. Is it possible to show
all polygons
vertexes as points?</span></p>
<p class="MsoNormal"><span style="" lang="EN-US">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.</span></p>
<p class="MsoNormal"><span style="" lang="EN-US">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?</span></p>
<p class="MsoNormal"><span style="" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="" lang="EN-US">Thanks</span></p>
<p class="MsoNormal"><span style="" lang="EN-US">Regards Petr</span></p>
<br>
<br>
<div class="gmail_quote">On 5 August 2011 10:49, Marc Jansen <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:jansen@terrestris.de">jansen@terrestris.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">Hi Petr,<br>
<br>
find comments inline.<br>
<div class="im"><br>
On 04.08.2011 09:46, voldapet wrote:<br>
> Hi,<br>
><br>
> I’m facing this issue: I have something as choropleth
thematic map – set of<br>
> polygons with some data. Using WFS-T (postgis –
geoserver – openlayers) I am<br>
> able to edit geometry of polygons – this works fine.<br>
> My polygons looks like state borders – have shared
border vertexes. When I<br>
> edit geometry some polygon (ex. move vertexes using
modifyFeature), I need<br>
> to affect the geometry of neighbor polygon. There
shouldn't be holes or<br>
> overlaps.<br>
><br>
> Is it possible to do it?<br>
<br>
</div>
Not out of the box, I fear. But you could listen for the<br>
"vertexmodified" / "vertexremoved" events of the vector layer
and<br>
programmatically edit the nearby vectors, see here for an
example:<br>
<a moz-do-not-send="true"
href="http://www.openlayers.org/dev/examples/editing-methods.html"
target="_blank">http://www.openlayers.org/dev/examples/editing-methods.html</a><br>
<br>
I'd be very interested in the outcome of this approach.<br>
<br>
Best regards,<br>
<font color="#888888">Marc<br>
</font>
<div>
<div class="h5"><br>
> Thanks<br>
> Regards Petr<br>
><br>
><br>
> --<br>
> View this message in context: <a
moz-do-not-send="true"
href="http://osgeo-org.1803224.n2.nabble.com/Edit-vertexes-of-neighbor-polygon-tp6651716p6651716.html"
target="_blank">http://osgeo-org.1803224.n2.nabble.com/Edit-vertexes-of-neighbor-polygon-tp6651716p6651716.html</a><br>
> Sent from the OpenLayers Users mailing list archive
at Nabble.com.<br>
> _______________________________________________<br>
> Users mailing list<br>
> <a moz-do-not-send="true"
href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
> <a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/openlayers-users"
target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/openlayers-users"
target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</blockquote>
<br>
</body>
</html>