59 WKBPoint25D = 0x80000001,
76 static const char *qgisVectorGeometryType[];
79 static const char *qgisFeatureTypes[];
90 DegreesMinutesSeconds = 4,
91 DegreesDecimalMinutes = 5,
101 ProviderExtentCalcEvent = ( QEvent::User + 1 ),
104 ProviderCountCalcEvent
129 inline bool doubleNear(
double a,
double b,
double epsilon = 4 * DBL_EPSILON )
131 const double diff = a - b;
132 return diff > -epsilon && diff <= epsilon;
137 "GEOGCS[\"WGS 84\", "
138 " DATUM[\"WGS_1984\", "
139 " SPHEROID[\"WGS 84\",6378137,298.257223563, "
140 " AUTHORITY[\"EPSG\",7030]], "
141 " TOWGS84[0,0,0,0,0,0,0], "
142 " AUTHORITY[\"EPSG\",6326]], "
143 " PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",8901]], "
144 " UNIT[\"DMSH\",0.0174532925199433,AUTHORITY[\"EPSG\",9108]], "
145 " AXIS[\"Lat\",NORTH], "
146 " AXIS[\"Long\",EAST], "
147 " AUTHORITY[\"EPSG\",4326]]";
149 const QString
GEOPROJ4 =
"+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs";
181 # define QGISEXTERN extern "C" __declspec( dllexport )
184 # pragma warning(disable:4190)
187 # define QGISEXTERN extern "C"