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

umap take a line (border) from another map

1

hello i like to take a border (district line) from another map in my own map.

https://www.openstreetmap.org/relation/1990598#map=13/48.2261/16.2529

this orange borders i need in my map - how to do that?

thank you , best regards, winionline

asked 24 Feb '21, 21:48

winfried's gravatar image

winfried
26112
accept rate: 0%

edited 26 Feb '21, 10:47

SK53's gravatar image

SK53 ♦
28.1k48268433


One Answer:

2

Hi,

not sure this is the fastest way but you can go to Overpass Turbo and write a query:

[out:json][timeout:25];
rel(1990598);out geom;

Then run it and when you see the results click on "data" on the top right and copy the whole data to a text file with ending .osm. In umap go to the import function and import that file into the desired layer.

This would be a one-time load. If you want to have the data always reflect the current version in OSM you need to create a linked layer. You can read on that on the OSM forum thread where I got this solution from. I assume you can read German.

answered 25 Feb '21, 09:34

TZorn's gravatar image

TZorn
12.3k764225
accept rate: 15%

2

workes very well!

you put me on the track. finaly i took this tutorial:

https://olea.org/diario/2020/03/31/create_border_maps.html

and as i found the upload button

https://wiki.openstreetmap.org/wiki/UMap/Guide/Import_data_files

all worked well.

thank you, winionline

(25 Feb '21, 15:50) winfried

Source code available on GitHub .