1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +01:00

Also read subsequent spatial indexes on the same level

This commit is contained in:
Martin Tůma 2021-04-24 05:17:12 +02:00
parent 5adb29a790
commit d33bcd1e55

View File

@ -622,6 +622,10 @@ static void readPOIDatabase(DataStream &stream, QVector<Waypoint> &waypoints,
if (rh.flags & 0x8) {
while (stream.status() == QDataStream::Ok && ds < rh.size) {
switch(stream.nextHeaderType()) {
case 8:
ds += readSpatialIndex(stream, waypoints, polygons,
fileName, imgId);
break;
case 5: // symbol
case 7: // category
default: