You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2011-01-13 21:56:18

mmr
Member
Registered: 2010-07-30
Posts: 73
Website

Downloading Relation which contains additional relations

hi,

I am trying to download the Relation 67062 by using the following url

http://www.openstreetmap.org/api/0.6/re … 67062/full

The Relation 67062 contains only six additional relations. I thought by calling the url above I will receive the six relations + the used way of the six relations and the used nodes of all relations but I only receive the six relations and the used ways but not the used nodes of the ways. Am I wrong or do I have to call the API again for every relation to get all nodes?

Regards

Michael

Offline

#2 2011-01-14 12:10:07

wyo
Member
From: Thalwil
Registered: 2010-08-04
Posts: 667
Website

Re: Downloading Relation which contains additional relations

mmr wrote:

I am trying to download the Relation 67062 ...

Relations within relation aren't included even when you use /full. You have to download each on separate. See

http://wiki.openstreetmap.org/wiki/API_ … 3id.2Ffull

I think Netzwolf has a sample about downloading relations rekursive.

Wyo

Offline

#3 2011-01-14 15:37:04

sly
Member
Registered: 2008-07-15
Posts: 75

Re: Downloading Relation which contains additional relations

Offline

Board footer

Powered by FluxBB