88 if ((QString)
m_mappingGrp[
"RingLongitudeDirection"] ==
"Clockwise") {
91 else if ((QString)
m_mappingGrp[
"RingLongitudeDirection"] ==
"CounterClockwise") {
95 QString msg =
"Projection failed. Invalid value for keyword "
96 "[RingLongitudeDirection] must be "
97 "[Clockwise or CounterClockwise]";
102 if ((QString)
m_mappingGrp[
"RingLongitudeDomain"] ==
"360") {
105 else if ((QString)
m_mappingGrp[
"RingLongitudeDomain"] ==
"180") {
109 QString msg =
"Projection failed. Invalid value for keyword "
110 "[RingLongitudeDomain] must be [180 or 360]";
127 IString msg =
"Projection failed. "
134 IString msg =
"Projection failed. "
141 IString msg =
"Projection failed. "
142 "[MinimumRingRadius,MaximumRingRadius] of ["
145 +
"properly ordered";
150 IString msg =
"Projection failed. "
151 "[MinimumRingLongitude,MaximumRingLongitude] of ["
154 +
"properly ordered";
178 IString msg =
"Projection failed. Invalid label group [Mapping]";
197 if (!Projection::operator==(proj))
return false;
256 if (ringLongitude ==
Null) {
258 "Unable to convert to Clockwise. The given ring longitude value ["
259 +
IString(ringLongitude) +
"] is invalid.",
262 double myRingLongitude = ringLongitude;
264 myRingLongitude *= -1;
269 else if (domain == 180) {
273 IString msg =
"Unable to convert ring longitude. Domain [" +
IString(domain)
274 +
"] is not 180 or 360.";
278 return myRingLongitude;
296 if (ringLongitude ==
Null) {
298 "Unable to convert to CounterClockwise. The given ring longitude value ["
299 +
IString(ringLongitude) +
"] is invalid.",
302 double myRingLongitude = ringLongitude;
304 myRingLongitude *= -1;
309 else if (domain == 180) {
313 IString msg =
"Unable to convert ring longitude. Domain [" +
IString(domain)
314 +
"] is not 180 or 360.";
318 return myRingLongitude;
331 return "CounterClockwise";
368 if (ringLongitude ==
Null) {
370 "Unable to convert to 180 degree domain. The given ring longitude value ["
371 +
IString(ringLongitude) +
"] is invalid.",
386 if (ringLongitude ==
Null) {
388 "Unable to convert to 360 degree domain. The given ring longitude value ["
389 +
IString(ringLongitude) +
"] is invalid.",
392 double result = ringLongitude;
394 if ( (ringLongitude < 0.0 || ringLongitude > 360.0) &&
395 !qFuzzyCompare(ringLongitude, 0.0) && !qFuzzyCompare(ringLongitude, 360.0)) {
472 if (ringRadius ==
Null || ringLongitude ==
Null) {
562 if (ringRadius ==
Null || ringLongitude ==
Null) {
608 return ringLongitude;
672 double &minY,
double &maxY) {
725 if (ringRadius ==
Null || ringLongitude ==
Null) {