Is there any way to filter the data before it is downloaded into JOSM? Suppose, for example, I wanted to see all the power lines in the state of Vermont. I can't download the entire state and then use the filters in JOSM because it's too much data to work with. But if I could download only the ways with the tag asked 09 Oct '10, 16:09 OceanVortex |
Be very careful when working with filtered data in an offline editor because you will not be able to see whether other objects share some of the data you have downloaded. Here are some of the problems that might arise:
At the very least, when using filtered data, have a fully rendered OSM map displayed in the background so you are alerted to potential trouble spots. answered 09 Oct '10, 18:36 Frederik Ramm ♦ 1
Does JOSM provide any level of protection against some of these potential problems? If not, maybe something could be implemented.
(30 Dec '11, 10:02)
Kozuch
|
Take a look at XApi. It is an eXtended API that allows you to filter the downloads. You can open the url in josm by selecting File->Open Location... You can for example use http://www.informationfreeway.org/api/0.6/way[bbox=11.54,48.14,11.543,48.145][power=line]. answered 09 Oct '10, 17:54 Gnonthgol ♦ Is XApi still the recommended solution to download only a subset of data from OSM and avoid being overwhelmed, or is there a better way?
(05 Nov '19, 23:44)
Shohreh
2
@Shohreh: You can export data from Overpass Turbo into JOSM. JOSM also has methods to download from Overpass itself, as well as Sophox. As fas as I can see XAPI is no longer supported by default. I assume Overpass is the preferred method nowadays.
(06 Nov '19, 04:12)
escada
Thank you. I'll check if there are any traps/drawbacks when downloading just a subset through Overpass Turbo.
(06 Nov '19, 10:15)
Shohreh
|