<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Tue, Oct 30, 2018 at 7:54 AM Dave Swarthout <<a href="mailto:daveswarthout@gmail.com">daveswarthout@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Someone added the Arctic National Wildlife Refuge to OSM but did not add a bunch of inner areas that aren't part of the refuge. I have the inners in a shapefile that end up in a separate layer when I import them into JOSM. I would like to add those inners to the existing boundary of the refuge. How can I transfer those inners from the shape layer to my data layer?<br></div><div><br></div><div>I've tried everything I can think of, including the special paste function inside the Relation Toolbox I learned about recently, but cannot get them to transfer <i>en masse</i>. I can copy and paste them one at a time but there are a few dozen tiny parcels. I also tried pasting them in place and then using JOSM's Search function to select "type:way untagged new" and that worked but it's clumsy.<br></div><div>There must be a better way to do this.</div></div></blockquote><div><br></div><div>If you have just the one multipolygon in the shapefile, or you have just the inners in the shapefile, it's pretty easy.</div><div><br></div><div>Import the shapefile into JOSM. Yes, it comes in as a new layer.</div><div><br></div><div>Select the inner rings by whatever means.  One possibility is to delete the outer ring (just don't save the shapefile again, or save it under a new name before you start so that you can throw it away) and then 'Select All' followed by 'Select->Unselect Nodes' (Shift+U). Copy the inner ways (Ctrl+C).</div><div><br></div><div>Switch to the OSM layer and do Ctrl+Alt+V (Paste at Source Location).</div><div><br></div><div>You now have your newly pasted items selected. Bring up the relation editor on your relation, and you'll see the selected items in the right-hand column. Use the 'insert at the bottom' button in the middle bar to bring them over. into the relation.</div><div><br></div><div>Now they're in the left-hand column, and still selected.  Type 'inner' in the 'role' prompt at the bottom and hit the check mark. Now they're all inner ways.</div><div><br></div><div>If you're afraid of losing the selection, add some tag like 'dave=1' to the items before you copy-n-paste, and then the Search dialog can find them easily. (Don't forget to delete the tag when you're done!)</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="m_5070383350548688982gmail_signature" data-smartmail="gmail_signature"></div>
</blockquote></div></div>