This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Can I divide a polygon into two in P2?

1

Hi all! I haven't succeeded in finding out how to divide a polygon, e.g. a lake, into two in order to be able to have different names on different parts of the polygon. I am using Potlatch2. Is it at all possible?

asked 13 Mar '15, 15:13

RogerE's gravatar image

RogerE
26112
accept rate: 0%

edited 13 Mar '15, 16:15

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


One Answer:

4

No, there's no explicit function in P2 to do that. You can split the polygon at the relevant nodes (by clicking on them and pressing 'X' or using the scissors icon) and rejoin, but that's likely to be a bit of a faff, especially if there's a multipolygon involved. I believe JOSM's utilsplugin2 has a "split area" function but I haven't tried it.

answered 13 Mar '15, 15:52

Richard's gravatar image

Richard ♦
30.9k44279412
accept rate: 18%

2

Split areas works really well, and is one of the things I'll fire JOSM up to do if I have more than one or two polygons to split.

(13 Mar '15, 16:04) SK53 ♦

Source code available on GitHub .