1 : /******************************************************************************
2 : * $Id: ogrregisterall.cpp 20003 2010-07-10 19:46:28Z rouault $
3 : *
4 : * Project: OpenGIS Simple Features Reference Implementation
5 : * Purpose: Function to register all known OGR drivers.
6 : * Author: Frank Warmerdam, warmerdam@pobox.com
7 : *
8 : ******************************************************************************
9 : * Copyright (c) 1999, Les Technologies SoftMap Inc.
10 : *
11 : * Permission is hereby granted, free of charge, to any person obtaining a
12 : * copy of this software and associated documentation files (the "Software"),
13 : * to deal in the Software without restriction, including without limitation
14 : * the rights to use, copy, modify, merge, publish, distribute, sublicense,
15 : * and/or sell copies of the Software, and to permit persons to whom the
16 : * Software is furnished to do so, subject to the following conditions:
17 : *
18 : * The above copyright notice and this permission notice shall be included
19 : * in all copies or substantial portions of the Software.
20 : *
21 : * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
22 : * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23 : * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
24 : * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25 : * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
26 : * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
27 : * DEALINGS IN THE SOFTWARE.
28 : ****************************************************************************/
29 :
30 : #include "ogrsf_frmts.h"
31 :
32 : CPL_CVSID("$Id: ogrregisterall.cpp 20003 2010-07-10 19:46:28Z rouault $");
33 :
34 : /************************************************************************/
35 : /* OGRRegisterAll() */
36 : /************************************************************************/
37 :
38 80 : void OGRRegisterAll()
39 : {
40 80 : OGRSFDriverRegistrar::GetRegistrar()->AutoLoadDrivers();
41 :
42 : #ifdef SHAPE_ENABLED
43 80 : RegisterOGRShape();
44 : #endif
45 : #ifdef TAB_ENABLED
46 80 : RegisterOGRTAB();
47 : #endif
48 : #ifdef NTF_ENABLED
49 80 : RegisterOGRNTF();
50 : #endif
51 : #ifdef SDTS_ENABLED
52 80 : RegisterOGRSDTS();
53 : #endif
54 : #ifdef TIGER_ENABLED
55 80 : RegisterOGRTiger();
56 : #endif
57 : #ifdef S57_ENABLED
58 80 : RegisterOGRS57();
59 : #endif
60 : #ifdef DGN_ENABLED
61 80 : RegisterOGRDGN();
62 : #endif
63 : #ifdef VRT_ENABLED
64 80 : RegisterOGRVRT();
65 : #endif
66 : #ifdef REC_ENABLED
67 80 : RegisterOGRREC();
68 : #endif
69 : #ifdef MEM_ENABLED
70 80 : RegisterOGRMEM();
71 : #endif
72 : #ifdef BNA_ENABLED
73 80 : RegisterOGRBNA();
74 : #endif
75 : #ifdef CSV_ENABLED
76 80 : RegisterOGRCSV();
77 : #endif
78 : #ifdef NAS_ENABLED
79 80 : RegisterOGRNAS();
80 : #endif
81 : #ifdef GML_ENABLED
82 80 : RegisterOGRGML();
83 : #endif
84 : #ifdef GPX_ENABLED
85 80 : RegisterOGRGPX();
86 : #endif
87 : #ifdef LIBKML_ENABLED
88 80 : RegisterOGRLIBKML();
89 : #endif
90 : #ifdef KML_ENABLED
91 80 : RegisterOGRKML();
92 : #endif
93 : #ifdef GEOJSON_ENABLED
94 80 : RegisterOGRGeoJSON();
95 : #endif
96 : #ifdef ILI_ENABLED
97 80 : RegisterOGRILI1();
98 80 : RegisterOGRILI2();
99 : #endif
100 : #ifdef GMT_ENABLED
101 80 : RegisterOGRGMT();
102 : #endif
103 : #ifdef SQLITE_ENABLED
104 80 : RegisterOGRSQLite();
105 : #endif
106 : #ifdef DODS_ENABLED
107 : RegisterOGRDODS();
108 : #endif
109 : #ifdef ODBC_ENABLED
110 80 : RegisterOGRODBC();
111 : #endif
112 : #ifdef PGEO_ENABLED
113 80 : RegisterOGRPGeo();
114 : #endif
115 : #ifdef OGDI_ENABLED
116 80 : RegisterOGROGDI();
117 : #endif
118 : #ifdef PG_ENABLED
119 80 : RegisterOGRPG();
120 : #endif
121 : #ifdef MYSQL_ENABLED
122 80 : RegisterOGRMySQL();
123 : #endif
124 : #ifdef OCI_ENABLED
125 : RegisterOGROCI();
126 : #endif
127 : #ifdef INGRES_ENABLED
128 : RegisterOGRIngres();
129 : #endif
130 : #ifdef PCIDSK_ENABLED
131 80 : RegisterOGRPCIDSK();
132 : #endif
133 : #ifdef SDE_ENABLED
134 : RegisterOGRSDE();
135 : #endif
136 : #ifdef XPLANE_ENABLED
137 80 : RegisterOGRXPlane();
138 : #endif
139 : #ifdef AVCBIN_ENABLED
140 80 : RegisterOGRAVCBin();
141 80 : RegisterOGRAVCE00();
142 : #endif
143 : #ifdef DWGDIRECT_ENABLED
144 : RegisterOGRDXFDWG();
145 : #endif
146 : #ifdef DXF_ENABLED
147 80 : RegisterOGRDXF();
148 : #endif
149 : #ifdef GRASS_ENABLED
150 : RegisterOGRGRASS();
151 : #endif
152 : #ifdef FME_ENABLED
153 : RegisterOGRFME();
154 : #endif
155 : #ifdef IDB_ENABLED
156 : RegisterOGRIDB();
157 : #endif
158 : #ifdef GEOCONCEPT_ENABLED
159 80 : RegisterOGRGeoconcept();
160 : #endif
161 : #ifdef GEORSS_ENABLED
162 80 : RegisterOGRGeoRSS();
163 : #endif
164 : #ifdef GTM_ENABLED
165 80 : RegisterOGRGTM();
166 : #endif
167 : #ifdef VFK_ENABLED
168 80 : RegisterOGRVFK();
169 : #endif
170 : #ifdef PGDUMP_ENABLED
171 80 : RegisterOGRPGDump();
172 : #endif
173 : #ifdef GPSBABEL_ENABLED
174 80 : RegisterOGRGPSBabel();
175 : #endif
176 : #ifdef SUA_ENABLED
177 80 : RegisterOGRSUA();
178 : #endif
179 : #ifdef OPENAIR_ENABLED
180 80 : RegisterOGROpenAir();
181 : #endif
182 : #ifdef PDS_ENABLED
183 80 : RegisterOGRPDS();
184 : #endif
185 80 : } /* OGRRegisterAll */
186 :
|