[OSM-dev] Relations without members?

Gregory Williams gregory.williams at purplegeodesoftware.co.uk
Thu Oct 11 12:38:45 BST 2007


All,

 

I've just been taking a look at the latest planet file. There appear to
be several relations without members (or tags for that matter), for
example:

 

  <relation id="1" timestamp="2006-04-14T12:54:34.000Z"/>

  <relation id="2" timestamp="2007-05-18T17:46:48.000Z"/>

  <relation id="3" timestamp="2006-05-01T21:01:58.000Z"/>

  <relation id="4" timestamp="2006-05-01T22:26:09.000Z"/>

  <relation id="5" timestamp="2006-05-01T22:26:11.000Z"/>

 

However, if I request these from the API then they have both members and
tags:

<relation id="1" visible="true" timestamp="2006-04-14T13:54:34+01:00"
user="80n">

<member type="way" ref="3156" role=""/>

<member type="way" ref="8120147" role=""/>

<tag k="type" v="multipolygon"/>

</relation>

<relation id="2" visible="true" timestamp="2007-05-18T18:46:48+01:00"
user="Gabriel Ebner">

<member type="way" ref="3160" role=""/>

<member type="way" ref="8120148" role=""/>

<tag k="type" v="multipolygon"/>

</relation>

<relation id="3" visible="true" timestamp="2006-05-01T22:01:58+01:00"
user="80n">

<member type="way" ref="256265" role=""/>

<member type="way" ref="8120632" role=""/>

<tag k="type" v="multipolygon"/>

</relation>

<relation id="4" visible="true" timestamp="2006-05-01T23:26:09+01:00"
user="80n">

<member type="way" ref="258188" role=""/>

<member type="way" ref="8120658" role=""/>

<tag k="type" v="multipolygon"/>

</relation>

<relation id="5" visible="true" timestamp="2006-05-01T23:26:11+01:00"
user="80n">

<member type="way" ref="258197" role=""/>

<member type="way" ref="8120663" role=""/>

<tag k="type" v="multipolygon"/>

</relation>

 

I haven't looked at the rest of the planet yet, but all of the relations
I've seen so far don't have members or tags. So, it appears that the
planet dump isn't working quite correct for relations.

 

Separately, the timestamps seem a bit strange, considering that
relations were only added very recently. Were some of these relations
somehow generated from existing data?

 

Gregory

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20071011/eb448503/attachment.html>


More information about the dev mailing list