OSM Driver: Too many members referenced
|Reported by:||dengo||Owned by:||warmerdam|
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 (http://wiki.openstreetmap.org/wiki/Relation 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:
I've also attached the the file.