Opened 9 years ago

Closed 9 years ago

#5055 closed defect (fixed)

OSM Driver: Too many members referenced

Reported by: dengo Owned by: warmerdam
Priority: normal Milestone: 1.10.0
Component: default Version: unspecified
Severity: normal Keywords: OSM


I've already posted this on the mailing list:

The issue I’m having is that I sometimes get a Failure on GetNextFeature? like “Too many members referenced in relation 32572”. What consequences does this failure have?

If I just continue with the next layer in the interleaved reading scheme I get more features, but did I miss some features because of the failure?

Here is what Even said:

Interesting. This means that your OSM file has a <relation> with more than 2000 <member> in it, which is documented as something that should be avoided ( indicates 300 as the recommanded max size, and the OSM XML parser currently implements a limit of 2000). How was that OSM file generated ? Could you create a Trac ticket and share it ? Anyway, I'll try to see if the limit can be dynamically increased.

A file where this problem occurs can be created with:,48.2827,8.7268,48.3336


I've also attached the the file.

Attachments (1) (255.3 KB) - added by dengo 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by dengo

Attachment: added

comment:1 Changed 9 years ago by Even Rouault

Resolution: fixed
Status: newclosed

Fixed in trunk (r25925) and branches/1.10 (r25926)

Note: See TracTickets for help on using tickets.