mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Be more tolerant to broken TYP files
Where possible, only skip the point/line/polygon entry, not the whole TYP file.
This commit is contained in:
parent
208e31c6de
commit
8f9af0d973
File diff suppressed because it is too large
Load Diff
@ -147,18 +147,25 @@ private:
|
|||||||
bool parseTYPFile(SubFile *file);
|
bool parseTYPFile(SubFile *file);
|
||||||
bool parsePoints(SubFile *file, SubFile::Handle &hdl,
|
bool parsePoints(SubFile *file, SubFile::Handle &hdl,
|
||||||
const Section §ion);
|
const Section §ion);
|
||||||
|
bool parsePoint(SubFile *file, SubFile::Handle &hdl,
|
||||||
|
const Section §ion, const ItemInfo &info, quint32 type);
|
||||||
bool parseLines(SubFile *file, SubFile::Handle &hdl,
|
bool parseLines(SubFile *file, SubFile::Handle &hdl,
|
||||||
const Section §ion);
|
const Section §ion);
|
||||||
|
bool parseLine(SubFile *file, SubFile::Handle &hdl,
|
||||||
|
const Section §ion, const ItemInfo &info, quint32 type);
|
||||||
bool parsePolygons(SubFile *file, SubFile::Handle &hdl,
|
bool parsePolygons(SubFile *file, SubFile::Handle &hdl,
|
||||||
const Section §ion);
|
const Section §ion);
|
||||||
|
bool parsePolygon(SubFile *file, SubFile::Handle &hdl,
|
||||||
|
const Section §ion, const ItemInfo &info, quint32 type);
|
||||||
bool parseDrawOrder(SubFile *file, SubFile::Handle &hdl,
|
bool parseDrawOrder(SubFile *file, SubFile::Handle &hdl,
|
||||||
const Section §ion);
|
const Section §ion);
|
||||||
bool itemInfo(SubFile *file, SubFile::Handle &hdl,
|
|
||||||
const Section §ion, ItemInfo &info);
|
|
||||||
void defaultPolygonStyle();
|
void defaultPolygonStyle();
|
||||||
void defaultLineStyle();
|
void defaultLineStyle();
|
||||||
void defaultPointStyle();
|
void defaultPointStyle();
|
||||||
|
|
||||||
|
static bool itemInfo(SubFile *file, SubFile::Handle &hdl,
|
||||||
|
const Section §ion, ItemInfo &info);
|
||||||
|
|
||||||
QMap<quint32, Line> _lines;
|
QMap<quint32, Line> _lines;
|
||||||
QMap<quint32, Polygon> _polygons;
|
QMap<quint32, Polygon> _polygons;
|
||||||
QMap<quint32, Point> _points;
|
QMap<quint32, Point> _points;
|
||||||
|
Loading…
Reference in New Issue
Block a user