logo separator

[mkgmap-dev] Strange error in mkgmap

From Andrzej Popowski popej at poczta.onet.pl on Wed Feb 14 09:32:48 GMT 2018

Hi Steve,

what about SRT subfile? I think SRT is only a part of an MDR (or  a part 
of a tile). It is associated to MDR by its name. See code in 
GmapsuppBuilder.java:

if (createIndex) {
  MdrBuilder mdrBuilder = addMdrFile(familyId, info.getSort());
  mdrBuilder.onMapEnd(info);
}
addSrtFile(familyId, info);

Maybe it should be like that:
if (createIndex) {
  MdrBuilder mdrBuilder = addMdrFile(familyId, info.getSort());
  addSrtFile(familyId, info);
  mdrBuilder.onMapEnd(info);
}

-- 
Best regards,
Andrzej


More information about the mkgmap-dev mailing list