1 // names.hxx -- process shapefiles names
3 // Written by Curtis Olson, started February 1999.
5 // Copyright (C) 1999 Curtis L. Olson - curt@flightgear.org
7 // This program is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation; either version 2 of the License, or
10 // (at your option) any later version.
12 // This program is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
17 // You should have received a copy of the GNU General Public License
18 // along with this program; if not, write to the Free Software
19 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 // (Log is kept at end of this file)
29 // libgfc.a includes need this bit o' strangeness
33 #include <gfc/gadt_polygon.h>
40 // Posible shape file types. Note the order of these is important and
41 // defines the priority of these shapes if they should intersect. The
42 // smaller the number, the higher the priority.
45 AirportIgnoreArea = 1,
62 // return the type of the shapefile record
63 AreaType get_shapefile_type(GDBFile *dbf, int rec);
65 // return area type from text name
66 AreaType get_area_type( string area );
68 // return text form of area name
69 string get_area_name( AreaType area );
76 // Revision 1.3 1999/03/01 15:35:53 curt
77 // Generalized the routines a bit to make them more useful.
79 // Revision 1.2 1999/02/26 22:10:42 curt
80 // Updated names and priorities of area types.
82 // Revision 1.1 1999/02/25 21:30:24 curt
85 // Revision 1.1 1999/02/23 01:29:05 curt
86 // Additional progress.