Hi there Im mapping some large lakes in far northers Quebec. (Using iD-in-browser editor) As I start adding points to the area its nice and fast, but by mistake often the line "drops" from my cursor and im stuck with having to double click and add a point and then drag it over to the trace Im making point by point. (doubble click, add point, drag over) every time. How to I "pick up" the line of points again to continue "speed-adding" to finnish off the area? I dont know the proper terminology to describe this issue so I couldnt find any relevant data. Hopefully this is clear enough. Thanks. |
Hi: I am not sure if I understand it correctly. So let's say you start to trace a lake at point A, then you add additional points along the shoreline, e.g. B,C,D,E....P,Q and then by mistake you double click on Q and suddenly you have only a part of the lake drawn as an area (let's say roughly a semi-circle drawn, with strait lines between A and Q.) So then you pick existing intermediate nodes between A and Q and "stretch" them to continue tracing the remaining part of the lake? If this is a case, I have a solution, but before I spent 5 minutes typing, let me know if this is your question, i.e. how to continue tracing the remaining part without a need to 'stretch' existing nodes or start from a scratch. answered 25 Aug '13, 02:32 slover98 Yes! you described it to a tee. Thats exactly what I'm wondering. Also at present I'm using the touch pad on a laptop so to be stretching nodes to continue an area or line, takes much much longer than simply clicking away as you say, A, B, C... or having to restart.
(25 Aug '13, 02:55)
Azzitizz
Great! I will write up and post it shortly.
(25 Aug '13, 02:58)
slover98
|
(I got an idea for this from an answer I received to one of my questions) Let’s continue with the example. You have drawn half of the lake as an area A,B,C….Q. In iD editor, tag this as “lake” or “water” whatever is appropriate. Then, still in iD, select “area” to draw a new area. Click on Q and continue tracing the second half of the lake. Because it is a new area, let’s say that the node Q is the starting point of the second half, and let’s name it 1. You continue tracing the second half by adding points 2,3,4,….27 until you come to point A, which will be your point 28 and then continue adding one more point, 29, which will be identical with Q thus creating another area (you need to double-click here to create an area). Tag this the same as the first half. So now you have drawn the lake which is comprised of two halves joined along the lines A-Q and 1-29. Although you see only one strait line in the middle, imagine that there are actually two lines joined. The idea is now to cut these two lines, delete them and then join the two shorelines halves into one. This sounds complicated but it is simple. However, you will now need to switch to Potlatch. Before you switch, save the changes. Potlatch is accessed via Edit menu. Once you are in Potlatch, notice a small toolbox in the lower right corner, which has scissors, a trash can etc. In essence we need to cut twice at each point. Carefully click on Q to select the node (you may need to click twice, by clicking once, you select the shape, by clicking again, you select the node). Then click on ‘scissors’ to make a cut at Q. Then select the node A by clicking and do the same. Now carefully click on the straight line to select it (it becomes yellow). Then click on the trash can to delete it. Repeat the same procedure, as we have now to cut at nodes 1 & 29 (the second line). Click on 1, click on scissors, then the same with 29. Carefully click on the straight line to select it and then click on trash can. Both lines should now be gone if you did everything correctly. Nov you have the two halves of the lake but they are not connected because we severed the connections at these two nodes. Now you need to select both halves by holding Ctr and carefully clicking on one half and the second half. Once you have both halves selected, click on the chain in the tool box. The chain joins the two halves and now you have the entire lake as one. Just double-check the tag that it does say “lake” . And that’s it. I tested it several times, so it should work. May be you can try it on two simple shapes so you figure out how and how many times to click etc. It is much simpler than it sounds. answered 25 Aug '13, 03:26 slover98 |
OK. I worked on that a bit and found the solution (iD only) The trouble arises from the distinction that iD (but not Potlatch) makes between lines and areas. While lines can be extended [A shortcut], areas don't. So the question turns to "How to turn a closed line into an area and viceversa". A) How to turn an area into a closed line: < DEPRECATED > Tricky. Just to keep with the example above, lets say you have an area defined by the nodes A,B,C,...,P,Q but you were interrupted from continuous addition. 1- Choose the area. 2- Choose the node Q. Cut [X]. Now the area has turned a "multipolygon relation" with 2 members: the line K,L,...,P,Q and the line Q,A,B,...,J,K (the fact it cuts at K or any other node is somewhat random) 3- ALERT: NASTY DRAWBACK FOLLOWS. Remove both members and the multipolygon tag. At this point, every other tag is removed, which is undesirable if you are editing already stablished areas with much info but is unimportant if you are just mapping new stuff and have a single "forest" or "farmland" tag or alike. Now you are left with 2 single lines. If you are happy with them, just join them [C]. But to solve your problem: 4- Choose the node A. Cut [X]. 5- Choose the line A,Q. Remove [Ctrl-Backspace]. 6- Choose both the line A-K and the line K-Q [Shift-Click]. Join them [C]. 7- Choose the node Q. Continue adding points [A]. Up to Z and back to A. Now you have a closed line that goes from A back to A through B,C,...,J,K,L,..,P,Q,...,Z,A but iD does not offer you to tag it as an area element such as a lake or a farm. Only roads, fences and any linear stuff. But what follows is pretty easy. < /DEPRECATED > EDIT: Just set the tag area=no, cut the closed line by the node you want and continue adding points from there. Join back the segments into a single line and set back the tag area=yes or remove it if another tag implies it. B) How to turn a closed line into an area: Easy. Choose the line and edit its tags. Add area=yes. Now iD allows you to tag it again as any usual area. Since this question is actually old, I hope this helps future people reading this post. iD feels very comfortable but some situations like this one must be simplified to actually overcome Potlatch2. answered 13 Nov '13, 21:52 Barretina area=yes seems not to solve the whole problem, as after removing the area=yes the building=yes remains but the thing is shown as a closed line but not as an area in iD (and also potlatch2)
(22 Nov '13, 21:33)
hfst
Actually you can turn an are into a line by adding an area=no tag without loosing info from other tags. Then cut [X], extend [A], join both segments again [C] and recover the area by setting area=yes. You can even remove the area tag if another tag exists that implies area=yes. It worked for me with iD for buildings and landuses.
(23 Nov '13, 23:43)
Barretina
4
OMG, don't use the tag "area=yes/no" in order to help the editor to recognize a polygon or a line. Check this wiki page about "area" http://wiki.openstreetmap.org/wiki/Area
(09 Dec '13, 10:59)
Pieren
|
(Not 100% sure this is the situation described, but if so...) In Potlatch 2, you can select an area, then with it still selected, if you shift-click, it will add points to the way and change the outline to follow the new node. Caveat that sometimes it can give some odd results, depending on the arrangement of nodes, and where you click. answered 09 Dec '13, 15:32 neuhausr |
For problems concerning iD, use github.com/systemed/iD/issues
To post there requires a githup-login...
The developers might not be reading here.