mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Extend obstruction info
This commit is contained in:
parent
681de81b1c
commit
2234245e81
@ -112,7 +112,7 @@ bool RGNFile::readClassFields(Handle &hdl, SegmentType segmentType,
|
|||||||
point->label = QString::number(d2m(depth, units));
|
point->label = QString::number(d2m(depth, units));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (point && Style::isIsolatedDangerPoint(point->type) && rs) {
|
if (point && Style::isObstructionPoint(point->type) && rs) {
|
||||||
quint32 val, rb = rs;
|
quint32 val, rb = rs;
|
||||||
quint32 units = (flags >> 3) & 3;
|
quint32 units = (flags >> 3) & 3;
|
||||||
|
|
||||||
|
@ -121,8 +121,8 @@ public:
|
|||||||
{return (type == 0x10613);}
|
{return (type == 0x10613);}
|
||||||
static bool isDepthPoint(quint32 type)
|
static bool isDepthPoint(quint32 type)
|
||||||
{return (type == 0x10301);}
|
{return (type == 0x10301);}
|
||||||
static bool isIsolatedDangerPoint(quint32 type)
|
static bool isObstructionPoint(quint32 type)
|
||||||
{return (type == 0x10400);}
|
{return (type >= 0x10400 && type <= 0x10401);}
|
||||||
static bool isMarinePoint(quint32 type)
|
static bool isMarinePoint(quint32 type)
|
||||||
{return type >= 0x10100 && type < 0x10a00;}
|
{return type >= 0x10100 && type < 0x10a00;}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user