• This doesn't really work as KML needs to -- grouping folders under other folders. In this case, if I change the airport identifier so that it's identical for several placemarks, it just repeats them instead of grouping them.

    I have yet to find a single instance of someone who's using SQL to generate an n-level hierarchical KML file that works properly.