Subversion Repositories public

Compare Revisions

Ignore whitespace Rev 298 → Rev 299

/sportwatcher/trunk/src/wmswidgetbase.ui
160,6 → 160,16
<string>EPSG:31288</string>
</property>
</item>
<item>
<property name="text">
<string>EPSG:900913</string>
</property>
</item>
<item>
<property name="text">
<string>EPSG:3395</string>
</property>
</item>
</widget>
</item>
<item row="7" column="0">
506,6 → 516,16
<string>EPSG:31287</string>
</property>
</item>
<item>
<property name="text">
<string>EPSG:900913</string>
</property>
</item>
<item>
<property name="text">
<string>EPSG:3395</string>
</property>
</item>
</widget>
</item>
<item row="3" column="0">
/sportwatcher/trunk/src/sportwatcherwidget.cpp
5453,6 → 5453,16
offline = transCoords(&_llat, &_llon, &_rlat, &_rlon, 31288, width, height, square);
break;
 
case 7:
srs = QString("EPSG:900913");
offline = transCoords(&_llat, &_llon, &_rlat, &_rlon, 900913, width, height, square);
break;
 
case 8:
srs = QString("EPSG:3395");
offline = transCoords(&_llat, &_llon, &_rlat, &_rlon, 3395, width, height, square);
break;
 
default: srs = QString("EPSG:4326");
}
 
5466,7 → 5476,9
case 2: crs = QString("EPSG:4326"); break;
case 3: crs = QString("EPSG:31259"); break;
case 4: crs = QString("EPSG:31287"); break;
default: crs = QString("CRS:83"); break;
case 5: crs = QString("EPSG:900913"); break;
case 6: crs = QString("EPSG:3395"); break;
default: crs = QString("CRS:84"); break;
}
 
xml += " <CRS>" + crs + "</CRS>\n";
5517,7 → 5529,7
}
*/
// srs = QString("EPSG:4326");
xml += " <Projection>" + srs + "</Projection>\n";
xml += " <Projection>" + crs + "</Projection>\n";
xml += " <BandsCount>" + wms.readEntry("Bands", QString("3")) + "</BandsCount>\n";
item = wms.readEntry("Tile", 2);