2 * SHPParser - parse ESRI ShapeFiles containing PolyLines */
4 // Written by James Turner, started 2013.
6 // Copyright (C) 2013 James Turner <zakalawe@mac.com>
8 // This program is free software; you can redistribute it and/or
9 // modify it under the terms of the GNU General Public License as
10 // published by the Free Software Foundation; either version 2 of the
11 // License, or (at your option) any later version.
13 // This program is distributed in the hope that it will be useful, but
14 // WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 // General Public License for more details.
18 // You should have received a copy of the GNU General Public License
19 // along with this program; if not, write to the Free Software
20 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 #ifndef FG_SHP_PARSER_HXX
23 #define FG_SHP_PARSER_HXX
25 #include <Navaids/PolyLine.hxx>
37 * Parse a shape file containing PolyLine data.
39 * Throws sg_exceptions if parsing problems occur.
41 static void parsePolyLines(const SGPath&, PolyLine::Type aTy, PolyLineList& aResult, bool aClosed);
44 } // of namespace flightgear
46 #endif // of FG_SHP_PARSER_HXX