I want to load a route relation into JOSM via the remote control. I tried to use Is there any possibility to do that? Or does anyone know how to achieve this without adding every single member id to the remote control URL? asked 20 Jun '14, 09:14 mapper999 aseerel4c26 ♦ |
There are a new parameter if you load objects: answered 14 Feb '15, 21:11 Christopher Thanks for the information. Main advantage of this solution seems to be that parent relations are loaded into the editor as well.
(17 Feb '15, 16:41)
mapper999
|
The remote control interface has a generic "import" method that allows you to specify any URL to be loaded. You could use that and specify the URL http://api.openstreetmap.org/api/0.6/relation/id/full to load the full relation. Note however that this operation can time out if you try to load very large relations, unlike JOSM's own "download relation with members" method which loads members individually. answered 20 Jun '14, 10:13 Frederik Ramm ♦ 2
Thank you Frederik for the quick answer. This worked without timeout for a relation with 400 members. For the record the full url for the remote control is http://127.0.0.1:8111/import?url=http://api.openstreetmap.org/api/0.6/relation/<id>/full
(20 Jun '14, 10:32)
mapper999
|