Version: 0.6.0
datasource.h
1 /******************************************************************************
2  * Project: wxGIS
3  * Purpose: datasource header.
4  * Author: Dmitry Baryshnikov (aka Bishop), polimax@mail.ru
5  ******************************************************************************
6 * Copyright (C) 2009-2012 Dmitry Baryshnikov
7 *
8 * This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  ****************************************************************************/
21 
22 #pragma once
23 
24 #include "wxgis/core/core.h"
25 
26 #define NOTNODATA -9999.0
27 
33 enum wxGISEnumDatasetType
34 {
35  enumGISAny = 0,
36  enumGISFeatureDataset = 1,
37  enumGISTable = 2,
38  enumGISRasterDataset = 3,
39  enumGISContainer = 4,
40  enumGISDrawing = 5
41 };
42 
47 enum wxGISEnumVectorDatasetType
48 {
49  enumVecUnknown = 0,
50  enumVecESRIShapefile,
51  enumVecMapinfoTab,
52  enumVecMapinfoMif,
53  enumVecKML,
54  enumVecKMZ,
55  enumVecDXF,
56  enumVecPostGIS,
57  enumVecGML,
58  enumVecGeoJSON,
59  enumVecWFS,
60  enumVecMem,
61  enumVecSXF,
62  enumVecS57,
63  enumVecFileDBLayer,
64  enumVecCSV,
65  enumVecMAX
66 };
67 
72 enum wxGISEnumRasterDatasetType
73 {
74  enumRasterUnknown = 0,
75  enumRasterBmp,
76  enumRasterTiff,
77  enumRasterTil,
78  enumRasterImg,
79  enumRasterJpeg,
80  enumRasterPng,
81  enumRasterGif,
82  enumRasterSAGA,
83  enumRasterVRT,
84  enumRasterWMS,
85  enumRasterWMSTMS,
86  enumRasterPostGIS,
87  enumRasterFileDBLayer,
88  enumRasterMAX
89 };
90 
95 enum wxGISEnumTableType
96 {
97  enumTableUnknown = 0,
98  enumTableDBF,
99  enumTablePostgres,
100  enumTableQueryResult,
101  enumTableMapinfoTab,
102  enumTableMapinfoMif,
103  enumTableCSV,
104  enumTableFileDBLayer,
105  enumTableODS,
106  enumTableXLS,
107  enumTableXLSX,
108  enumTableMAX
109 };
110 
115 enum wxGISEnumPrjFileType
116 {
117  enumESRIPrjFile = 1,
118  enumSPRfile = 2,
119  enumQPJfile = 3
120 };
121 
126 enum wxGISEnumContainerType
127 {
128  enumContUnknown = 0,
129  enumContFolder,
130  enumContGDBFolder,
131  enumContDataset,
132  enumContGDB,
133  enumContRemoteDBConnection,
134  enumContWebServiceConnection,
135  enumContNGWResourceGroup
136 };
137 
143 enum wxGISEnumWldExtType
144 {
145  enumGISWldExt_FirstLastW = 1,
146  enumGISWldExt_Wld = 2,
147  enumGISWldExt_ExtPlusW = 3,
148  enumGISWldExt_ExtPlusWX = 4
149 };
150 
151 
152