[OSM-talk] Orphaned Relations

Ian ian.dees at gmail.com
Tue Jul 19 17:05:00 BST 2011


On Tuesday, July 19, 2011 10:42:06 AM UTC-5, Renaud MICHEL wrote:
>
> On mardi 19 juillet 2011 at 00:54, Jorge Gustavo wrote :
> > I remove "my" orphaned relations, using JOSM.
> > 1) wget 
> > 
> http://jxapi.openstreetmap.org/xapi/api/0.6/relation[boundary=administrat
> > ive][@uid=193530]  -O old_relation_boundary_jgr.osm
> > 2) JOSM -> Open -> old_relation_boundary_jgr.osm
>
> No need to download each relation manually before opening in JOSM, JOSM can 
>
> download an object by ID (type Ctrl-Shift-O, or from the File menu), and 
> recent versions of JOSM even accept a list of IDs to download them all at 
> once.
>
That query downloads all relations tagged with boundary=administrative and 
with a specific user id, not a single relation.

To retrieve a single relation use something like 
http://jxapi.openstreetmap.org/xapi/api/0.6/relation/123456
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20110719/ffe818d7/attachment.html>


More information about the talk mailing list