Question about activation BY NOTAM

11 views
Skip to first unread message

René

unread,
May 29, 2012, 4:40:10 PM5/29/12
to oaconvert
If an Airspace is activated by NOTAM then their is under * Map list:
*
* MAP WEEK SEE NOTAM
But in the code Airspace.cpp I see

/**
* Return true if the activity of this airspace depends on NOTAMs.
This
* will be the case if its name contains the case sensitive
* string 'NOTAM' in its AN-record.
*/
bool Airspace::isByNOTAM() const
{
return StringUtils::hasSubstring(name, "NOTAM");
}

Here you refere to the AN record not to the "* Map list:"
I am confused about that.
Regards
René

Bart Vandewoestyne

unread,
May 30, 2012, 2:58:05 AM5/30/12
to oaco...@googlegroups.com
Note that we cannot add NOTAM-stuff into the individual OpenAir files
because for a specific map, we simply don't know whether that map needs
the 'By NOTAM'-version of this airspace or not.

The utils/extract_maps.sh script is where the magic happens (lines
58-62): this script loops over all existing map names (WEEK, WEEKEND,
...). For each map name, it loops over all individual OpenAir files
that should be in that map. If it sees a 'SEE NOTAM' line for that map,
it will add the string 'By NOTAM' to the AN-record of that airspace.

I thought this was a clean solution, but I'm open for discussion.

Regards,
Bart
Reply all
Reply to author
Forward
0 new messages