NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

update: fixed

Hi there,

I'm trying to merge multiple relations into one polygon area.

What i did:

In JOSM:

  1. File->Download an object, choose the type "relation" and give the id, uncheck "Download referents" and check "Download members"
  2. remove all admin-centres
  3. remove all tags in the tags/members column
  4. removed all inner ways (with lasso tool/select tool)
  5. fix: copy-pasted all to a new layer (CMD-A, CMD-C, CMD-ALT-V)
  6. merged ways with (C) and preserve all ways
  7. Save as .osm
  8. Use osm2poly.pl script for generate the poly file : perl osm2poly.pl data.osm > data.poly

But then i get multiple polylines. How can i merge these relations?

Add. I based my actions on https://help.openstreetmap.org/questions/15481/converting-a-relation-into-an-osmosis-polygon-file

Regards, Ed'

asked 10 Apr '19, 10:01

eddiebouncer's gravatar image

eddiebouncer
26112
accept rate: 0%

edited 15 Apr '19, 10:47

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×622
×236
×41
×2

question asked: 10 Apr '19, 10:01

question was seen: 1,355 times

last updated: 15 Apr '19, 10:47

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum