OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2011-10-12 12:35:41

How can I save the filtered Map and the relationed data in JOSM

I download a part of map and edit it with the tool filter in JOSM. Now I want to save the filtered map and the relationed data.How can I do it? I tried several times and always got the whole original data.

Offline

#2 2011-10-12 17:04:39

Re: How can I save the filtered Map and the relationed data in JOSM

Without having tried that on my own in JOSM:

Filtering elements has only effects on their visibility.

If you want to get rid of them permanently, you have to delete in an extra step ... then save your raw OSM data to harddisk.

But do NOT upload the data to the central OSM server if you only deleted elements for your very own purposes.

Offline

#3 2011-10-12 18:30:07

Vclaw
Senior Member
From: Alba
Registered: 2009-02-25
Posts: 505
Website

Re: How can I save the filtered Map and the relationed data in JOSM

Zoom out, then use the selection tool to draw a box, and select everything in that area (note this will not select filtered objects).
Then use Edit - > Copy, then create a new layer, then Paste the objects into that layer. You can then save that layer as an .osm file (though as Stephan says, you should not upload this layer to openstreetmap.org).

Offline

#4 2011-10-12 18:51:43

PHerison
Super Senior Member
From: Oberursel, Germany
Registered: 2008-04-04
Posts: 1,156

Re: How can I save the filtered Map and the relationed data in JOSM

Vclaw's workflow will also eliminate the "not-copied"-elements from the dataset. In stephan75's workflow the deleted elements will stay in the dataset, they will only get a flag like "visible=false", which in OSM-Terms means "deleted".

To not accidentialy mess up live OSM-Data, you could also use offline-tools like Osmfilter to remove content from your dataset.

Offline

#5 2011-12-10 00:36:45

Re: How can I save the filtered Map and the relationed data in JOSM

Or you could use edit/purge instead of delete. Then they will only go away in your local copy.

Jo

Offline

Board footer

Powered by FluxBB 1.4.8
Hosting sponsored by Oxilion
Report abuse to osm at na1400 dot info