From 5cbdd9c18c457ddc48e5c917fc8dc7af108eb4e9 Mon Sep 17 00:00:00 2001 From: Magnus Homann Date: Sun, 26 Aug 2012 19:35:32 +0200 Subject: [PATCH 01/12] Not working, but soon --- src/app/qgsmeasuredialog.cpp | 215 ++++++++++++++++------------------- src/app/qgsmeasuredialog.h | 24 +++- 2 files changed, 121 insertions(+), 118 deletions(-) diff --git a/src/app/qgsmeasuredialog.cpp b/src/app/qgsmeasuredialog.cpp index d6c7adbff7b..59d935ccf20 100644 --- a/src/app/qgsmeasuredialog.cpp +++ b/src/app/qgsmeasuredialog.cpp @@ -48,32 +48,73 @@ QgsMeasureDialog::QgsMeasureDialog( QgsMeasureTool* tool, Qt::WFlags f ) item->setTextAlignment( 0, Qt::AlignRight ); mTable->addTopLevelItem( item ); - //mTable->setHeaderLabels(QStringList() << tr("Segments (in meters)") << tr("Total") << tr("Azimuth") ); - - QSettings settings; - int s = settings.value( "/qgis/measure/projectionEnabled", "2" ).toInt(); - if ( s == 2 ) - mcbProjectionEnabled->setCheckState( Qt::Checked ); - else - mcbProjectionEnabled->setCheckState( Qt::Unchecked ); - // Update when the ellipsoidal button has changed state. connect( mcbProjectionEnabled, SIGNAL( stateChanged( int ) ), - this, SLOT( changeProjectionEnabledState() ) ); + this, SLOT( ellipsoidalButton() ) ); // Update whenever the canvas has refreshed. Maybe more often than needed, - // but at least every time any settings changes + // but at least every time any canvas related settings changes connect( mTool->canvas(), SIGNAL( mapCanvasRefreshed() ), - this, SLOT( changeProjectionEnabledState() ) ); - // Update when project wide transformation has changed - connect( mTool->canvas()->mapRenderer(), SIGNAL( hasCrsTransformEnabled( bool ) ), - this, SLOT( changeProjectionEnabledState() ) ); - // Update when project CRS has changed - connect( mTool->canvas()->mapRenderer(), SIGNAL( destinationSrsChanged() ), - this, SLOT( changeProjectionEnabledState() ) ); + this, SLOT( updateSettings() ) ); +// // Update when project wide transformation has changed +// connect( mTool->canvas()->mapRenderer(), SIGNAL( hasCrsTransformEnabled( bool ) ), +// this, SLOT( changeProjectionEnabledState() ) ); +// // Update when project CRS has changed +// connect( mTool->canvas()->mapRenderer(), SIGNAL( destinationSrsChanged() ), +// this, SLOT( changeProjectionEnabledState() ) ); - updateUi(); + updateSettings(); } +void QgsMeasureDialog::ellipsoidalButton() +{ + QSettings settings; + + if ( mcbProjectionEnabled->isChecked() ) + { + settings.setValue( "/qgis/measure/projectionEnabled", 2 ); + } + else + { + settings.setValue( "/qgis/measure/projectionEnabled", 0 ); + } + updateSettings(); +} + +void QgsMeasureDialog::updateSettings() +{ + QSettings settings; + + int s = settings.value( "/qgis/measure/projectionEnabled", "2" ).toInt(); + if ( s == 2 ) + { + mEllipsoidal = true; + } + else + { + mEllipsoidal = false; + } + + mDecimalPlaces = settings.value( "/qgis/measure/decimalplaces", "3" ).toInt(); + mCanvasUnits = mTool->canvas()->mapUnits(); + mDisplayUnits = QGis::fromLiteral( settings.value( "/qgis/measure/displayunits", QGis::toLiteral( QGis::Meters ) ).toString() ); + + QgsDebugMsg( "****************" ); + QgsDebugMsg( QString( "Ellipsoidal: %1" ).arg( mEllipsoidal ? "true" : "false" ) ); + QgsDebugMsg( QString( "Decimalpla.: %1" ).arg( mDecimalPlaces ) ); + QgsDebugMsg( QString( "Display u. : %1" ).arg( QGis::toLiteral( mDisplayUnits ) ) ); + QgsDebugMsg( QString( "Canvas u. : %1" ).arg( QGis::toLiteral( mCanvasUnits ) ) ); + + configureDistanceArea(); + + // clear interface + mTable->clear(); + QTreeWidgetItem* item = new QTreeWidgetItem( QStringList( QString::number( 0, 'f', 1 ) ) ); + item->setTextAlignment( 0, Qt::AlignRight ); + mTable->addTopLevelItem( item ); + mTotal = 0; + updateUi(); + +} void QgsMeasureDialog::restart() { @@ -86,7 +127,6 @@ void QgsMeasureDialog::restart() item->setTextAlignment( 0, Qt::AlignRight ); mTable->addTopLevelItem( item ); mTotal = 0.; - updateUi(); } @@ -105,9 +145,6 @@ void QgsMeasureDialog::mousePress( QgsPoint &point ) void QgsMeasureDialog::mouseMove( QgsPoint &point ) { - QSettings settings; - int decimalPlaces = settings.value( "/qgis/measure/decimalplaces", "3" ).toInt(); - // show current distance/area while moving the point // by creating a temporary copy of point array // and adding moving point at the end @@ -116,19 +153,19 @@ void QgsMeasureDialog::mouseMove( QgsPoint &point ) QList tmpPoints = mTool->points(); tmpPoints.append( point ); double area = mDa.measurePolygon( tmpPoints ); - editTotal->setText( formatArea( area, decimalPlaces ) ); + editTotal->setText( formatArea( area ) ); } else if ( !mMeasureArea && mTool->points().size() > 0 ) { QgsPoint p1( mTool->points().last() ), p2( point ); double d = mDa.measureLine( p1, p2 ); - editTotal->setText( formatDistance( mTotal + d, decimalPlaces ) ); + editTotal->setText( formatDistance( mTotal + d ) ); QGis::UnitType myDisplayUnits; // Ignore units convertMeasurement( d, myDisplayUnits, false ); QTreeWidgetItem *item = mTable->topLevelItem( mTable->topLevelItemCount() - 1 ); - item->setText( 0, QLocale::system().toString( d, 'f', decimalPlaces ) ); + item->setText( 0, QLocale::system().toString( d, 'f', mDecimalPlaces ) ); QgsDebugMsg( QString( "Final result is %1" ).arg( item->text( 0 ) ) ); } } @@ -137,14 +174,11 @@ void QgsMeasureDialog::addPoint( QgsPoint &p ) { Q_UNUSED( p ); - QSettings settings; - int decimalPlaces = settings.value( "/qgis/measure/decimalplaces", "3" ).toInt(); - int numPoints = mTool->points().size(); if ( mMeasureArea && numPoints > 2 ) { double area = mDa.measurePolygon( mTool->points() ); - editTotal->setText( formatArea( area, decimalPlaces ) ); + editTotal->setText( formatArea( area ) ); } else if ( !mMeasureArea && numPoints > 1 ) { @@ -155,16 +189,16 @@ void QgsMeasureDialog::addPoint( QgsPoint &p ) double d = mDa.measureLine( p1, p2 ); mTotal += d; - editTotal->setText( formatDistance( mTotal, decimalPlaces ) ); + editTotal->setText( formatDistance( mTotal ) ); QGis::UnitType myDisplayUnits; // Ignore units convertMeasurement( d, myDisplayUnits, false ); QTreeWidgetItem *item = mTable->topLevelItem( mTable->topLevelItemCount() - 1 ); - item->setText( 0, QLocale::system().toString( d, 'f', decimalPlaces ) ); + item->setText( 0, QLocale::system().toString( d, 'f' ) ); - item = new QTreeWidgetItem( QStringList( QLocale::system().toString( 0.0, 'f', decimalPlaces ) ) ); + item = new QTreeWidgetItem( QStringList( QLocale::system().toString( 0.0, 'f' ) ) ); item->setTextAlignment( 0, Qt::AlignRight ); mTable->addTopLevelItem( item ); mTable->scrollToItem( item ); @@ -204,44 +238,38 @@ void QgsMeasureDialog::saveWindowLocation() settings.setValue( key, height() ); } -QString QgsMeasureDialog::formatDistance( double distance, int decimalPlaces ) +QString QgsMeasureDialog::formatDistance( double distance ) { QSettings settings; bool baseUnit = settings.value( "/qgis/measure/keepbaseunit", false ).toBool(); - QGis::UnitType myDisplayUnits; - convertMeasurement( distance, myDisplayUnits, false ); - return QgsDistanceArea::textUnit( distance, decimalPlaces, myDisplayUnits, false, baseUnit ); + QGis::UnitType newDisplayUnits; + convertMeasurement( distance, newDisplayUnits, false ); + return QgsDistanceArea::textUnit( distance, mDecimalPlaces, newDisplayUnits, false, baseUnit ); } -QString QgsMeasureDialog::formatArea( double area, int decimalPlaces ) +QString QgsMeasureDialog::formatArea( double area ) { QSettings settings; bool baseUnit = settings.value( "/qgis/measure/keepbaseunit", false ).toBool(); - QGis::UnitType myDisplayUnits; - convertMeasurement( area, myDisplayUnits, true ); - return QgsDistanceArea::textUnit( area, decimalPlaces, myDisplayUnits, true, baseUnit ); + QGis::UnitType newDisplayUnits; + convertMeasurement( area, newDisplayUnits, true ); + return QgsDistanceArea::textUnit( area, mDecimalPlaces, newDisplayUnits, true, baseUnit ); } void QgsMeasureDialog::updateUi() { - // Only enable checkbox when project wide transformation is on + // If project wide transformation is off, disbale checkbox and unmark it. + // When on, enable checbox and mark with saved value. mcbProjectionEnabled->setEnabled( mTool->canvas()->hasCrsTransformEnabled() ); - configureDistanceArea(); - - QSettings settings; - // Set tooltip to indicate how we calculate measurments - QGis::UnitType mapUnits = mTool->canvas()->mapUnits(); - QGis::UnitType displayUnits = QGis::fromLiteral( settings.value( "/qgis/measure/displayunits", QGis::toLiteral( QGis::Meters ) ).toString() ); - QString toolTip = tr( "The calculations are based on:" ); if ( ! mTool->canvas()->hasCrsTransformEnabled() ) { toolTip += "
* " + tr( "Project CRS transformation is turned off." ) + " "; - toolTip += tr( "Canvas units setting is taken from project properties setting (%1)." ).arg( QGis::tr( mapUnits ) ); + toolTip += tr( "Canvas units setting is taken from project properties setting (%1)." ).arg( QGis::tr( mCanvasUnits ) ); toolTip += "
* " + tr( "Ellipsoidal calculation is not possible, as project CRS is undefined." ); } else @@ -254,74 +282,19 @@ void QgsMeasureDialog::updateUi() else { toolTip += "
* " + tr( "Project CRS transformation is turned on but ellipsoidal calculation is not selected." ); - toolTip += "
* " + tr( "The canvas units setting is taken from the project CRS (%1)." ).arg( QGis::tr( mapUnits ) ); + toolTip += "
* " + tr( "The canvas units setting is taken from the project CRS (%1)." ).arg( QGis::tr( mCanvasUnits ) ); } } - if (( mapUnits == QGis::Meters && displayUnits == QGis::Feet ) || ( mapUnits == QGis::Feet && displayUnits == QGis::Meters ) ) + if (( mCanvasUnits == QGis::Meters && mDisplayUnits == QGis::Feet ) || ( mCanvasUnits == QGis::Feet && mDisplayUnits == QGis::Meters ) ) { - toolTip += "
* " + tr( "Finally, the value is converted from %2 to %3." ).arg( QGis::tr( mapUnits ) ).arg( QGis::tr( displayUnits ) ); + toolTip += "
* " + tr( "Finally, the value is converted from %2 to %3." ).arg( QGis::tr( mCanvasUnits ) ).arg( QGis::tr( mDisplayUnits ) ); } editTotal->setToolTip( toolTip ); mTable->setToolTip( toolTip ); - int decimalPlaces = settings.value( "/qgis/measure/decimalplaces", "3" ).toInt(); - - mTable->setHeaderLabels( QStringList( tr( "Segments [%1]" ).arg( QGis::tr( displayUnits ) ) ) ); - - if ( mMeasureArea ) - { - mTable->hide(); - editTotal->setText( formatArea( 0, decimalPlaces ) ); - } - else - { - mTable->show(); - editTotal->setText( formatDistance( 0, decimalPlaces ) ); - } -} - -void QgsMeasureDialog::convertMeasurement( double &measure, QGis::UnitType &u, bool isArea ) -{ - // Helper for converting between meters and feet - // The parameter &u is out only... - - // Get the canvas units - QGis::UnitType myUnits = mTool->canvas()->mapUnits(); - - // Get the units for display - QSettings settings; - QGis::UnitType displayUnits = QGis::fromLiteral( settings.value( "/qgis/measure/displayunits", QGis::toLiteral( QGis::Meters ) ).toString() ); - - QgsDebugMsg( QString( "Preferred display units are %1" ).arg( QGis::toLiteral( displayUnits ) ) ); - - mDa.convertMeasurement( measure, myUnits, displayUnits, isArea ); - u = myUnits; -} - -void QgsMeasureDialog::changeProjectionEnabledState() -{ - // store value - QSettings settings; - if ( mcbProjectionEnabled->isChecked() ) - { - settings.setValue( "/qgis/measure/projectionEnabled", 2 ); - } - else - { - settings.setValue( "/qgis/measure/projectionEnabled", 0 ); - } - - // clear interface - mTable->clear(); - QTreeWidgetItem* item = new QTreeWidgetItem( QStringList( QString::number( 0, 'f', 1 ) ) ); - item->setTextAlignment( 0, Qt::AlignRight ); - mTable->addTopLevelItem( item ); - mTotal = 0; - updateUi(); - - int decimalPlaces = settings.value( "/qgis/measure/decimalplaces", "3" ).toInt(); + mTable->setHeaderLabels( QStringList( tr( "Segments [%1]" ).arg( QGis::tr( mDisplayUnits ) ) ) ); if ( mMeasureArea ) { @@ -330,7 +303,7 @@ void QgsMeasureDialog::changeProjectionEnabledState() { area = mDa.measurePolygon( mTool->points() ); } - editTotal->setText( formatArea( area, decimalPlaces ) ); + editTotal->setText( formatArea( area ) ); } else { @@ -346,14 +319,14 @@ void QgsMeasureDialog::changeProjectionEnabledState() { double d = mDa.measureLine( p1, p2 ); mTotal += d; - editTotal->setText( formatDistance( mTotal, decimalPlaces ) ); + editTotal->setText( formatDistance( mTotal ) ); QGis::UnitType myDisplayUnits; convertMeasurement( d, myDisplayUnits, false ); QTreeWidgetItem *item = mTable->topLevelItem( mTable->topLevelItemCount() - 1 ); - item->setText( 0, QLocale::system().toString( d, 'f', decimalPlaces ) ); - item = new QTreeWidgetItem( QStringList( QLocale::system().toString( 0.0, 'f', decimalPlaces ) ) ); + item->setText( 0, QLocale::system().toString( d, 'f' ) ); + item = new QTreeWidgetItem( QStringList( QLocale::system().toString( 0.0, 'f', mDecimalPlaces ) ) ); item->setTextAlignment( 0, Qt::AlignRight ); mTable->addTopLevelItem( item ); mTable->scrollToItem( item ); @@ -364,6 +337,20 @@ void QgsMeasureDialog::changeProjectionEnabledState() } } +void QgsMeasureDialog::convertMeasurement( double &measure, QGis::UnitType &u, bool isArea ) +{ + // Helper for converting between meters and feet + // The parameter &u is out only... + + // Get the canvas units + QGis::UnitType myUnits = mCanvasUnits; + + QgsDebugMsg( QString( "Preferred display units are %1" ).arg( QGis::toLiteral( mDisplayUnits ) ) ); + + mDa.convertMeasurement( measure, myUnits, mDisplayUnits, isArea ); + u = myUnits; +} + void QgsMeasureDialog::configureDistanceArea() { QSettings settings; @@ -371,5 +358,5 @@ void QgsMeasureDialog::configureDistanceArea() mDa.setSourceCrs( mTool->canvas()->mapRenderer()->destinationCrs().srsid() ); mDa.setEllipsoid( ellipsoidId ); // Only use ellipsoidal calculation when project wide transformation is enabled. - mDa.setEllipsoidalMode( mcbProjectionEnabled->isChecked() && mTool->canvas()->hasCrsTransformEnabled() ); + mDa.setEllipsoidalMode( mEllipsoidal && mTool->canvas()->hasCrsTransformEnabled() ); } diff --git a/src/app/qgsmeasuredialog.h b/src/app/qgsmeasuredialog.h index 4a79010015f..72ab6d3c1e1 100644 --- a/src/app/qgsmeasuredialog.h +++ b/src/app/qgsmeasuredialog.h @@ -63,16 +63,19 @@ class QgsMeasureDialog : public QDialog, private Ui::QgsMeasureBase //! Show the help for the dialog void on_buttonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); } - //! on change state projection/ellipsoid enable - void changeProjectionEnabledState(); + //! When the ellipsoidal button is pressed/toggled. + void ellipsoidalButton(); + + //! When any external settings change + void updateSettings(); private: //! formats distance to most appropriate units - QString formatDistance( double distance, int decimalPlaces ); + QString formatDistance( double distance ); //! formats area to most appropriate units - QString formatArea( double area, int decimalPlaces ); + QString formatArea( double area ); //! shows/hides table, shows correct units void updateUi(); @@ -87,7 +90,20 @@ class QgsMeasureDialog : public QDialog, private Ui::QgsMeasureBase //! indicates whether we're measuring distances or areas bool mMeasureArea; + + //! indicates whether user wants ellipsoidal or flat + bool mEllipsoidal; + //! Number of decimal places we want. + int mDecimalPlaces; + + //! Current unit for input values + QGis::UnitType mCanvasUnits; + + //! Current unit for output values + QGis::UnitType mDisplayUnits; + + //! Our measurement object QgsDistanceArea mDa; //! pointer to measure tool which owns this dialog From 54133eca4455886fae98b8be3a59450e3ab2a6d8 Mon Sep 17 00:00:00 2001 From: Magnus Homann Date: Mon, 27 Aug 2012 00:42:06 +0200 Subject: [PATCH 02/12] Looks good, but an extra line when finished is not so pretty. The total is constant, though --- src/app/qgsmeasuredialog.cpp | 30 +++++++++++++++++++----------- src/app/qgsmeasuretool.cpp | 24 +++++++++++++++++------- src/app/qgsmeasuretool.h | 6 +++++- 3 files changed, 41 insertions(+), 19 deletions(-) diff --git a/src/app/qgsmeasuredialog.cpp b/src/app/qgsmeasuredialog.cpp index 59d935ccf20..8929188d59e 100644 --- a/src/app/qgsmeasuredialog.cpp +++ b/src/app/qgsmeasuredialog.cpp @@ -68,16 +68,21 @@ QgsMeasureDialog::QgsMeasureDialog( QgsMeasureTool* tool, Qt::WFlags f ) void QgsMeasureDialog::ellipsoidalButton() { QSettings settings; - - if ( mcbProjectionEnabled->isChecked() ) + + // We set check state to Unchecked and button to Disabled when disabling CRS, + // which generates an call here. Ignore that event! + if ( mcbProjectionEnabled->isEnabled() ) { - settings.setValue( "/qgis/measure/projectionEnabled", 2 ); + if ( mcbProjectionEnabled->isChecked() ) + { + settings.setValue( "/qgis/measure/projectionEnabled", 2 ); + } + else + { + settings.setValue( "/qgis/measure/projectionEnabled", 0 ); + } + updateSettings(); } - else - { - settings.setValue( "/qgis/measure/projectionEnabled", 0 ); - } - updateSettings(); } void QgsMeasureDialog::updateSettings() @@ -139,8 +144,10 @@ void QgsMeasureDialog::mousePress( QgsPoint &point ) show(); } raise(); - - mouseMove( point ); + if ( ! mTool->done() ) + { + mouseMove( point ); + } } void QgsMeasureDialog::mouseMove( QgsPoint &point ) @@ -263,6 +270,7 @@ void QgsMeasureDialog::updateUi() // If project wide transformation is off, disbale checkbox and unmark it. // When on, enable checbox and mark with saved value. mcbProjectionEnabled->setEnabled( mTool->canvas()->hasCrsTransformEnabled() ); + mcbProjectionEnabled->setCheckState( mTool->canvas()->hasCrsTransformEnabled() && mEllipsoidal ? Qt::Checked : Qt::Unchecked ); // Set tooltip to indicate how we calculate measurments QString toolTip = tr( "The calculations are based on:" ); @@ -325,7 +333,7 @@ void QgsMeasureDialog::updateUi() convertMeasurement( d, myDisplayUnits, false ); QTreeWidgetItem *item = mTable->topLevelItem( mTable->topLevelItemCount() - 1 ); - item->setText( 0, QLocale::system().toString( d, 'f' ) ); + item->setText( 0, QLocale::system().toString( d, 'f', mDecimalPlaces ) ); item = new QTreeWidgetItem( QStringList( QLocale::system().toString( 0.0, 'f', mDecimalPlaces ) ) ); item->setTextAlignment( 0, Qt::AlignRight ); mTable->addTopLevelItem( item ); diff --git a/src/app/qgsmeasuretool.cpp b/src/app/qgsmeasuretool.cpp index cb4576a48f7..e63ee562b86 100644 --- a/src/app/qgsmeasuretool.cpp +++ b/src/app/qgsmeasuretool.cpp @@ -40,7 +40,7 @@ QgsMeasureTool::QgsMeasureTool( QgsMapCanvas* canvas, bool measureArea ) QPixmap myCrossHairQPixmap = QPixmap(( const char ** ) cross_hair_cursor ); mCursor = QCursor( myCrossHairQPixmap, 8, 8 ); - mRightMouseClicked = false; + mDone = false; mDialog = new QgsMeasureDialog( this ); mSnapper.setMapCanvas( canvas ); @@ -101,7 +101,7 @@ void QgsMeasureTool::restart() // re-read settings updateSettings(); - mRightMouseClicked = false; + mDone = false; mWrongProjectProjection = false; } @@ -127,7 +127,7 @@ void QgsMeasureTool::canvasPressEvent( QMouseEvent * e ) { if ( e->button() == Qt::LeftButton ) { - if ( mRightMouseClicked ) + if ( mDone ) mDialog->restart(); QgsPoint idPoint = snapPoint( e->pos() ); @@ -137,7 +137,7 @@ void QgsMeasureTool::canvasPressEvent( QMouseEvent * e ) void QgsMeasureTool::canvasMoveEvent( QMouseEvent * e ) { - if ( !mRightMouseClicked ) + if ( ! mDone ) { QgsPoint point = snapPoint( e->pos() ); @@ -153,10 +153,17 @@ void QgsMeasureTool::canvasReleaseEvent( QMouseEvent * e ) if ( e->button() == Qt::RightButton && ( e->buttons() & Qt::LeftButton ) == 0 ) // restart { - if ( mRightMouseClicked ) + if ( mDone ) + { mDialog->restart(); + } else - mRightMouseClicked = true; + { + // The figure is finished, store last point. + mDone = true; + addPoint( point ); + mDialog->show(); + } } else if ( e->button() == Qt::LeftButton ) { @@ -180,7 +187,10 @@ void QgsMeasureTool::addPoint( QgsPoint &point ) mRubberBand->addPoint( point ); - mDialog->addPoint( point ); + if ( ! mDone ) + { + mDialog->addPoint( point ); + } } QgsPoint QgsMeasureTool::snapPoint( const QPoint& p ) diff --git a/src/app/qgsmeasuretool.h b/src/app/qgsmeasuretool.h index 3b9da988ccc..71674081938 100644 --- a/src/app/qgsmeasuretool.h +++ b/src/app/qgsmeasuretool.h @@ -40,6 +40,10 @@ class QgsMeasureTool : public QgsMapTool //! returns whether measuring distance or area bool measureArea() { return mMeasureArea; } + //! When we hvae added our last point, and not following + // Added in 2.0 + bool done() { return mDone; } + //! Reset and start new void restart(); @@ -83,7 +87,7 @@ class QgsMeasureTool : public QgsMapTool bool mMeasureArea; //! indicates whether we've just done a right mouse click - bool mRightMouseClicked; + bool mDone; //! indicates whether we've recently warned the user about having the wrong // project projection From 8b74b9e77028cb461d7b096f843653de7c04c4bc Mon Sep 17 00:00:00 2001 From: Magnus Homann Date: Mon, 27 Aug 2012 14:13:58 +0200 Subject: [PATCH 03/12] Cleaned up a bit, fixed area dialog also --- src/app/qgsmeasuredialog.cpp | 85 +++++++++++++----------------------- src/app/qgsmeasuretool.cpp | 30 ++++++++----- 2 files changed, 49 insertions(+), 66 deletions(-) diff --git a/src/app/qgsmeasuredialog.cpp b/src/app/qgsmeasuredialog.cpp index 8929188d59e..48e7d38ec23 100644 --- a/src/app/qgsmeasuredialog.cpp +++ b/src/app/qgsmeasuredialog.cpp @@ -55,12 +55,6 @@ QgsMeasureDialog::QgsMeasureDialog( QgsMeasureTool* tool, Qt::WFlags f ) // but at least every time any canvas related settings changes connect( mTool->canvas(), SIGNAL( mapCanvasRefreshed() ), this, SLOT( updateSettings() ) ); -// // Update when project wide transformation has changed -// connect( mTool->canvas()->mapRenderer(), SIGNAL( hasCrsTransformEnabled( bool ) ), -// this, SLOT( changeProjectionEnabledState() ) ); -// // Update when project CRS has changed -// connect( mTool->canvas()->mapRenderer(), SIGNAL( destinationSrsChanged() ), -// this, SLOT( changeProjectionEnabledState() ) ); updateSettings(); } @@ -113,9 +107,7 @@ void QgsMeasureDialog::updateSettings() // clear interface mTable->clear(); - QTreeWidgetItem* item = new QTreeWidgetItem( QStringList( QString::number( 0, 'f', 1 ) ) ); - item->setTextAlignment( 0, Qt::AlignRight ); - mTable->addTopLevelItem( item ); + mTotal = 0; updateUi(); @@ -125,12 +117,7 @@ void QgsMeasureDialog::restart() { mTool->restart(); - // Set one cell row where to update current distance - // If measuring area, the table doesn't get shown mTable->clear(); - QTreeWidgetItem* item = new QTreeWidgetItem( QStringList( QString::number( 0, 'f', 1 ) ) ); - item->setTextAlignment( 0, Qt::AlignRight ); - mTable->addTopLevelItem( item ); mTotal = 0.; updateUi(); } @@ -138,11 +125,8 @@ void QgsMeasureDialog::restart() void QgsMeasureDialog::mousePress( QgsPoint &point ) { - if ( mTool->points().size() == 0 ) - { - addPoint( point ); - show(); - } + + show(); raise(); if ( ! mTool->done() ) { @@ -152,25 +136,31 @@ void QgsMeasureDialog::mousePress( QgsPoint &point ) void QgsMeasureDialog::mouseMove( QgsPoint &point ) { + Q_UNUSED( point ); + // show current distance/area while moving the point // by creating a temporary copy of point array // and adding moving point at the end - if ( mMeasureArea && mTool->points().size() > 1 ) + if ( mMeasureArea && mTool->points().size() > 2 ) { - QList tmpPoints = mTool->points(); - tmpPoints.append( point ); - double area = mDa.measurePolygon( tmpPoints ); + double area = mDa.measurePolygon( mTool->points() ); editTotal->setText( formatArea( area ) ); } - else if ( !mMeasureArea && mTool->points().size() > 0 ) + else if ( !mMeasureArea && mTool->points().size() > 1 ) { - QgsPoint p1( mTool->points().last() ), p2( point ); - + int last = mTool->points().size() - 1; + QgsPoint p1 = mTool->points()[last]; + QgsPoint p2 = mTool->points()[last-1]; double d = mDa.measureLine( p1, p2 ); - editTotal->setText( formatDistance( mTotal + d ) ); - QGis::UnitType myDisplayUnits; - // Ignore units - convertMeasurement( d, myDisplayUnits, false ); + + mTotal = mDa.measureLine( mTool->points() ); + editTotal->setText( formatDistance( mTotal ) ); + + QGis::UnitType displayUnits; + // Meters or feet? + convertMeasurement( d, displayUnits, false ); + + // Set moving QTreeWidgetItem *item = mTable->topLevelItem( mTable->topLevelItemCount() - 1 ); item->setText( 0, QLocale::system().toString( d, 'f', mDecimalPlaces ) ); QgsDebugMsg( QString( "Final result is %1" ).arg( item->text( 0 ) ) ); @@ -181,6 +171,7 @@ void QgsMeasureDialog::addPoint( QgsPoint &p ) { Q_UNUSED( p ); + QgsDebugMsg( "Entering" ); int numPoints = mTool->points().size(); if ( mMeasureArea && numPoints > 2 ) { @@ -189,27 +180,12 @@ void QgsMeasureDialog::addPoint( QgsPoint &p ) } else if ( !mMeasureArea && numPoints > 1 ) { - int last = numPoints - 2; - - QgsPoint p1 = mTool->points()[last], p2 = mTool->points()[last+1]; - - double d = mDa.measureLine( p1, p2 ); - - mTotal += d; - editTotal->setText( formatDistance( mTotal ) ); - - QGis::UnitType myDisplayUnits; - // Ignore units - convertMeasurement( d, myDisplayUnits, false ); - - QTreeWidgetItem *item = mTable->topLevelItem( mTable->topLevelItemCount() - 1 ); - item->setText( 0, QLocale::system().toString( d, 'f' ) ); - - item = new QTreeWidgetItem( QStringList( QLocale::system().toString( 0.0, 'f' ) ) ); + QTreeWidgetItem * item = new QTreeWidgetItem( QStringList( QLocale::system().toString( 0.0, 'f', mDecimalPlaces ) ) ); item->setTextAlignment( 0, Qt::AlignRight ); mTable->addTopLevelItem( item ); mTable->scrollToItem( item ); } + QgsDebugMsg( "Exiting" ); } void QgsMeasureDialog::on_buttonBox_rejected( void ) @@ -311,6 +287,7 @@ void QgsMeasureDialog::updateUi() { area = mDa.measurePolygon( mTool->points() ); } + mTable->hide(); // Hide the table, only show summary. editTotal->setText( formatArea( area ) ); } else @@ -326,15 +303,10 @@ void QgsMeasureDialog::updateUi() if ( !b ) { double d = mDa.measureLine( p1, p2 ); - mTotal += d; - editTotal->setText( formatDistance( mTotal ) ); - QGis::UnitType myDisplayUnits; + QGis::UnitType dummyUnits; + convertMeasurement( d, dummyUnits, false ); - convertMeasurement( d, myDisplayUnits, false ); - - QTreeWidgetItem *item = mTable->topLevelItem( mTable->topLevelItemCount() - 1 ); - item->setText( 0, QLocale::system().toString( d, 'f', mDecimalPlaces ) ); - item = new QTreeWidgetItem( QStringList( QLocale::system().toString( 0.0, 'f', mDecimalPlaces ) ) ); + QTreeWidgetItem *item = new QTreeWidgetItem( QStringList( QLocale::system().toString( d , 'f', mDecimalPlaces ) ) ); item->setTextAlignment( 0, Qt::AlignRight ); mTable->addTopLevelItem( item ); mTable->scrollToItem( item ); @@ -342,6 +314,9 @@ void QgsMeasureDialog::updateUi() p1 = p2; b = false; } + mTotal = mDa.measureLine( mTool->points() ); + mTable->show(); // Show the table with items + editTotal->setText( formatDistance( mTotal ) ); } } diff --git a/src/app/qgsmeasuretool.cpp b/src/app/qgsmeasuretool.cpp index e63ee562b86..1bfa62cce4e 100644 --- a/src/app/qgsmeasuretool.cpp +++ b/src/app/qgsmeasuretool.cpp @@ -41,6 +41,8 @@ QgsMeasureTool::QgsMeasureTool( QgsMapCanvas* canvas, bool measureArea ) mCursor = QCursor( myCrossHairQPixmap, 8, 8 ); mDone = false; + // Append point we will move + mPoints.append( QgsPoint (0, 0) ); mDialog = new QgsMeasureDialog( this ); mSnapper.setMapCanvas( canvas ); @@ -96,6 +98,9 @@ void QgsMeasureTool::deactivate() void QgsMeasureTool::restart() { mPoints.clear(); + // Append point we will move + mPoints.append( QgsPoint (0, 0) ); + mRubberBand->reset( mMeasureArea ); // re-read settings @@ -106,10 +111,6 @@ void QgsMeasureTool::restart() } - - - - void QgsMeasureTool::updateSettings() { QSettings settings; @@ -128,10 +129,11 @@ void QgsMeasureTool::canvasPressEvent( QMouseEvent * e ) if ( e->button() == Qt::LeftButton ) { if ( mDone ) + { mDialog->restart(); - + } QgsPoint idPoint = snapPoint( e->pos() ); - mDialog->mousePress( idPoint ); + // mDialog->mousePress( idPoint ); } } @@ -142,7 +144,13 @@ void QgsMeasureTool::canvasMoveEvent( QMouseEvent * e ) QgsPoint point = snapPoint( e->pos() ); mRubberBand->movePoint( point ); - mDialog->mouseMove( point ); + if( ! mPoints.isEmpty() ) + { + // Update last point + mPoints.removeLast(); + mPoints.append( point ) ; + mDialog->mouseMove( point ); + } } } @@ -159,9 +167,8 @@ void QgsMeasureTool::canvasReleaseEvent( QMouseEvent * e ) } else { - // The figure is finished, store last point. + // The figure is finished mDone = true; - addPoint( point ); mDialog->show(); } } @@ -178,14 +185,15 @@ void QgsMeasureTool::addPoint( QgsPoint &point ) { QgsDebugMsg( "point=" + point.toString() ); + int last = mPoints.size() - 1; // don't add points with the same coordinates - if ( mPoints.size() > 0 && point == mPoints[0] ) + if ( mPoints.size() > 1 && mPoints[ last ] == mPoints[ last - 1 ] ) return; QgsPoint pnt( point ); + // Append point that we will be moving. mPoints.append( pnt ); - mRubberBand->addPoint( point ); if ( ! mDone ) { From c1decf7a18a546c5ef6c11e336edaa4a34c1a4be Mon Sep 17 00:00:00 2001 From: Magnus Homann Date: Mon, 27 Aug 2012 14:33:34 +0200 Subject: [PATCH 04/12] Fix of type in header --- src/app/qgsmeasuredialog.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/qgsmeasuredialog.cpp b/src/app/qgsmeasuredialog.cpp index 48e7d38ec23..1acf200a307 100644 --- a/src/app/qgsmeasuredialog.cpp +++ b/src/app/qgsmeasuredialog.cpp @@ -278,7 +278,10 @@ void QgsMeasureDialog::updateUi() editTotal->setToolTip( toolTip ); mTable->setToolTip( toolTip ); - mTable->setHeaderLabels( QStringList( tr( "Segments [%1]" ).arg( QGis::tr( mDisplayUnits ) ) ) ); + QGis::UnitType newDisplayUnits; + double dummy = 1.0; + convertMeasurement( dummy, newDisplayUnits, true ); + mTable->setHeaderLabels( QStringList( tr( "Segments [%1]" ).arg( QGis::tr( newDisplayUnits ) ) ) ); if ( mMeasureArea ) { From 950bc2fa63478a4719556d97fb0374a7fac30949 Mon Sep 17 00:00:00 2001 From: Magnus Homann Date: Mon, 27 Aug 2012 22:18:05 +0200 Subject: [PATCH 05/12] Changed angle measurement to behave same as the other --- src/app/qgsdisplayangle.cpp | 100 ++++++++++++++++++++++------- src/app/qgsdisplayangle.h | 23 ++++++- src/app/qgsmaptoolmeasureangle.cpp | 12 +++- src/app/qgsmaptoolmeasureangle.h | 2 +- 4 files changed, 108 insertions(+), 29 deletions(-) diff --git a/src/app/qgsdisplayangle.cpp b/src/app/qgsdisplayangle.cpp index 90c9adac8de..2341546986e 100644 --- a/src/app/qgsdisplayangle.cpp +++ b/src/app/qgsdisplayangle.cpp @@ -14,23 +14,27 @@ ***************************************************************************/ #include "qgsdisplayangle.h" +#include "qgsmapcanvas.h" +#include "qgslogger.h" + #include #include -QgsDisplayAngle::QgsDisplayAngle( QWidget * parent, Qt::WindowFlags f ): QDialog( parent, f ) +QgsDisplayAngle::QgsDisplayAngle( QgsMapToolMeasureAngle * tool, Qt::WFlags f ) + : QDialog( tool->canvas()->topLevelWidget(), f ), mTool( tool ) { setupUi( this ); QSettings settings; - int s = settings.value( "/qgis/measure/projectionEnabled", "2" ).toInt(); - if ( s == 2 ) - mcbProjectionEnabled->setCheckState( Qt::Checked ); - else - mcbProjectionEnabled->setCheckState( Qt::Unchecked ); + // Update when the ellipsoidal button has changed state. connect( mcbProjectionEnabled, SIGNAL( stateChanged( int ) ), - this, SLOT( changeState() ) ); - connect( mcbProjectionEnabled, SIGNAL( stateChanged( int ) ), - this, SIGNAL( changeProjectionEnabledState() ) ); + this, SLOT( ellipsoidalButton() ) ); + // Update whenever the canvas has refreshed. Maybe more often than needed, + // but at least every time any canvas related settings changes + connect( mTool->canvas(), SIGNAL( mapCanvasRefreshed() ), + this, SLOT( updateSettings() ) ); + + updateSettings(); } QgsDisplayAngle::~QgsDisplayAngle() @@ -44,28 +48,76 @@ bool QgsDisplayAngle::projectionEnabled() } void QgsDisplayAngle::setValueInRadians( double value ) +{ + mValue = value; + updateUi(); +} + +void QgsDisplayAngle::ellipsoidalButton() { QSettings settings; - QString unitString = settings.value( "/qgis/measure/angleunits", "degrees" ).toString(); - if ( unitString == "degrees" ) + + // We set check state to Unchecked and button to Disabled when disabling CRS, + // which generates a call here. Ignore that event! + if ( mcbProjectionEnabled->isEnabled() ) { - mAngleLineEdit->setText( tr( "%1 degrees" ).arg( value * 180 / M_PI ) ); - } - else if ( unitString == "radians" ) - { - mAngleLineEdit->setText( tr( "%1 radians" ).arg( value ) ); - } - else if ( unitString == "gon" ) - { - mAngleLineEdit->setText( tr( "%1 gon" ).arg( value / M_PI * 200 ) ); + if ( mcbProjectionEnabled->isChecked() ) + { + settings.setValue( "/qgis/measure/projectionEnabled", 2 ); + } + else + { + settings.setValue( "/qgis/measure/projectionEnabled", 0 ); + } + updateSettings(); } } -void QgsDisplayAngle::changeState() +void QgsDisplayAngle::updateSettings() { QSettings settings; - if ( mcbProjectionEnabled->isChecked() ) - settings.setValue( "/qgis/measure/projectionEnabled", 2 ); + + int s = settings.value( "/qgis/measure/projectionEnabled", "2" ).toInt(); + if ( s == 2 ) + { + mEllipsoidal = true; + } else - settings.setValue( "/qgis/measure/projectionEnabled", 0 ); + { + mEllipsoidal = false; + } + QgsDebugMsg( "****************" ); + QgsDebugMsg( QString( "Ellipsoidal: %1" ).arg( mEllipsoidal ? "true" : "false" ) ); + + updateUi(); + emit changeProjectionEnabledState(); + +} + +void QgsDisplayAngle::updateUi() +{ + mcbProjectionEnabled->setEnabled( mTool->canvas()->hasCrsTransformEnabled() ); + mcbProjectionEnabled->setCheckState( mTool->canvas()->hasCrsTransformEnabled() + && mEllipsoidal ? Qt::Checked : Qt::Unchecked ); + + QSettings settings; + QString unitString = settings.value( "/qgis/measure/angleunits", "degrees" ).toString(); + int decimals = settings.value( "/qgis/measure/decimalplaces", "3" ).toInt(); + + if ( unitString == "degrees" ) + { + mAngleLineEdit->setText( tr( "%1 degrees" ).arg( QLocale::system().toString( mValue * 180 / M_PI ), + 'f', decimals ) ); + } + else if ( unitString == "radians" ) + { + mAngleLineEdit->setText( tr( "%1 radians" ).arg( QLocale::system().toString( mValue ), + 'f', decimals ) ); + + } + else if ( unitString == "gon" ) + { + mAngleLineEdit->setText( tr( "%1 gon" ).arg( QLocale::system().toString( mValue / M_PI * 200 ), + 'f', decimals ) ); + } } diff --git a/src/app/qgsdisplayangle.h b/src/app/qgsdisplayangle.h index 7ac807fed99..c67f42c9d5d 100644 --- a/src/app/qgsdisplayangle.h +++ b/src/app/qgsdisplayangle.h @@ -16,6 +16,7 @@ #ifndef QGSDISPLAYANGLE_H #define QGSDISPLAYANGLE_H +#include "qgsmaptoolmeasureangle.h" #include "ui_qgsdisplayanglebase.h" /**A class that displays results of angle measurements with the proper unit*/ @@ -24,7 +25,7 @@ class QgsDisplayAngle: public QDialog, private Ui::QgsDisplayAngleBase Q_OBJECT public: - QgsDisplayAngle( QWidget * parent = 0, Qt::WindowFlags f = 0 ); + QgsDisplayAngle( QgsMapToolMeasureAngle * tool = 0, Qt::WindowFlags f = 0 ); ~QgsDisplayAngle(); /**Sets the measured angle value (in radians). The value is going to be converted to degrees / gon automatically if necessary*/ @@ -32,12 +33,30 @@ class QgsDisplayAngle: public QDialog, private Ui::QgsDisplayAngleBase bool projectionEnabled(); + signals: void changeProjectionEnabledState(); private slots: - void changeState(); + //! When the ellipsoidal button is pressed/toggled. + void ellipsoidalButton(); + + //! When any external settings change + void updateSettings(); + + private: + //! pointer to tool which owns this dialog + QgsMapToolMeasureAngle * mTool; + + //! Holds what the user last set ellipsoid button to. + bool mEllipsoidal; + + //! The value we're showing + double mValue; + + //! Updates UI according to user settings. + void updateUi(); }; #endif // QGSDISPLAYANGLE_H diff --git a/src/app/qgsmaptoolmeasureangle.cpp b/src/app/qgsmaptoolmeasureangle.cpp index 19e00f78963..f8b7508b15d 100644 --- a/src/app/qgsmaptoolmeasureangle.cpp +++ b/src/app/qgsmaptoolmeasureangle.cpp @@ -85,7 +85,7 @@ void QgsMapToolMeasureAngle::canvasReleaseEvent( QMouseEvent * e ) { if ( mResultDisplay == NULL ) { - mResultDisplay = new QgsDisplayAngle( mCanvas->topLevelWidget() ); + mResultDisplay = new QgsDisplayAngle( this ); QObject::connect( mResultDisplay, SIGNAL( rejected() ), this, SLOT( stopMeasuring() ) ); QObject::connect( mResultDisplay, SIGNAL( changeProjectionEnabledState() ), this, SLOT( changeProjectionEnabledState() ) ); @@ -183,7 +183,15 @@ void QgsMapToolMeasureAngle::configureDistanceArea() QString ellipsoidId = settings.value( "/qgis/measure/ellipsoid", "WGS84" ).toString(); mDa.setSourceCrs( mCanvas->mapRenderer()->destinationCrs().srsid() ); mDa.setEllipsoid( ellipsoidId ); - mDa.setEllipsoidalMode( mResultDisplay->projectionEnabled() ); // FIXME (not when proj is turned off) + int s = settings.value( "/qgis/measure/projectionEnabled", "2" ).toInt(); + if ( s == 2 ) + { + mDa.setEllipsoidalMode( mResultDisplay->projectionEnabled() ); + } + else + { + mDa.setEllipsoidalMode( mResultDisplay->projectionEnabled() ); + } } diff --git a/src/app/qgsmaptoolmeasureangle.h b/src/app/qgsmaptoolmeasureangle.h index 469269ba430..ce3fb065d4b 100644 --- a/src/app/qgsmaptoolmeasureangle.h +++ b/src/app/qgsmaptoolmeasureangle.h @@ -32,7 +32,7 @@ class QgsMapToolMeasureAngle: public QgsMapTool QgsMapToolMeasureAngle( QgsMapCanvas* canvas ); ~QgsMapToolMeasureAngle(); - //! Mouse move event for overriding + //! Mouse move event for overridingqgs void canvasMoveEvent( QMouseEvent * e ); //! Mouse release event for overriding From 24e6862db0c4bcf70e50b94e1736fa885c009b45 Mon Sep 17 00:00:00 2001 From: Magnus Homann Date: Tue, 28 Aug 2012 21:29:54 +0200 Subject: [PATCH 06/12] Removed Ellipsoid button and added "NONE" as a selectable ellipsoid. All three measure dialog now work on the same global setting, using ellipsodial calculation only if CRS transformation is turned on in Project Settings, and if the chosen ellipsoid is != "NONE". An old bug made "NONE" not selectable! --- src/app/qgsdisplayangle.cpp | 46 --------------------- src/app/qgsdisplayangle.h | 9 ---- src/app/qgsmaptoolmeasureangle.cpp | 10 ++--- src/app/qgsmeasuredialog.cpp | 66 +++++++----------------------- src/app/qgsmeasuredialog.h | 9 ---- src/app/qgsoptions.cpp | 31 ++++++++++---- src/app/qgsoptions.h | 2 + src/core/qgis.h | 13 ++++-- src/core/qgsdistancearea.cpp | 20 ++++----- src/ui/qgsdisplayanglebase.ui | 7 ---- src/ui/qgsmeasurebase.ui | 7 ---- 11 files changed, 66 insertions(+), 154 deletions(-) diff --git a/src/app/qgsdisplayangle.cpp b/src/app/qgsdisplayangle.cpp index 2341546986e..ddc2ec65ab1 100644 --- a/src/app/qgsdisplayangle.cpp +++ b/src/app/qgsdisplayangle.cpp @@ -26,9 +26,6 @@ QgsDisplayAngle::QgsDisplayAngle( QgsMapToolMeasureAngle * tool, Qt::WFlags f ) setupUi( this ); QSettings settings; - // Update when the ellipsoidal button has changed state. - connect( mcbProjectionEnabled, SIGNAL( stateChanged( int ) ), - this, SLOT( ellipsoidalButton() ) ); // Update whenever the canvas has refreshed. Maybe more often than needed, // but at least every time any canvas related settings changes connect( mTool->canvas(), SIGNAL( mapCanvasRefreshed() ), @@ -42,10 +39,6 @@ QgsDisplayAngle::~QgsDisplayAngle() } -bool QgsDisplayAngle::projectionEnabled() -{ - return mcbProjectionEnabled->isChecked(); -} void QgsDisplayAngle::setValueInRadians( double value ) { @@ -53,52 +46,13 @@ void QgsDisplayAngle::setValueInRadians( double value ) updateUi(); } -void QgsDisplayAngle::ellipsoidalButton() -{ - QSettings settings; - - // We set check state to Unchecked and button to Disabled when disabling CRS, - // which generates a call here. Ignore that event! - if ( mcbProjectionEnabled->isEnabled() ) - { - if ( mcbProjectionEnabled->isChecked() ) - { - settings.setValue( "/qgis/measure/projectionEnabled", 2 ); - } - else - { - settings.setValue( "/qgis/measure/projectionEnabled", 0 ); - } - updateSettings(); - } -} - void QgsDisplayAngle::updateSettings() { - QSettings settings; - - int s = settings.value( "/qgis/measure/projectionEnabled", "2" ).toInt(); - if ( s == 2 ) - { - mEllipsoidal = true; - } - else - { - mEllipsoidal = false; - } - QgsDebugMsg( "****************" ); - QgsDebugMsg( QString( "Ellipsoidal: %1" ).arg( mEllipsoidal ? "true" : "false" ) ); - - updateUi(); emit changeProjectionEnabledState(); - } void QgsDisplayAngle::updateUi() { - mcbProjectionEnabled->setEnabled( mTool->canvas()->hasCrsTransformEnabled() ); - mcbProjectionEnabled->setCheckState( mTool->canvas()->hasCrsTransformEnabled() - && mEllipsoidal ? Qt::Checked : Qt::Unchecked ); QSettings settings; QString unitString = settings.value( "/qgis/measure/angleunits", "degrees" ).toString(); diff --git a/src/app/qgsdisplayangle.h b/src/app/qgsdisplayangle.h index c67f42c9d5d..ed358549e64 100644 --- a/src/app/qgsdisplayangle.h +++ b/src/app/qgsdisplayangle.h @@ -31,17 +31,11 @@ class QgsDisplayAngle: public QDialog, private Ui::QgsDisplayAngleBase be converted to degrees / gon automatically if necessary*/ void setValueInRadians( double value ); - bool projectionEnabled(); - - signals: void changeProjectionEnabledState(); private slots: - //! When the ellipsoidal button is pressed/toggled. - void ellipsoidalButton(); - //! When any external settings change void updateSettings(); @@ -49,9 +43,6 @@ class QgsDisplayAngle: public QDialog, private Ui::QgsDisplayAngleBase //! pointer to tool which owns this dialog QgsMapToolMeasureAngle * mTool; - //! Holds what the user last set ellipsoid button to. - bool mEllipsoidal; - //! The value we're showing double mValue; diff --git a/src/app/qgsmaptoolmeasureangle.cpp b/src/app/qgsmaptoolmeasureangle.cpp index f8b7508b15d..719cf7f60c4 100644 --- a/src/app/qgsmaptoolmeasureangle.cpp +++ b/src/app/qgsmaptoolmeasureangle.cpp @@ -180,17 +180,17 @@ void QgsMapToolMeasureAngle::changeProjectionEnabledState() void QgsMapToolMeasureAngle::configureDistanceArea() { QSettings settings; - QString ellipsoidId = settings.value( "/qgis/measure/ellipsoid", "WGS84" ).toString(); + QString ellipsoidId = settings.value( "/qgis/measure/ellipsoid", GEO_NONE ).toString(); mDa.setSourceCrs( mCanvas->mapRenderer()->destinationCrs().srsid() ); mDa.setEllipsoid( ellipsoidId ); - int s = settings.value( "/qgis/measure/projectionEnabled", "2" ).toInt(); - if ( s == 2 ) + // Only use ellipsoidal calculation when project wide transformation is enabled. + if ( mCanvas->mapRenderer()->hasCrsTransformEnabled() ) { - mDa.setEllipsoidalMode( mResultDisplay->projectionEnabled() ); + mDa.setEllipsoidalMode( true ); } else { - mDa.setEllipsoidalMode( mResultDisplay->projectionEnabled() ); + mDa.setEllipsoidalMode( false ); } } diff --git a/src/app/qgsmeasuredialog.cpp b/src/app/qgsmeasuredialog.cpp index 1acf200a307..f30c56a3307 100644 --- a/src/app/qgsmeasuredialog.cpp +++ b/src/app/qgsmeasuredialog.cpp @@ -48,9 +48,6 @@ QgsMeasureDialog::QgsMeasureDialog( QgsMeasureTool* tool, Qt::WFlags f ) item->setTextAlignment( 0, Qt::AlignRight ); mTable->addTopLevelItem( item ); - // Update when the ellipsoidal button has changed state. - connect( mcbProjectionEnabled, SIGNAL( stateChanged( int ) ), - this, SLOT( ellipsoidalButton() ) ); // Update whenever the canvas has refreshed. Maybe more often than needed, // but at least every time any canvas related settings changes connect( mTool->canvas(), SIGNAL( mapCanvasRefreshed() ), @@ -59,51 +56,32 @@ QgsMeasureDialog::QgsMeasureDialog( QgsMeasureTool* tool, Qt::WFlags f ) updateSettings(); } -void QgsMeasureDialog::ellipsoidalButton() -{ - QSettings settings; - - // We set check state to Unchecked and button to Disabled when disabling CRS, - // which generates an call here. Ignore that event! - if ( mcbProjectionEnabled->isEnabled() ) - { - if ( mcbProjectionEnabled->isChecked() ) - { - settings.setValue( "/qgis/measure/projectionEnabled", 2 ); - } - else - { - settings.setValue( "/qgis/measure/projectionEnabled", 0 ); - } - updateSettings(); - } -} - void QgsMeasureDialog::updateSettings() { QSettings settings; - int s = settings.value( "/qgis/measure/projectionEnabled", "2" ).toInt(); - if ( s == 2 ) + mDecimalPlaces = settings.value( "/qgis/measure/decimalplaces", "3" ).toInt(); + mCanvasUnits = mTool->canvas()->mapUnits(); + mDisplayUnits = QGis::fromLiteral( settings.value( "/qgis/measure/displayunits", QGis::toLiteral( QGis::Meters ) ).toString() ); + // Configure QgsDistanceArea + mDa.setSourceCrs( mTool->canvas()->mapRenderer()->destinationCrs().srsid() ); + mDa.setEllipsoid( settings.value( "/qgis/measure/ellipsoid", GEO_NONE ).toString() ); + // Only use ellipsoidal calculation when project wide transformation is enabled. + if ( mTool->canvas()->mapRenderer()->hasCrsTransformEnabled() ) { - mEllipsoidal = true; + mDa.setEllipsoidalMode( true ); } else { - mEllipsoidal = false; + mDa.setEllipsoidalMode( false ); } - mDecimalPlaces = settings.value( "/qgis/measure/decimalplaces", "3" ).toInt(); - mCanvasUnits = mTool->canvas()->mapUnits(); - mDisplayUnits = QGis::fromLiteral( settings.value( "/qgis/measure/displayunits", QGis::toLiteral( QGis::Meters ) ).toString() ); - QgsDebugMsg( "****************" ); - QgsDebugMsg( QString( "Ellipsoidal: %1" ).arg( mEllipsoidal ? "true" : "false" ) ); - QgsDebugMsg( QString( "Decimalpla.: %1" ).arg( mDecimalPlaces ) ); - QgsDebugMsg( QString( "Display u. : %1" ).arg( QGis::toLiteral( mDisplayUnits ) ) ); - QgsDebugMsg( QString( "Canvas u. : %1" ).arg( QGis::toLiteral( mCanvasUnits ) ) ); - - configureDistanceArea(); + QgsDebugMsg( QString( "Ellipsoid ID : %1" ).arg( mDa.ellipsoid() ) ); + QgsDebugMsg( QString( "Ellipsoidal : %1" ).arg( mDa.ellipsoidalEnabled() ? "true" : "false" ) ); + QgsDebugMsg( QString( "Decimalplaces: %1" ).arg( mDecimalPlaces ) ); + QgsDebugMsg( QString( "Display units: %1" ).arg( QGis::toLiteral( mDisplayUnits ) ) ); + QgsDebugMsg( QString( "Canvas units : %1" ).arg( QGis::toLiteral( mCanvasUnits ) ) ); // clear interface mTable->clear(); @@ -243,11 +221,6 @@ QString QgsMeasureDialog::formatArea( double area ) void QgsMeasureDialog::updateUi() { - // If project wide transformation is off, disbale checkbox and unmark it. - // When on, enable checbox and mark with saved value. - mcbProjectionEnabled->setEnabled( mTool->canvas()->hasCrsTransformEnabled() ); - mcbProjectionEnabled->setCheckState( mTool->canvas()->hasCrsTransformEnabled() && mEllipsoidal ? Qt::Checked : Qt::Unchecked ); - // Set tooltip to indicate how we calculate measurments QString toolTip = tr( "The calculations are based on:" ); if ( ! mTool->canvas()->hasCrsTransformEnabled() ) @@ -337,12 +310,3 @@ void QgsMeasureDialog::convertMeasurement( double &measure, QGis::UnitType &u, b u = myUnits; } -void QgsMeasureDialog::configureDistanceArea() -{ - QSettings settings; - QString ellipsoidId = settings.value( "/qgis/measure/ellipsoid", "WGS84" ).toString(); - mDa.setSourceCrs( mTool->canvas()->mapRenderer()->destinationCrs().srsid() ); - mDa.setEllipsoid( ellipsoidId ); - // Only use ellipsoidal calculation when project wide transformation is enabled. - mDa.setEllipsoidalMode( mEllipsoidal && mTool->canvas()->hasCrsTransformEnabled() ); -} diff --git a/src/app/qgsmeasuredialog.h b/src/app/qgsmeasuredialog.h index 72ab6d3c1e1..ba2603844bb 100644 --- a/src/app/qgsmeasuredialog.h +++ b/src/app/qgsmeasuredialog.h @@ -63,9 +63,6 @@ class QgsMeasureDialog : public QDialog, private Ui::QgsMeasureBase //! Show the help for the dialog void on_buttonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); } - //! When the ellipsoidal button is pressed/toggled. - void ellipsoidalButton(); - //! When any external settings change void updateSettings(); @@ -83,16 +80,10 @@ class QgsMeasureDialog : public QDialog, private Ui::QgsMeasureBase //! Converts the measurement, depending on settings in options and current transformation void convertMeasurement( double &measure, QGis::UnitType &u, bool isArea ); - //! Configures distance area objects with ellipsoid / output crs - void configureDistanceArea(); - double mTotal; //! indicates whether we're measuring distances or areas bool mMeasureArea; - - //! indicates whether user wants ellipsoidal or flat - bool mEllipsoidal; //! Number of decimal places we want. int mDecimalPlaces; diff --git a/src/app/qgsoptions.cpp b/src/app/qgsoptions.cpp index 6d48c4945c5..0414c93711a 100644 --- a/src/app/qgsoptions.cpp +++ b/src/app/qgsoptions.cpp @@ -19,6 +19,8 @@ #include "qgsoptions.h" #include "qgis.h" #include "qgisapp.h" +#include "qgsmapcanvas.h" +#include "qgsmaprenderer.h" #include "qgsgenericprojectionselector.h" #include "qgscoordinatereferencesystem.h" #include "qgstolerance.h" @@ -47,8 +49,6 @@ #include #include #include "qgslogger.h" -#define ELLIPS_FLAT "NONE" -#define ELLIPS_FLAT_DESC "None / Planimetric" #define CPL_SUPRESS_CPLUSPLUS #include @@ -56,6 +56,7 @@ #include // for setting gdal options #include "qgsconfig.h" +const char * QgsOptions::GEO_NONE_DESC = QT_TRANSLATE_NOOP( "QgsOptions", "None / Planimetric" ); /** * \class QgsOptions - Set user options and preferences @@ -278,9 +279,23 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WFlags fl ) : leProjectGlobalCrs->setText( mDefaultCrs.authid() + " - " + mDefaultCrs.description() ); // populate combo box with ellipsoids + QgsDebugMsg( "Setting upp ellipsoid" ); + getEllipsoidList(); + // Pre-select current ellipsoid QString myEllipsoidId = settings.value( "/qgis/measure/ellipsoid", "WGS84" ).toString(); - cmbEllipsoid->setItemText( cmbEllipsoid->currentIndex(), getEllipsoidName( myEllipsoidId ) ); + cmbEllipsoid->setCurrentIndex( cmbEllipsoid->findText( getEllipsoidName( myEllipsoidId ), Qt::MatchExactly ) ); + // Check if CRS transformation is on, or else turn combobox off + if ( QgisApp::instance()->mapCanvas()->mapRenderer()->hasCrsTransformEnabled() ) + { + cmbEllipsoid->setEnabled( true ); + cmbEllipsoid->setToolTip( "" ); + } + else + { + cmbEllipsoid->setEnabled( false ); + cmbEllipsoid->setToolTip( "Can only use ellipsoidal calculations when CRS transformation is enabled" ); + } // Set the units for measuring QString myUnitsTxt = settings.value( "/qgis/measure/displayunits", "meters" ).toString(); @@ -933,7 +948,6 @@ void QgsOptions::saveOptions() { settings.setValue( "/qgis/measure/displayunits", "meters" ); } - settings.setValue( "/qgis/measure/ellipsoid", getEllipsoidAcronym( cmbEllipsoid->currentText() ) ); QString angleUnitString = "degrees"; if ( mRadiansRadioButton->isChecked() ) @@ -1161,7 +1175,7 @@ void QgsOptions::getEllipsoidList() int myResult; - cmbEllipsoid->addItem( ELLIPS_FLAT_DESC ); + cmbEllipsoid->addItem( tr( GEO_NONE_DESC ) ); //check the db is available myResult = sqlite3_open_v2( QgsApplication::srsDbFilePath().toUtf8().data(), &myDatabase, SQLITE_OPEN_READONLY, NULL ); if ( myResult ) @@ -1194,7 +1208,8 @@ QString QgsOptions::getEllipsoidAcronym( QString theEllipsoidName ) const char *myTail; sqlite3_stmt *myPreparedStatement; int myResult; - QString myName( ELLIPS_FLAT ); + QString myName = GEO_NONE; + //check the db is available myResult = sqlite3_open_v2( QgsApplication::srsDbFilePath().toUtf8().data(), &myDatabase, SQLITE_OPEN_READONLY, NULL ); if ( myResult ) @@ -1226,7 +1241,9 @@ QString QgsOptions::getEllipsoidName( QString theEllipsoidAcronym ) const char *myTail; sqlite3_stmt *myPreparedStatement; int myResult; - QString myName( ELLIPS_FLAT_DESC ); + QString myName; + + myName = tr( GEO_NONE_DESC ); //check the db is available myResult = sqlite3_open_v2( QgsApplication::srsDbFilePath().toUtf8().data(), &myDatabase, SQLITE_OPEN_READONLY, NULL ); if ( myResult ) diff --git a/src/app/qgsoptions.h b/src/app/qgsoptions.h index 5f5942aaf64..9a1efb62df6 100644 --- a/src/app/qgsoptions.h +++ b/src/app/qgsoptions.h @@ -194,6 +194,8 @@ class QgsOptions : public QDialog, private Ui::QgsOptionsBase QgsCoordinateReferenceSystem mDefaultCrs; QgsCoordinateReferenceSystem mLayerDefaultCrs; bool mLoadedGdalDriverList; + + static const char * GEO_NONE_DESC; }; #endif // #ifndef QGSOPTIONS_H diff --git a/src/core/qgis.h b/src/core/qgis.h index 65d80ce13e9..3d9a388190d 100644 --- a/src/core/qgis.h +++ b/src/core/qgis.h @@ -97,11 +97,14 @@ class CORE_EXPORT QGis DegreesDecimalMinutes = 2, // was 5 }; - // Provides the canonical name of the type value + //! Provides the canonical name of the type value + // Added in version 2.0 static QString toLiteral( QGis::UnitType unit ); - // Converts from the canonical name to the type value + //! Converts from the canonical name to the type value + // Added in version 2.0 static UnitType fromLiteral( QString literal, QGis::UnitType defaultType = UnknownUnit ); - // Provides translated version of the type value + //! Provides translated version of the type value + // Added in version 2.0 static QString tr( QGis::UnitType unit ); //! User defined event types @@ -197,6 +200,10 @@ const int LAT_PREFIX_LEN = 7; * or user (~/.qgis.qgis.db) defined projection. */ const int USER_CRS_START_ID = 100000; +//! Constant that holds the string representation for "No ellips/No CRS" +// Added in version 2.0 +const QString GEO_NONE = "NONE"; + // // Constants for point symbols // diff --git a/src/core/qgsdistancearea.cpp b/src/core/qgsdistancearea.cpp index 9a076431001..7efadc32615 100644 --- a/src/core/qgsdistancearea.cpp +++ b/src/core/qgsdistancearea.cpp @@ -91,9 +91,9 @@ bool QgsDistanceArea::setEllipsoid( const QString& ellipsoid ) int myResult; // Shortcut if ellipsoid is none. - if ( ellipsoid == "NONE" ) + if ( ellipsoid == GEO_NONE ) { - mEllipsoid = "NONE"; + mEllipsoid = GEO_NONE; return true; } @@ -337,14 +337,14 @@ double QgsDistanceArea::measureLine( const QList& points ) try { - if ( mEllipsoidalMode && ( mEllipsoid != "NONE" ) ) + if ( mEllipsoidalMode && ( mEllipsoid != GEO_NONE ) ) p1 = mCoordTransform->transform( points[0] ); else p1 = points[0]; for ( QList::const_iterator i = points.begin(); i != points.end(); ++i ) { - if ( mEllipsoidalMode && ( mEllipsoid != "NONE" ) ) + if ( mEllipsoidalMode && ( mEllipsoid != GEO_NONE ) ) { p2 = mCoordTransform->transform( *i ); total += computeDistanceBearing( p1, p2 ); @@ -378,7 +378,7 @@ double QgsDistanceArea::measureLine( const QgsPoint& p1, const QgsPoint& p2 ) QgsPoint pp1 = p1, pp2 = p2; QgsDebugMsg( QString( "Measuring from %1 to %2" ).arg( p1.toString( 4 ) ).arg( p2.toString( 4 ) ) ); - if ( mEllipsoidalMode && ( mEllipsoid != "NONE" ) ) + if ( mEllipsoidalMode && ( mEllipsoid != GEO_NONE ) ) { QgsDebugMsg( QString( "Ellipsoidal calculations is enabled, using ellipsoid %1" ).arg( mEllipsoid ) ); QgsDebugMsg( QString( "From proj4 : %1" ).arg( mCoordTransform->sourceCrs().toProj4() ) ); @@ -447,7 +447,7 @@ unsigned char* QgsDistanceArea::measurePolygon( unsigned char* feature, double* pnt = QgsPoint( x, y ); - if ( mEllipsoidalMode && ( mEllipsoid != "NONE" ) ) + if ( mEllipsoidalMode && ( mEllipsoid != GEO_NONE ) ) { pnt = mCoordTransform->transform( pnt ); } @@ -499,7 +499,7 @@ double QgsDistanceArea::measurePolygon( const QList& points ) try { - if ( mEllipsoidalMode && ( mEllipsoid != "NONE" ) ) + if ( mEllipsoidalMode && ( mEllipsoid != GEO_NONE ) ) { QList pts; for ( QList::const_iterator i = points.begin(); i != points.end(); ++i ) @@ -527,7 +527,7 @@ double QgsDistanceArea::bearing( const QgsPoint& p1, const QgsPoint& p2 ) QgsPoint pp1 = p1, pp2 = p2; double bearing; - if ( mEllipsoidalMode && ( mEllipsoid != "NONE" ) ) + if ( mEllipsoidalMode && ( mEllipsoid != GEO_NONE ) ) { pp1 = mCoordTransform->transform( p1 ); pp2 = mCoordTransform->transform( p2 ); @@ -689,7 +689,7 @@ double QgsDistanceArea::computePolygonArea( const QList& points ) double area; QgsDebugMsgLevel( "Ellipsoid: " + mEllipsoid, 3 ); - if (( ! mEllipsoidalMode ) || ( mEllipsoid == "NONE" ) ) + if (( ! mEllipsoidalMode ) || ( mEllipsoid == GEO_NONE ) ) { return computePolygonFlatArea( points ); } @@ -885,7 +885,7 @@ void QgsDistanceArea::convertMeasurement( double &measure, QGis::UnitType &measu // The parameters measure and measureUnits are in/out if (( measureUnits == QGis::Degrees || measureUnits == QGis::Feet ) && - mEllipsoid != "NONE" && + mEllipsoid != GEO_NONE && mEllipsoidalMode ) { // Measuring on an ellipsoid returned meters. Force! diff --git a/src/ui/qgsdisplayanglebase.ui b/src/ui/qgsdisplayanglebase.ui index b3c3fceab06..5da9fc81659 100644 --- a/src/ui/qgsdisplayanglebase.ui +++ b/src/ui/qgsdisplayanglebase.ui @@ -44,13 +44,6 @@ - - - - Ellipsoidal - - - diff --git a/src/ui/qgsmeasurebase.ui b/src/ui/qgsmeasurebase.ui index 7efac656809..60403793369 100644 --- a/src/ui/qgsmeasurebase.ui +++ b/src/ui/qgsmeasurebase.ui @@ -98,13 +98,6 @@ - - - - Ellipsoidal - - - From 412feddf439d47ea241fd99501fa456f9883fe3a Mon Sep 17 00:00:00 2001 From: Magnus Homann Date: Tue, 28 Aug 2012 23:01:09 +0200 Subject: [PATCH 07/12] Fix for #5156 --- src/app/qgsmeasuretool.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/qgsmeasuretool.cpp b/src/app/qgsmeasuretool.cpp index 1bfa62cce4e..a7efa122384 100644 --- a/src/app/qgsmeasuretool.cpp +++ b/src/app/qgsmeasuretool.cpp @@ -42,7 +42,7 @@ QgsMeasureTool::QgsMeasureTool( QgsMapCanvas* canvas, bool measureArea ) mDone = false; // Append point we will move - mPoints.append( QgsPoint (0, 0) ); + mPoints.append( QgsPoint( 0, 0 ) ); mDialog = new QgsMeasureDialog( this ); mSnapper.setMapCanvas( canvas ); @@ -91,6 +91,7 @@ void QgsMeasureTool::activate() void QgsMeasureTool::deactivate() { mDialog->close(); + mRubberBand->reset(); QgsMapTool::deactivate(); } @@ -99,7 +100,7 @@ void QgsMeasureTool::restart() { mPoints.clear(); // Append point we will move - mPoints.append( QgsPoint (0, 0) ); + mPoints.append( QgsPoint( 0, 0 ) ); mRubberBand->reset( mMeasureArea ); @@ -144,7 +145,7 @@ void QgsMeasureTool::canvasMoveEvent( QMouseEvent * e ) QgsPoint point = snapPoint( e->pos() ); mRubberBand->movePoint( point ); - if( ! mPoints.isEmpty() ) + if ( ! mPoints.isEmpty() ) { // Update last point mPoints.removeLast(); From cb0d9f093048fb83b0a400e893b5e6d9d5344703 Mon Sep 17 00:00:00 2001 From: Magnus Homann Date: Wed, 29 Aug 2012 00:09:37 +0200 Subject: [PATCH 08/12] Small tidying up, replacing with GEO_NONE --- src/app/qgsmaptoolfeatureaction.cpp | 2 -- src/app/qgsmaptoolidentify.cpp | 2 +- src/app/qgsoptions.cpp | 2 +- src/core/qgsdistancearea.cpp | 2 +- src/core/qgsexpression.cpp | 14 +++++++------- 5 files changed, 10 insertions(+), 12 deletions(-) diff --git a/src/app/qgsmaptoolfeatureaction.cpp b/src/app/qgsmaptoolfeatureaction.cpp index 7ab38736e65..e33e2caa196 100644 --- a/src/app/qgsmaptoolfeatureaction.cpp +++ b/src/app/qgsmaptoolfeatureaction.cpp @@ -15,7 +15,6 @@ #include "qgsmaptoolfeatureaction.h" -#include "qgsdistancearea.h" #include "qgsfeature.h" #include "qgsfield.h" #include "qgsgeometry.h" @@ -111,7 +110,6 @@ bool QgsMapToolFeatureAction::doAction( QgsVectorLayer *layer, int x, int y ) // load identify radius from settings QSettings settings; double identifyValue = settings.value( "/Map/identifyRadius", QGis::DEFAULT_IDENTIFY_RADIUS ).toDouble(); - QString ellipsoid = settings.value( "/qgis/measure/ellipsoid", "WGS84" ).toString(); if ( identifyValue <= 0.0 ) identifyValue = QGis::DEFAULT_IDENTIFY_RADIUS; diff --git a/src/app/qgsmaptoolidentify.cpp b/src/app/qgsmaptoolidentify.cpp index f7773c322e6..56476d608ce 100644 --- a/src/app/qgsmaptoolidentify.cpp +++ b/src/app/qgsmaptoolidentify.cpp @@ -204,7 +204,7 @@ bool QgsMapToolIdentify::identifyVectorLayer( QgsVectorLayer *layer, int x, int // load identify radius from settings QSettings settings; double identifyValue = settings.value( "/Map/identifyRadius", QGis::DEFAULT_IDENTIFY_RADIUS ).toDouble(); - QString ellipsoid = settings.value( "/qgis/measure/ellipsoid", "WGS84" ).toString(); + QString ellipsoid = settings.value( "/qgis/measure/ellipsoid", GEO_NONE ).toString(); if ( identifyValue <= 0.0 ) identifyValue = QGis::DEFAULT_IDENTIFY_RADIUS; diff --git a/src/app/qgsoptions.cpp b/src/app/qgsoptions.cpp index 0414c93711a..7f17f7dd38b 100644 --- a/src/app/qgsoptions.cpp +++ b/src/app/qgsoptions.cpp @@ -283,7 +283,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WFlags fl ) : getEllipsoidList(); // Pre-select current ellipsoid - QString myEllipsoidId = settings.value( "/qgis/measure/ellipsoid", "WGS84" ).toString(); + QString myEllipsoidId = settings.value( "/qgis/measure/ellipsoid", GEO_NONE ).toString(); cmbEllipsoid->setCurrentIndex( cmbEllipsoid->findText( getEllipsoidName( myEllipsoidId ), Qt::MatchExactly ) ); // Check if CRS transformation is on, or else turn combobox off if ( QgisApp::instance()->mapCanvas()->mapRenderer()->hasCrsTransformEnabled() ) diff --git a/src/core/qgsdistancearea.cpp b/src/core/qgsdistancearea.cpp index 7efadc32615..67d3c495886 100644 --- a/src/core/qgsdistancearea.cpp +++ b/src/core/qgsdistancearea.cpp @@ -44,7 +44,7 @@ QgsDistanceArea::QgsDistanceArea() mEllipsoidalMode = false; mCoordTransform = new QgsCoordinateTransform; setSourceCrs( GEOCRS_ID ); // WGS 84 - setEllipsoid( "WGS84" ); + setEllipsoid( GEO_NONE ); } diff --git a/src/core/qgsexpression.cpp b/src/core/qgsexpression.cpp index 4c13fdaf11d..b8a628a2c3a 100644 --- a/src/core/qgsexpression.cpp +++ b/src/core/qgsexpression.cpp @@ -773,15 +773,15 @@ static QVariant fcnRound( const QVariantList& values , QgsFeature *f, QgsExpress Q_UNUSED( f ); if ( values.length() == 2 ) { - double number = getDoubleValue( values.at( 0 ), parent ); - double scaler = pow( 10.0, getIntValue( values.at( 1 ), parent ) ); - return QVariant( qRound( number * scaler ) / scaler ); + double number = getDoubleValue( values.at( 0 ), parent ); + double scaler = pow( 10.0, getIntValue( values.at( 1 ), parent ) ); + return QVariant( round( number * scaler ) / scaler ); } if ( values.length() == 1 ) { - double number = getIntValue( values.at( 0 ), parent ); - return QVariant( qRound( number) ).toInt(); + double number = getIntValue( values.at( 0 ), parent ); + return QVariant( round( number ) ).toInt(); } return QVariant(); @@ -933,10 +933,10 @@ bool QgsExpression::needsGeometry() void QgsExpression::initGeomCalculator() { mCalc = new QgsDistanceArea; - mCalc->setEllipsoidalMode( false ); QSettings settings; - QString ellipsoid = settings.value( "/qgis/measure/ellipsoid", "WGS84" ).toString(); + QString ellipsoid = settings.value( "/qgis/measure/ellipsoid", GEO_NONE ).toString(); mCalc->setEllipsoid( ellipsoid ); + mCalc->setEllipsoidalMode( false ); } bool QgsExpression::prepare( const QgsFieldMap& fields ) From c3c2401fd33a818abc594834888b31a59db72d20 Mon Sep 17 00:00:00 2001 From: Magnus Homann Date: Wed, 29 Aug 2012 20:30:21 +0200 Subject: [PATCH 09/12] =?UTF-8?q?Svensk=20=C3=B6vers=C3=A4ttning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- i18n/qgis_sv.ts | 3023 +++++++++++++++++++++++++++-------------------- 1 file changed, 1721 insertions(+), 1302 deletions(-) diff --git a/i18n/qgis_sv.ts b/i18n/qgis_sv.ts index 38854e6a694..3e49ee9d817 100644 --- a/i18n/qgis_sv.ts +++ b/i18n/qgis_sv.ts @@ -6,7 +6,7 @@ <p>Character: <span style="font-size: 24pt; font-family: %1%2</span><p>Value: 0x%3"> - + <p>Tecken: <span style="font-size: 24pt; font-family: %1%2</span><p>Värde: 0x%3"> @@ -16,7 +16,7 @@ Coordinate Capture This might be controversial. - Fånga och skapa koordinat + Skapa koordinat @@ -32,17 +32,17 @@ Click to select the CRS to use for coordinate display - Klicka för att välja CRS för koordinatvisning + Klicka för att välja referenskoordinatsystem för koordinatvisning Coordinate in your selected CRS (lat,lon or east,north) - + Koordonat i valt CRS (lat/lon eller nord/ost) Coordinate in map canvas coordinate reference system (lat,lon or east,north) - + Koordinat i kartbladets koordinatsystem (lat/lon eller nord/ost) Coordinate in your selected CRS @@ -60,7 +60,7 @@ Click to enable mouse tracking. Click the canvas to stop - Följer musen och skapar koordinater. Slutar följa när du klickar på kartan + Klicka för att följa musen. Klicka kartbladet för att avsluta. @@ -202,7 +202,7 @@ p, li { white-space: pre-wrap; } Save to new shapefile - + Spara till ny Shapefil @@ -212,12 +212,12 @@ p, li { white-space: pre-wrap; } Calculate using - + Beräkna med Calculate extent for each feature separately - + Beräkna utsträckning för varje objekt för sig @@ -280,7 +280,7 @@ p, li { white-space: pre-wrap; } Segments to approximate - + Segment för avrundning @@ -321,16 +321,16 @@ p, li { white-space: pre-wrap; } Sum line lengths - Summa linjelängd + Summa linjelängd Distance matrix - Avståndsmatris + Avståndsmatris Created output matrix: - Skapade ,atris: + Skapade matris: Join Attributes @@ -375,7 +375,7 @@ p, li { white-space: pre-wrap; } Keep all records (including non-matching target records) - + Behåll alla rader (även icke-matchande målrader) Keep all records (includeing non-matching target records) @@ -444,7 +444,7 @@ p, li { white-space: pre-wrap; } Use only the nearest (k) target points - + Använd bara de närmaste (k) punkterna Use only the nearest (k) target points: @@ -513,29 +513,29 @@ p, li { white-space: pre-wrap; } Unstratified Sampling Design (Entire layer) - + Icke-stratifierad sampling (hela lagret) Use this number of points - + Använd antal punkter Stratified Sampling Design (Individual polygons) - + Stratifierad sampling (enskilda polygoner) Use this density of points - + Använd den här punkttätheten Use value from input field - + Använd värde från fält @@ -576,7 +576,7 @@ p, li { white-space: pre-wrap; } Projection Management Tool - + Projekthanterare @@ -606,7 +606,7 @@ p, li { white-space: pre-wrap; } Import spatial reference system - + Importera koordinatsystem Import spatial reference system: @@ -620,7 +620,7 @@ p, li { white-space: pre-wrap; } Area - Area + Area @@ -674,17 +674,17 @@ p, li { white-space: pre-wrap; } Spatial Join - + Rumslig ihopslagning Attribute Summary - + Attributsummering Take attributes of first located feature - + Ta attribut från första hittade objekt @@ -926,11 +926,11 @@ Would you like to add the new layer to the TOC? No Valid CRS selected - + Inget giltigt referenskoordinatsystem valt Output spatial reference system is not valid - + Projektets referenskoordinatsystem är ej giltigt Please specify target vector layer @@ -1049,12 +1049,12 @@ Would you like to add the new layer to the TOC? CRS warning! - + Referenskoordinatsystem-varning! Warning: Input layers have non-matching CRS. This may cause unexpected results. - + Varning! Lagren har ej matchande referenskoordinatsystem. Detta kan få oväntade följder. Summary field @@ -1092,7 +1092,7 @@ This may cause unexpected results. Layer CRS information will be updated to the selected CRS. - + Lagrets referenskoordinatsystem kommer att sättas till valt referenskoordinatsystem. Created output shapefiles in folder: @@ -1197,7 +1197,7 @@ This may cause unexpected results. Missing or invalid CRS - + Saknat eller ogiltigt referenskoordinatsystem Count Points In Polygon @@ -1793,7 +1793,7 @@ columns Vector - + Vektor @@ -2371,7 +2371,7 @@ Do you want terminate it anyway? Warning: CRS information for all raster in subfolders will be rewritten. Are you sure? - + varning: Referenskoordinatsystem för alla raster i underbiblioteket kommer att skrivas över. Är du säker? Select the file to analyse @@ -3800,11 +3800,11 @@ The 'gray' value (from GDAL 1.7.0) enables to expand a dataset with a Layer CRS - + Lagrets referenskoordinatsystem Project CRS - + Projektets referenskoordinatsystem Ellipsoid @@ -4462,7 +4462,7 @@ GEOS geoprocessing error: One or more input features have invalid geometry. Vector - + Vektor @@ -6483,7 +6483,7 @@ Please change this situation first, because OSM Plugin doesn't know what la QGIS version: - + QGIS version: Python path: @@ -6787,7 +6787,7 @@ Vill du specificera sökväg (GISBASE) till installationen av GRASS? - + Python error Pythonfel @@ -7190,11 +7190,11 @@ Vill du specificera sökväg (GISBASE) till installationen av GRASS? - - - - - + + + + + @@ -7207,11 +7207,11 @@ Vill du specificera sökväg (GISBASE) till installationen av GRASS? - - - - - + + + + + Warning Varning @@ -7344,22 +7344,22 @@ Vill du specificera sökväg (GISBASE) till installationen av GRASS?Kunde inte ladda qgis.utils. - + Python version: Python version: - + QGIS version: QGIS version: - + Python path: Python sökväg: - + An error occured during execution of following code: Ett fel inträffade vid exekvernig av följande kod: @@ -8039,19 +8039,19 @@ Only %1 of %2 features written. - - - + + + Cannot draw raster - + CRS undefined - defaulting to project CRS - + CRS undefined - defaulting to default CRS: %1 @@ -8432,44 +8432,44 @@ You are seeing this message most likely because you have no DISPLAY environment - - + + Cannot get GDAL raster band: %1 - + Cannot open GDAL MEM dataset %1: %2 - + Cannot GDALCreateGenImgProjTransformer: - + Cannot inittialize GDALWarpOperation : - + Cannot ChunkAndWarpImage: %1 - + [GDAL] All files (*) - + GDAL/OGR VSIFileHandler - + This raster file has no bands and is invalid as a raster layer. @@ -8603,38 +8603,10 @@ You are seeing this message most likely because you have no DISPLAY environment - - - - - - - - - - - - - Math - - - - - - - - - - Conversions - - - + - Conditionals - - - + @@ -8644,7 +8616,7 @@ You are seeing this message most likely because you have no DISPLAY environment - Date and Time + Math @@ -8655,60 +8627,89 @@ You are seeing this message most likely because you have no DISPLAY environment - - - - - - - String + Conversions + + Conditionals + + + + + + + + - + Date and Time + + + + + + + + + + + + + + + String + + + + + + + + + + Geometry - - + + Record - - + + No root node! Parsing failed? - + (no root) - + Unary minus only for numeric values. - + Can't preform /, *, or % on DateTime and Interval - + [unsupported type;%1; value:%2] - + Column '%1' not found @@ -8938,13 +8939,47 @@ You are seeing this message most likely because you have no DISPLAY environment - - - - + + + + Reading raster part %1 of %2 + + + Building pyramids failed - write access denied + + + + + Write access denied. Adjust the file permissions and try again. + Skrivåtkomst nekad. Justera filrättigheterna och försök igen. + + + + + + + Building pyramids failed. + Kunde ej skapa pyramider. + + + + The file was not writable. Some formats do not support pyramid overviews. Consult the GDAL documentation if in doubt. + Filen var inte skrivbar. Vissa format stödjer inte pyramider. Kontrollera med GDAL-dokumentation om du är osäker. + + + + + Building pyramid overviews is not supported on this type of raster. + Denna typ av raster stödjer ej att bygga pyramider. + + + + Building internal pyramid overviews is not supported on raster layers with JPEG compression and your current libtiff library. + Nuvarande libtiff-bibliotek stödjer inte att bygga pyramider från lager med JPEG-kompression. + Multiband color @@ -9076,7 +9111,7 @@ You are seeing this message most likely because you have no DISPLAY environment QgisApp - + Layers Lager @@ -9085,128 +9120,128 @@ You are seeing this message most likely because you have no DISPLAY environment Version - - - + + + Invalid Data Source Ogiltig datakälla - - + + No Layer Selected Inget Lager Markerat - + There is a new version of QGIS available Det finns en ny version av QGIS tillgänglig - + You are running a development version of QGIS Du använder en utvecklingsversion av QGIS - + You are running the current version of QGIS Du använder den senaste versionen av QGIS - + Would you like more information? Vill du ha mer information? - - - - + + + + QGIS Version Information Versionsinformation för QGIS - + Unable to get current version information from server Kan inte hämta senaste versionen från servern - + Connection refused - server may be down Anslutning nekad - servern kanske är nere - + QGIS server was not found QGIS-servern hittades inte - + Invalid Layer Ogiltigt Lager - + %1 is an invalid layer and cannot be loaded. %1 är ett ogiltigt lager och kan inte laddas. - + Problem deleting features Problem med att ta bort objekt - + A problem occured during deletion of features Ett problem uppstod under radering av objekt - + No Vector Layer Selected Inget Vektorlager Markerat - + Deleting features only works on vector layers Radering av objekt fungerar bara på vektorlager - + To delete features, you must select a vector layer in the legend För att ta bort ett objekt så måste du markera ett vektorlager i teckenförklaringen - + Map legend that displays all the layers currently on the map canvas. Click on the check box to turn a layer on or off. Double click on a layer in the legend to customize its appearance and set other properties. Teckenförklaring som visar alla lager i kartvyn. Klicka på en checkbox för att aktivera eller inaktivera ett lager. Dubbelklicka på ett lager i teckenförklaringen för att ställa in dess utseende och ändra andra inställningar. - + Map overview canvas. This canvas can be used to display a locator map that shows the current extent of the map canvas. The current extent is shown as a red rectangle. Any layer on the map can be added to the overview canvas. Översiktskarta. Denna kartvy kan användas för att visa en översikt där den nuvarande kartvyn syns som en röd rektangel. Alla lager i kartan kan läggas till i översiktskartan. - + Map canvas. This is where raster and vector layers are displayed when added to the map Kartvy. Det är här som raster- och vektorlager visas när de adderas till kartan - + Progress bar that displays the status of rendering layers and other time-intensive operations Förloppsindikator som visar statusen för rendering av lager och andra tidsintensiva operationer - + Displays the current map scale Visar den nuvarande kartskalan - + Render Rendera - + When checked, the map layers are rendered in response to map navigation commands and other events. When not checked, no rendering is done. This allows you to add a large number of layers and symbolize them before rendering. När den här rutan är markerad så renderas kartlagren vid navigationskommandon och andra händelser com kräver en uppdatering av kartan. När den inte är markerad så renderas ingenting. Detta låter dig addera ett stort antal lager och ställa in deras symbologi innan du renderar dem. @@ -9215,7 +9250,7 @@ You are seeing this message most likely because you have no DISPLAY environment QGis-filer (*.qgs) - + Choose a QGIS project file Välj en QGIS-projektfil @@ -9224,43 +9259,43 @@ You are seeing this message most likely because you have no DISPLAY environment Insticks&program - + Reading settings Läser inställningar - + Setting up the GUI Ställer in GUI - + Checking database Kollar databas - + Quantum GIS Quantum GIS - + Restoring loaded plugins Återställer laddade plugin - + Initializing file filters Initialiserar filfilter - + Restoring window state Återställer fönstertillstånd - - + + QGIS Ready! QGIS Klar! @@ -9653,12 +9688,12 @@ You are seeing this message most likely because you have no DISPLAY environment Insticksprogram - + Toggle map rendering Toggla kartritande - + Ready Klar @@ -9667,67 +9702,67 @@ You are seeing this message most likely because you have no DISPLAY environment Spara som - + Calculating... - - + + Abort... - + Choose a QGIS project file to open Välj en QGIS-projektfil att öppna - + QGIS Project Read Error QGIS-projekt läsfel - + Unable to open project Kan inte öppna projekt - - + + To perform a full histogram stretch, you need to have a raster layer selected. - + No Raster Layer Selected - - - + + + Layer is not valid Lager är ej giltigt - - + + The layer is not a valid layer and can not be added to the map Lagret är inte ett giltigt lager och kan inte läggas till kartan - + Save? Spara? - + Open a GDAL Supported Raster Data Source Öppna ett rasterlager som GDAL stöder - + Unsupported Data Source Datakälla som ej stöds @@ -9736,13 +9771,13 @@ You are seeing this message most likely because you have no DISPLAY environment Skriv in ett namn för det nya bokmärket: - - - - - - - + + + + + + + Error Fel @@ -9788,34 +9823,34 @@ You are seeing this message most likely because you have no DISPLAY environment Okänt nätverksfel - + Checking provider plugins Kollar plugin för datakällor - + Starting Python Startar Python - + Provider does not support deletion Datapluginet stödjer inte radering - + Data provider does not support deleting features Datapluginet stödjer inte radering av objekt - - - + + + Layer not editable Lagret kan inte redigeras - + The current layer is not editable. Choose 'Start editing' in the digitizing toolbar. Nuvarande lager är ej redigerbart. Välj 'Tillåt redigering' i verktygsraden för digitalisering. @@ -9832,27 +9867,27 @@ You are seeing this message most likely because you have no DISPLAY environment Lägg till ring - + Scale Skala - + Current map scale (formatted as x:y) Aktuell kartskala (i format x:y) - + Map coordinates at mouse cursor position Kartkoordinater vid musens läge - + Invalid scale Ogiltig skala - + Do you want to save the current project? Vill du spara aktivt projekt? @@ -9861,33 +9896,33 @@ You are seeing this message most likely because you have no DISPLAY environment Dela objekt - + Current map scale Nuvarande kartskala - + GPS Information - + Extents: Utsträckning: - + Project file is older Projektiflen är föråldrad - + <tt>Settings:Options:General</tt> Menu path to setting options <tt>Inställningar : Alternativ : Allmänt</tt> - + Warn me when opening a project file saved with an older version of QGIS Varna mig när jag öppnar en projektifl som sparades med en äldre version av QGIS @@ -9900,12 +9935,12 @@ You are seeing this message most likely because you have no DISPLAY environment Visa objektets information när musen är över objektet - + Multiple Instances of QgisApp Flera QgisApp-instanser - + Multiple instances of Quantum GIS application object detected. Please contact the developers. @@ -10070,43 +10105,43 @@ Kontakta utvecklarna. Hantera anpassade Coordinate Reference Systems - + Minimize Minimera - + Ctrl+M Minimize Window Ctrl+M - + Minimizes the active window to the dock Minimera aktivt fönster till dockan - + Zoom Zooma - + Toggles between a predefined size and the window size set by the user Togglar mellan fördefinerad storlek och användarvald storlek på fönstret - + Bring All to Front Flytta allt överst - + Bring forward all open windows Flytta alla öppna fönster framåt - + Failed to open Python console: @@ -10115,12 +10150,12 @@ Kontakta utvecklarna. Redigera - + Panels Paneler - + Toolbars Verktygsrader @@ -10133,12 +10168,12 @@ Kontakta utvecklarna. Fönster - + Toggle extents and mouse position display Toggla visning av utsträckning och pekarposition - + Stop map rendering Stanna kartrendering @@ -10155,29 +10190,29 @@ Kontakta utvecklarna. Avslutar... - + This icon shows whether on the fly coordinate reference system transformation is enabled or not. Click the icon to bring up the project properties dialog to alter this behaviour. Denna ikon visar om transformation mellan koordinatsystem är påslagen eller ej. Klicka ikonen föra att öppna projekegenskaper och ändra beteendet. - + CRS status - Click to open coordinate reference system dialog CRS status - Klicka för att öppna dialog för koordinatsystem - + Overview Översikt - + Always ignore these errors? - + %n SSL errors occured number of errors @@ -10185,300 +10220,300 @@ Always ignore these errors? - + Select raster layers to add... - + Log Messages - + QGIS starting... - + Window - + Vect&or - + &Web - + Shows the map coordinates at the current cursor position. The display is continuously updated as the mouse is moved. It also allows editing to set the canvas center to a given position. The format is lat,lon or east,north - + Current map coordinate (lat,lon or east,north) - - + + Control rendering order - + Map layer list that displays all layers in drawing order. - + Layer order - + [ERROR] Can not make qgis.db private copy - + Update of view in private qgis.db failed. %1 - - + + < Blank > - + QGIS version - + QGIS code revision - + Compiled against Qt - + Running against Qt - + GEOS Version - + PostgreSQL Client Version - - + + No support. - + SpatiaLite Version - + QWT Version - + This copy of QGIS writes debugging output. - + Select zip layers to add... - + Vector - + Vektor - + Raster - + Select vector layers to add... - + PostgreSQL - + Cannot get PostgreSQL select dialog from provider. - + %1 is an invalid layer - not loaded - + SpatiaLite - + Cannot get SpatiaLite select dialog from provider. - + MSSQL - + WMS - + Cannot get WMS select dialog from provider. - + WCS - + Cannot get WCS select dialog from provider. - + WFS - + Cannot get WFS select dialog from provider. - - - + + + QGis files - + Unable to load %1 - + Please select a vector layer first. - + Layer labeling settings - - - + + + Not enough features selected - + Union operation canceled - + Couldn't load Python support library: %1 - + Couldn't resolve python support library's instance() symbol. - + Python support ENABLED :-) - + QGIS - Changes since last release - + Unknown network socket error: %1 - + Current CRS: %1 (OTFR enabled) - + Current CRS: %1 (OTFR disabled) - + This project file was saved by an older version of QGIS - + Warning Varning - + This layer doesn't have a properties dialog. - + Authentication required - + Proxy authentication required @@ -10493,37 +10528,37 @@ This binary was compiled against Qt %1,and is currently running against Qt %2 - + Choose a file name to save the QGIS project file as Välj ett namn för att spara QGIS projektfil - + Choose a file name to save the map image as Välj ett filnamn att spara kartbilden som - + Start editing failed Misslyckades att påbörja redigering - + Provider cannot be opened for editing Källan kan inte öppnas för redigering - + Stop editing Sluta redigera - + Do you want to save the changes to layer %1? Vill du spara ändringarna till lager %1? - + Problems during roll back Problem vid återgång @@ -10532,17 +10567,17 @@ Denna binärfil kompilerades mot Qt %1 och kärs just nu mot Qt %2 Python konsol - + Map coordinates for the current view extents Kartkoordinater för aktuell vys utsträckning - + Maptips require an active layer Karttips kräver ett aktivt lager - + Quantum GIS - %1 ('%2') Quantum GIS - %1 ('%2') @@ -10582,7 +10617,7 @@ Denna binärfil kompilerades mot Qt %1 och kärs just nu mot Qt %2 Ctrl+Shift+B - + Labeling @@ -10636,7 +10671,7 @@ Denna binärfil kompilerades mot Qt %1 och kärs just nu mot Qt %2 Ny - + &Database @@ -10645,211 +10680,211 @@ Denna binärfil kompilerades mot Qt %1 och kärs just nu mot Qt %2 Etikett - - + + Coordinate: - + Current map coordinate - - - + + + Private qgis.db - + Could not open qgis.db - + Migration of private qgis.db failed. %1 - + Compiled against GDAL/OGR - + Running against GDAL/OGR - + %1 doesn't have any layers - + %1 is not a valid or recognized data source %1 är inte en giltig eller känd datakälla - + Cannot get MSSQL select dialog from provider. - - + + Saved project to: %1 Sparade projekt i: %1 - - + + Unable to save project %1 Kunde inte spara projekt %1 - + Saved map image to %1 Sparade kartbild till %1 - + Saving done Spara klart - + Export to vector file has been completed - + Save error Kunde inte spara - + Export to vector file failed. Error: %1 - + Features deleted Objekt borttagna - + Merging features... Slår ihop objekt... - + Abort Avbryt - - + + Composer %1 - - + + No active layer Inget aktivt lager - - + + No active layer found. Please select a layer in the layer list Inget aktivt lager hittades. Välj ett lager i listan - - + + Active layer is not vector Aktivt lager är inte ett vektorlager - - + + The merge features tool only works on vector layers. Please select a vector layer from the layer list Verktyget för att slå ihop objekt fungerar endast på vektorlager. Välj ett vektorlager från listan - - + + Merging features can only be done for layers in editing mode. To use the merge tool, go to Layer->Toggle editing Verktyget för att slå ihop objekt fungerar endast på lager i redigeringsläge. För att använda verktyget gå till Lager->Toggla redigering - - - + + + The merge tool requires at least two selected features Verktyget för att slå ihop objekt kräver minst två valda objekt - + Merged feature attributes - - + + Merge failed - - + + An error occured during the merge operation - - + + The union operation would result in a geometry type that is not compatible with the current layer and therefore is canceled Unionen skulle resultera i en geometri som inte stödjs av nuvarande lager, och avbröts därför - + Merged features Ihopslagna objekt - + Features cut Objekt utklippta - + Features pasted Objekt inklistrade - + Cannot copy style: %1 - + Cannot parse style: %1:%2:%3 - + Cannot read style: %1 - - + + Could not commit changes to layer %1 Errors: %2 @@ -10864,19 +10899,19 @@ Fel: %2 QGIS - Ändringar i SVN sedan förra utgåvan - + Unable to communicate with QGIS Version server %1 Kan inte skapa en uppkopling mot QGIS versionsserver %1 - + The layer %1 is not a valid layer and can not be added to the map - + %n feature(s) selected on layer %1. number of selected features @@ -10884,32 +10919,32 @@ Fel: %2 - + %1 is not a valid or recognized raster data source %1 är inte en giltig eller igenkänd källa till rasterdata - + %1 is not a supported raster data source %1 är inte en rasterkälla som stöds - + <p>This project file was saved by an older version of QGIS. When saving this project file, QGIS will update it to the latest version, possibly rendering it useless for older versions of QGIS.<p>Even though QGIS developers try to maintain backwards compatibility, some of the information from the old project file might be lost. To improve the quality of QGIS, we appreciate if you file a bug report at %3. Be sure to include the old project file, and state the version of QGIS you used to discover the error.<p>To remove this warning when opening an older project file, uncheck the box '%5' in the %4 menu.<p>Version of the project file: %1<br>Current version of QGIS: %2 <p>Denna projektfil sparades av en äldre version av QGIS. När du sparar denna projektifl, kommer QGIS att skriva den med senaste versionen, vilket kan göra den oanvändbar för äldre versioner av QGIS. Även om QGIS utvecklare försöker bibehålla bakåtkompabilitet, så kan en del av information i den gamla projektfilen eventuellt försvinna. För att förbättra kvaliteten på QGIS, uppskattar vi om du skapar en felrapport på %3. Inkludera den gamla projektiflen, och tala om vilken version av QGIS du använde när du upptäckte felet.<p>För att ta bort denna varning när du öppnar gamla projekfiler, avmarkera rutan '%5' i meny %4.<p>Projektfilens version: %1<br>QGIS nuvarande version: %2 - + SSL errors occured accessing URL %1: - + Delete features Borttagna objekt - + Delete %n feature(s)? number of features to delete @@ -11244,19 +11279,19 @@ p, li { white-space: pre-wrap; } QgsApplication - - - + + + Exception Fel - + unknown exception - + Application state: Prefix: %1 Plugin Path: %2 @@ -11270,7 +11305,7 @@ User DB Path: %8 - + match indentation of application state @@ -11612,17 +11647,17 @@ User DB Path: %8 Välj en fil - + Select a date - + (no selection) - + ... ... @@ -12111,45 +12146,50 @@ User DB Path: %8 QgsAttributeTypeDialog - + Select a file Välj en fil - + Error Fel - + Could not open file %1 Error was:%2 - + Dial - - + + Current minimum for this value is %1 and current maximum is %2. - + Attribute has no integer or real type, therefore range is not usable. - + Enumeration is not available for this attribute + + + No filter + + - + Attribute Edit Dialog @@ -12269,45 +12309,55 @@ Error was:%2 Nyckelkolumn - + Value column - + Select layer, key column and value column - + Allow null value - + Order by value - + Allow multiple selections - + + Filter column + + + + + Filter value + + + + Read-only field that generates a UUID if empty. - - + + Slider - - + + Editable @@ -12964,7 +13014,7 @@ Skall existerande klasser tas bort före klassificering? - + Don't show this message again Visa inte detta meddelande igen @@ -13053,17 +13103,17 @@ Skall existerande klasser tas bort före klassificering? - + Composer - + Project contains WMS layers Projektet innehåller WMS-lager - + Some WMS servers (e.g. UMN mapserver) have a limit for the WIDTH and HEIGHT parameter. Printing layers from such servers may exceed this limit. If this is the case, the WMS layer will not be printed En del WMS-servrar (tex UMN mapserver) har begränsningar för parametrarna WIDTH och HEIGHT. Skriver du ut sådana lager kan de gränserna överskridas. Om så är fallet, skrivs WMS-lagret inte ut @@ -16133,60 +16183,89 @@ Error: %5 Vertikal + + QgsCptCityBrowserModel + + + Name + Namn + + + + Info + Info + + + + QgsCptCityColorRampItem + + + colors + + + + + continuous + + + + + continuous (multi) + + + + + discrete + + + + + variants + + + QgsCptCityColorRampV2Dialog - + + %1 directory details + + + + + %1 gradient details + + + + Error - cpt-city gradient files not found. You have two means of installing them: 1) Install the "Color Ramp Manager" python plugin (you must enable Experimental plugins in the plugin manager) and use it to download latest cpt-city package. +You can install the entire cpt-city archive or a selection for QGIS. -2) Download the complete collection (in svg format) and unzip it to your QGis settings directory [%1] . +2) Download the complete archive (in svg format) and unzip it to your QGis settings directory [%1] . This file can be found at [%2] and current file is [%3] - + Selections by theme - + All by author - - colors - - - - - continuous - - - - - continuous (multi) - - - - - discrete - - - - - variants - - - - - gradient %1 details + + You can download a more complete set of cpt-city gradients by installing the "Color Ramp Manager" plugin (you must enable Experimental plugins in the plugin manager). + + @@ -16198,52 +16277,50 @@ and current file is [%3] - Name - Namn + Namn - Info - Info + Info - + Selection and preview - + Path - + Palette Palett - + Information - + License - + Source Källa - + Author(s) - + Details @@ -16812,36 +16889,36 @@ p, li { white-space: pre-wrap; } &Color - Färg + &Färg QgsDecorationGrid - - - - + + + + Error - Fel + Fel - + No active layer - Inget aktivt lager + Inget aktivt lager - + Please select a raster layer - + Väl ett raster-lager - + Invalid raster layer - + Ogiltigt rasterlager - + Layer CRS must be equal to project CRS @@ -16976,27 +17053,27 @@ p, li { white-space: pre-wrap; } QgsDecorationNorthArrow - + Bottom Left Nere till vänster - + Top Left Uppe till vänster - + Top Right Uppe till höger - + Bottom Right Nere till höger - + North arrow pixmap not found Hittade inte nordpilens pixmap @@ -17067,102 +17144,102 @@ p, li { white-space: pre-wrap; } QgsDecorationScaleBar - + Bottom Left Nere till vänster - + Top Left Uppe till vänster - + Top Right Uppe till höger - + Bottom Right Nere till höger - + Tick Down Streck ner - + Tick Up Streck upp - + Bar Streck - + Box Låda - + km - + mm mm - + cm cm - + m m - + miles - + mile - + inches tum - + foot fot - + feet - + degree grader - + degrees - + unknown obekant @@ -17829,19 +17906,19 @@ p, li { white-space: pre-wrap; } QgsDisplayAngle - + %1 degrees - + %1 grader - + %1 radians - + %1 radianer - + %1 gon - + %! gon @@ -17849,12 +17926,11 @@ p, li { white-space: pre-wrap; } Angle - Vinkel + Vinkel - Ellipsoidal - Beräkning på ellipsoid + Beräkning på ellipsoid @@ -17913,22 +17989,22 @@ p, li { white-space: pre-wrap; } Select project file - + Välj projektfil QGis files - + QGis-filer Recursive embeding not possible - + Rekursiv inbäddning ej tillåten It is not possible to embed layers / groups from the current project - + Man kan inte bädda in lager/grupper från nuvaraned projekt @@ -17936,17 +18012,17 @@ p, li { white-space: pre-wrap; } Select layers and groups to embed - + Välj lager och grupper för att bädda in Project file - + Projektfil ... - ... + ... @@ -17959,7 +18035,7 @@ p, li { white-space: pre-wrap; } Cancel &All - + Abryt &alla @@ -17967,67 +18043,67 @@ p, li { white-space: pre-wrap; } Dialog - Dialog + Dialog Search method - + Sökmetod Chain (fast) - Kedja (snabb) + Kedja (snabb) Popmusic Tabu - + Popmusic Tabu Popmusic Chain - + Popmusic Chain Popmusic Tabu Chain - + Popmusic Tabu Chain FALP (fastest) - + FALP (snabbast) Number of candidates - + Antal kandidater Point - Punkt + Punkt Line - Linje + Linje Polygon - Polygon + Polygon Show all labels (i.e. including colliding labels) - + Visa alla etiketter (dvs även kolliderande etiketter) Show label candidates (for debugging) - + Visa alla etikettkandidater (för felsökning) @@ -18035,7 +18111,7 @@ p, li { white-space: pre-wrap; } Expression string builder - + Uttrycksbyggaren @@ -18061,7 +18137,7 @@ p, li { white-space: pre-wrap; } Operators - Operatorer + Operatorer @@ -18096,7 +18172,7 @@ p, li { white-space: pre-wrap; } Search - Sök + Sök @@ -19655,54 +19731,71 @@ Please reselect a valid file. QgsGdalProvider - + Dataset Description Beskrivning av dataset - + Band %1 Band %1 - + Dimensions: Dimensioner: - + X: %1 Y: %2 Bands: %3 X: %1 Y: %2 Band: %3 - + Origin: Origo: - + Pixel Size: Pixelstorlek: - - + out of extent utanför utsträckning - - + null (no data) null (ingen data) - - Average Magphase - Average Magphase + + Gauss + + + + + Cubic + Kubisk + + + + Mode + Läge + None + Ingen + + + Average Magphase + Average Magphase + + + Average Average @@ -21073,222 +21166,222 @@ p, li { white-space: pre-wrap; } QgsGrassEdit - + Edit tools Redigeringsverktyg - + New point Ny punkt - + New line Ny rad - + New boundary Ny gräns - + New centroid Ny centroid - + Move vertex Flytta nod - + Add vertex Lägg till nod - + Delete vertex Ta bort nod - + Move element Flytta element - + Split line Dela linje - + Delete element Ta bort element - + Edit attributes Redigera attribut - + Close Stäng - - - - - - - - - - - + + + + + + + + + + + Warning Varning - + You are not owner of the mapset, cannot open the vector for editing. Du är inte ägare till kartset, kan inte öppna vektorn för redigering. - + Cannot open vector for update. Kan inte öppna vektorn för uppdatering. - + Info Info - + The table was created Tabellen skapades - + Tool not yet implemented. Verktyget finns ännu inte. - + Orphan record was left in attribute table. <br>Delete the record? Föräldralös post finns kvar i attributtabellen. <br>Ta bort posten? - + Cannot delete orphan record: Kan inte ta bort föräldralös post: - + Background Bakgrund - + Highlight Markera - + Dynamic Dynamisk - + Point Punkt - + Line Linje - + Boundary (no area) Gräns (ingen area) - + Boundary (1 area) Gräns (1 area) - + Boundary (2 areas) Gräns (2 areor) - + Centroid (in area) Centroid (i area) - + Centroid (outside area) Centroid (utanför area) - + Centroid (duplicate in area) Centroid (duplikat i area) - + Node (1 line) Nod (1 linje) - + Node (2 lines) Nod (2 linjer) - + Next not used Nästa används inte - + Manual entry Skriv in manuellt - + No category Ingen kategori - + Cannot check orphan record: %1 - + Cannot describe table for field %1 - + Left: %1 - + -- Middle: %1 - + -- Right: %1 @@ -24427,12 +24520,12 @@ Detta kan vara ett problem med din nätverksanslutning eller WMS-servern. - + Font color - + Buffer color @@ -24534,27 +24627,32 @@ Detta kan vara ett problem med din nätverksanslutning eller WMS-servern.kartenheter - + Sample @ %1 pts (using map units) - - Sample @ %1 pts (using map units, STROKE IN mm) + + (not found!) - - Sample (stroke in map units, NOT SHOWN) + + Sample @ %1 pts (using map units, BUFFER IN MILLIMETERS) - + Sample Test - + + Sample (BUFFER NOT SHOWN, in map units) + + + + Expression based label @@ -24577,326 +24675,316 @@ Detta kan vara ett problem med din nätverksanslutning eller WMS-servern. - + Minimum - + Maximum - + Formatted numbers - + Decimal places - + Show plus sign - - + + map units kartenheter - + Pen Join style - + Color area inside of pen stroke - - - + + + Transparency Genomskinlighet - - - + + + % - + Sample text Exempeltext - + Reset sample text - - + + Multi-line align - - + + Word spacing - - + + Letter spacing - - + + Line height - + line - + Left Vänster - + Center - + Right Höger - - + + px - - + + Character width - - B - - - - - I - - - - + U - + S S - + Capitals - + points - + Style Stil - + Mixed Case - + All Uppercase - + All Lowercase - + Small Caps - + Capitalize - + Advanced - + Options Inställningar - + Label every part of multi-part features - + Merge connected lines to avoid duplicate labels - + Add direction symbol - + Features don't act as obstacles for labels - + Wrap label on character - + Placement Placering - + around point - + over point - + parallel - + curved - + horizontal - + over centroid - + around centroid - + horizontal (slow) - + free (slow) - + using perimeter - - - + + + Label distance - + Capitalization - + Add label columns to attribute table - + About data defined values - + mm mm - - + + Rotation - + degrees grader - + above line - + on line - + below line @@ -24905,62 +24993,62 @@ Detta kan vara ett problem med din nätverksanslutning eller WMS-servern.Rotation - + Text style - + Font Typsnitt - + TextLabel TextEtikett - - - - - + + + + + ... ... - - - + + + Color Färg - + Buffer Buffert - - - + + + Size Storlek - + mm mm - + Sample Test - - + + Lorem Ipsum @@ -24969,28 +25057,28 @@ Detta kan vara ett problem med din nätverksanslutning eller WMS-servern.Typsnittsstorlek - - + + In map units - + Priority - + Low - + High - + Scale-based visibility @@ -25007,118 +25095,118 @@ Detta kan vara ett problem med din nätverksanslutning eller WMS-servern.Maximum - + Suppress labeling of features smaller than - + Engine settings - - + + In mm - + Line orientation dependent position - + Data defined settings - + Buffer transparency - + Uncheck to write labeling engine derived rotation on pin and NULL on unpin - + Preserve existing rotation values during label pin/unpin operations - + Display properties - + Minimum scale - + Show label - + Maximum scale - + Font properties - + Bold - + Italic - + Underline - + Font family - + Position Position - + X Coordinate X-koordinat - + Y Coordinate Y-koordinat - + Horizontal alignment - + Vertical alignment - + Strikeout @@ -25128,17 +25216,17 @@ Detta kan vara ett problem med din nätverksanslutning eller WMS-servern. - + Buffer properties - + Buffer size Buffertstorlek - + Buffer color @@ -25559,14 +25647,14 @@ Detta kan vara ett problem med din nätverksanslutning eller WMS-servern. QgsMapCanvas - + Could not draw %1 because: %2 COMMENTED OUT - + Could not draw %1 because: %2 @@ -25712,14 +25800,14 @@ Y: QgsMapRenderer - - + + Transform error caught: %1 - - + + CRS CRS @@ -26083,27 +26171,27 @@ Y: QgsMapToolFeatureAction - + No active vector layer - + To run an action, you must choose a vector layer by clicking on its name in the legend - + No actions available - + The active vector layer has no defined actions - + No features at this position found. @@ -26756,9 +26844,8 @@ http://my.host.com/cgi-bin/mapserv.exe Segment - Ellipsoidal - Beräkning på ellipsoid + Beräkning på ellipsoid @@ -26777,47 +26864,47 @@ http://my.host.com/cgi-bin/mapserv.exe tas från projektinställningarna (%1). - + The calculations are based on: Beräkningarna baseras på: - + Project CRS transformation is turned off. Transformering av koordinatsystem avslagen. - + Canvas units setting is taken from project properties setting (%1). Kartbladets enheter tas från projektinställningarna (%1). - + Ellipsoidal calculation is not possible, as project CRS is undefined. Beräkning på ellipsoid är inte möjlig, eftersom projektets projektion är odefinerad. - + Project CRS transformation is turned on and ellipsoidal calculation is selected. Transformering av koordinatsystem är påslagen och beräkning på ellipsoid är vald. - + The coordinates are transformed to the chosen ellipsoid (%1), and the result is in meters Koordinaterna transformeras till vald ellipsoid (%1) och resultatet fås i meter. - + Project CRS transformation is turned on but ellipsoidal calculation is not selected. Transformering av koordinatsystem är påslagen men beräkning på ellipsoid är ej vald. - + Finally, the value is converted from %2 to %3. Slutligen konverteras värdet från %2 till %3. - + Segments [%1] Segment [%1] @@ -26826,7 +26913,7 @@ http://my.host.com/cgi-bin/mapserv.exe Transformering av koordinatsystem påslagen, och beräkning på ellipsoid är vald. - + The canvas units setting is taken from the project CRS (%1). Kartbladets enheter fås från projektets transform (%1). @@ -26850,12 +26937,12 @@ http://my.host.com/cgi-bin/mapserv.exe QgsMeasureTool - + Incorrect measure results Felaktiga mätresultat - + <p>This map is defined with a geographic coordinate system (latitude/longitude) but the map extents suggests that it is actually a projected coordinate system (e.g., Mercator). If so, the results from line or area measurements will be incorrect.</p><p>To fix this, explicitly set an appropriate map coordinate system using the <tt>Settings:Project Properties</tt> menu. <p>Denna karta är definierad med ett geografisk koordinatsystem (latitud/longitud) men kartans utsträckning indikerar att det i själva verket är ett projicerat koordinatsystem (tex Mercator). Om det är så, kommer inte resultaten från linje- och areamätningar vara korrekt.</p><p>För att fixa detta, sätt rätt koordinatssystem i menyn<tt>Inställningar:Projektegenskaper</tt>. @@ -26978,7 +27065,7 @@ http://my.host.com/cgi-bin/mapserv.exe - + %1 message(s) logged. @@ -26988,17 +27075,17 @@ http://my.host.com/cgi-bin/mapserv.exe Allmänt - + Timestamp - + Message - + Level @@ -27085,7 +27172,7 @@ http://my.host.com/cgi-bin/mapserv.exe - + Test connection Testa anslutning @@ -27104,7 +27191,7 @@ http://my.host.com/cgi-bin/mapserv.exe - + Connection to %1 was successful Uppkoplingen till %1 lyckades @@ -28641,7 +28728,7 @@ Detaljerad felinformation: CRS - CRS + Referenskoordinatsystem @@ -29235,296 +29322,301 @@ Detaljerad felinformation: QgsOptions - - - + + + Semi transparent circle Halvgenomskinlig cirkel - - - + + + Cross Kors - + Detected active locale on your system: %1 Hittade aktiv lokalisering för ditt system: %1 - - Current layer - - - - - Top down, stop at first + + None / Planimetric + Current layer + + + + + Top down, stop at first + + + + Top down - + Show all features - + Show selected features - + Show features in current canvas - + Always - + If needed - + Never - + Load all - + Check file contents - + Check extension - + No Nej - + Basic scan - + Full scan - + Enter scale - + Scale denominator - + Load scales - - + + XML files (*.xml *.XML) - + Save scales - + No Stretch Ingen utsträckning - + Stretch To MinMax Sträck ut till min/max - + Stretch And Clip To MinMax Sträck ut och klipp vid min/max - + Clip To MinMax Klipp till min/max - + To vertex - - + + Cumulative pixel count cut - + Minimum / maximum - + Mean +/- standard deviation - + To segment - + To vertex and segment - - - + + + None Ingen - + Off - + QGIS QGIS - + GEOS - + Round - + Mitre - + Bevel - - - + + + Save default project - + You must set a default project - + Current project saved as default - + Error saving current project as default - + Choose a directory to store project template files - + Selection color Färg för valda - + Create Options - %1 Driver - + Create Options - pyramids - - - + + + Choose a directory Välj en katalog - - + + map units kartenheter - - + + pixels pixlar - + Central point (fastest) Mittpunkt (snabbast) - + Chain (fast) Kedja (snabb) - + Popmusic tabu chain (slow) - + Popmusic tabu (slow) - + Popmusic chain (very slow) @@ -30155,7 +30247,7 @@ Detaljerad felinformation: Automatically enable 'on the fly' reprojection if CRS of a new added layer differ from CRS of layer(s) already present. CRS of present layer(s) will be used. - + Sätt på transformering av koordinater om ett nyligen tillagt lager har ett annat referenskoordinatsystem än de lager/lagren som redan finns. Referenskoordinatsystemet hos befintligt/a lager kommer att användas. @@ -30176,17 +30268,17 @@ Detaljerad felinformation: Always start new projects with this CRS - + Starta alltid nya projekt med detta referenskoordinatsystem Coordinate Reference System for new layers - + Referenskoordinatsystem för nya lager When a new layer is created, or when a layer is loaded that has no Coordinate Reference System (CRS) - + När ett nytt lager skapas, eller när ett nytt lager laddas som inte har något referenskoordinatsystem @@ -30311,7 +30403,7 @@ Detaljerad felinformation: CRS - CRS + Referenskoordinatsystem Prompt for CRS @@ -30373,7 +30465,7 @@ Detaljerad felinformation: Options - Inställningar + Inställningar @@ -30398,17 +30490,17 @@ Detaljerad felinformation: Prompt for &CRS - + Fråga efter &referenskoordinatsystem Use &project CRS - + Använd projektets referenskoordinatsystem Use default CRS displa&yed below - + Använda &standardreferenskoordinatsystem som visas nedan @@ -31061,32 +31153,32 @@ Detaljerad felinformation: - + Select Table Välj tabell - + You must select a table in order to add a layer. Du måste välja en tabell för att lägga till ett lager. - + Stop Stanna - + Postgres/PostGIS Provider - + Could not open the Postgres/PostGIS Provider - + Connect Anslut @@ -32298,6 +32390,8 @@ p, li { white-space: pre-wrap; } + + PostGIS @@ -32447,6 +32541,17 @@ Result: %3 (%4) No Geometry + + + + Query could not be canceled [%1] + + + + + PQgetCancel failed + + Multipoint @@ -32892,7 +32997,7 @@ Choose ignore to continue loading without the missing layers. Choose cancel to r Vector - + Vektor @@ -32923,7 +33028,7 @@ Choose ignore to continue loading without the missing layers. Choose cancel to r CRS %1 was already selected - + Referenskoordinatsystem % var redan valt @@ -32986,17 +33091,17 @@ Proceed? Projektegenskaper - + Meters Meter - + Feet Feet - + Decimal degrees Decimalgrader @@ -33035,275 +33140,266 @@ Proceed? Lagrens enhet (används bara när koordinattransformation är avslagen) - + Degrees, Minutes, Seconds - + Precision Precision - + Automatically sets the number of decimal places in the mouse position display Sätter automatisk antal decimaler vid visning av musens position - + The number of decimal places that are used when displaying the mouse position is automatically set to be enough so that moving the mouse by one pixel gives a change in the position display Antalet decimaler som används vid visning av musens position sätts automatisk så att en förändring av musens läge med en pixel ändrar visad position - + Automatic Automatisk - - + + Sets the number of decimal places to use for the mouse position display Sätter antal decimaler vid visning av musens position - + Manual Manuell - - + + The number of decimal places for the manual option Antal decimaler vid val 'manuell' - + decimal places decimaler - + Project scales - - - - - - - - + + + + + + + + ... ... - + Default Styles - + Default Symbols - + Marker - + Line Linje - + Fill - + Color Ramp Färgökning - + Style Manager - + Options Inställningar - + Assign random colors to symbols - + Opacity - + OWS Server - + Service Capabilitities - + Title Titel - + Person - + Phone - + Abstract Sammanfattning - + E-Mail - + Organization - + Online resource - + WMS Capabilitities - + Advertised Extent - + Min. X - + Min. Y - + Max. X - + Max. Y - + Use Current Canvas Extent - + Coordinate Systems Restrictions - + Add Lägg till - + Remove Ta bort - + Used - + Add WKT geometry to feature info response - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Used when CRS transformation is turned off.</span></p></body></html> - - - - + Canvas units - + Degree - + Degree display - + Degrees, Minutes - + Advertised WMS url - + Maximum width - + Maximum height - + WFS Capabilitities - + Published @@ -33312,23 +33408,23 @@ p, li { white-space: pre-wrap; } Digitalisering - + Identifiable layers - - + + Layer Lager - + Type Typ - + Identifiable @@ -33361,12 +33457,17 @@ p, li { white-space: pre-wrap; } Bakgrundsfärg - + + Used when CRS transformation is turned off + Används när koordinattransformering är avslagen + + + Coordinate Reference System (CRS) Koordinaternas referenssystem (CRS) - + Enable 'on the fly' CRS transformation Aktivera omedelbar koordinattransformation @@ -33416,7 +33517,7 @@ Därför fungerar inte projektionsväljaren... Hide deprecated CRSs - + Göm föråldrade referenskoordinatsystem Find @@ -33687,67 +33788,67 @@ p, li { white-space: pre-wrap; } QgsQuickPrint - + km km - + mm mm - + cm cm - + m m - + miles eng. mil - + mile eng. mil - + inches tum - + foot fot - + feet fot - + degree grader - + degrees grader - + unknown obekant - + Please wait while your report is generated COMMENTED OUT bortkommenterad @@ -33982,10 +34083,40 @@ p, li { white-space: pre-wrap; } - + Band Band + + + Average + Average + + + + Nearest Neighbour + Nearest Neighbour + + + + Gauss + + + + + Cubic + Kubisk + + + + Mode + Läge + + + + None + Ingen + QgsRasterFormatSaveOptionsWidget @@ -33995,64 +34126,68 @@ p, li { white-space: pre-wrap; } Standard - + + No compression - + + Low compression - + + High compression - + + Lossy compression - + Create Options: %1 - + Cannot get create options for driver %1 - + No help available - + Valid - + Invalid - + Profile name: - + Use simple interface - + Use table interface @@ -34065,55 +34200,60 @@ p, li { white-space: pre-wrap; } Formulär - + New Ny - + Remove Ta bort - + Reset - + Profile - + Name Namn - + Value Värde - + + + - + Validate - + Help Hjälp - + - - + + + Insert KEY=VALUE pairs separated by spaces + + QgsRasterHistogramWidget @@ -34260,37 +34400,37 @@ p, li { white-space: pre-wrap; } QgsRasterLayer - - - - - + + + + + Not Set Inte satt - + Could not reproject view extent: %1 - - - - - - - + + + + + + + Raster - + Could not reproject layer extent: %1 - + Driver: Drivrutin: @@ -34307,158 +34447,158 @@ p, li { white-space: pre-wrap; } Pixelstorlek: - + Pyramid overviews: Pyramidöversikter: - - + + Band Band - + Band No Bandnr - + No Stats Ingen statistik - + No stats collected yet Ingen statistik har samlats in - + Min Val MinVärde - + Max Val MaxVärde - + Range Intervall - + Mean Medel - + Sum of squares Kvadratsumma - + Standard Deviation Standardavvikelse - + Sum of all cells Summa av alla celler - + Cell Count Cellantal - + Failed to load provider %1 (Reason: %2) - + Cannot resolve the classFactory function - + Cannot instantiate the data provider - + <maplayer> not found. - + GDAL data type %1 is not supported - + Data Type: Datatyp: - + GDT_Byte - Eight bit unsigned integer GDT_Byte - Åttabitars ickenegativt heltal - + GDT_UInt16 - Sixteen bit unsigned integer GDT_UInt16 - Sextonbitars ickenegativt heltal - + GDT_Int16 - Sixteen bit signed integer GDT_Int16 - Sextonbitars heltal - + GDT_UInt32 - Thirty two bit unsigned integer GDT_UInt32 - Trettiotvåbitars ickenegativt heltal - + GDT_Int32 - Thirty two bit signed integer GDT_Int32 - Trettiotvåbitars heltal - + GDT_Float32 - Thirty two bit floating point GDT_Float32 - Trettiotvåbitars flyttal - + GDT_Float64 - Sixty four bit floating point GDT_Float64 - Sextiofyrabitars flyttal - + GDT_CInt16 - Complex Int16 GDT_CInt16 - Komplex Int16 - + GDT_CInt32 - Complex Int32 GDT_CInt32 - Komplex Int32 - + GDT_CFloat32 - Complex Float32 GDT_CFloat32 - Komplex Float32 - + GDT_CFloat64 - Complex Float64 GDT_CFloat64 - Komplex Float64 - + Could not determine raster data type. Kunde inte bestämma rastertyp. @@ -34475,22 +34615,22 @@ p, li { white-space: pre-wrap; } Beskrivning av dataset - + No Data Value Inget datavärde - + Layer Spatial Reference System: Lagrets Spatial Reference System: - + Layer Extent (layer original source projection): - + Project Spatial Reference System: Projektets Spatial Reference System: @@ -34503,7 +34643,7 @@ p, li { white-space: pre-wrap; } null (ingen data) - + NoDataValue not set Inget datavärde ej satt @@ -34516,12 +34656,12 @@ p, li { white-space: pre-wrap; } X: %1 Y: %2 Band: %3 - + QgsRasterLayer created QgsRasterLayer skapat - + Retrieving stats for %1 Hämtar statistik för %1 @@ -34550,51 +34690,51 @@ p, li { white-space: pre-wrap; } Inte satt - + Columns: Kolumner: - + Rows: Rader: - + No-Data Value: Inget datavärde: - - - + + + n/a --- - - + + Write access denied Skrivåtkomst nekad - + Write access denied. Adjust the file permissions and try again. Skrivåtkomst nekad. Justera filrättigheterna och försök igen. - - - - + + + + Building pyramids failed. Kunde ej skapa pyramider. - - + + Building pyramid overviews is not supported on this type of raster. Denna typ av raster stödjer ej att bygga pyramider. @@ -34627,9 +34767,8 @@ p, li { white-space: pre-wrap; } Kvantiler - - - + + Red Röd @@ -34646,90 +34785,99 @@ p, li { white-space: pre-wrap; } Etikett - + Layer Properties - %1 - - + + Nearest neighbour Närmaste granne - - + + Bilinear - - + + Cubic Kubisk - - + + Average Average - + None Ingen - - - + + Green Grön - - - + + Blue Blå - - - - - - - + + + + + Percent Transparent Procent genomskinlighet - - + Gray Grå - - + Indexed Value Indexerat värde - + + From + + + + + To + + + + + null (no data) + null (ingen data) + + + Filter - + Bands - + Time @@ -34738,28 +34886,28 @@ p, li { white-space: pre-wrap; } Användardefinerad - + No-Data Value: Not Set Inget datavärde ej satt - + Save file Spara fil - + Load layer properties from style file - - + + QGIS Layer Style File - + Save layer properties as style file @@ -34768,7 +34916,7 @@ p, li { white-space: pre-wrap; } Textfil (*.txt) - + QGIS Generated Transparent Pixel Value Export File Fil med genomskinliga pixlars värde skapad av QGIS @@ -34781,17 +34929,17 @@ p, li { white-space: pre-wrap; } Välj ett filnamn att spara kartbilden som - + Open file Öppna fil - + Import Error Fel vid import - + out of extent utanför utsträckning @@ -34804,12 +34952,12 @@ p, li { white-space: pre-wrap; } - + Read access denied Läsåtkomst nekad - + Read access denied. Adjust the file permissions and try again. @@ -34822,22 +34970,22 @@ p, li { white-space: pre-wrap; } Färgökning - + Description Beskrivning - + Large resolution raster layers can slow navigation in QGIS. Raster med hög upplösning kan sinka navigeringen i QGIS. - + By creating lower resolution copies of the data (pyramids) performance can be considerably improved as QGIS selects the most suitable resolution to use depending on the level of zoom. Genom att skapa kopior med lägre upplösning (pyramider) kan prestanda avsevärt förbättras, genom att QGIS väljer den lämpligaste upplösningen beroende på zoom-nivå. - + You must have write access in the directory where the original data is stored to build pyramids. Du måste ha skrivrättigheter i biblioteket som den ursprungliga datan ligger för att kunna bygga pyramider. @@ -34854,17 +35002,17 @@ p, li { white-space: pre-wrap; } Exakt - + Please note that building internal pyramids may alter the original data file and once created they cannot be removed! Den ursprungliga datafilen kan ändras när du bygger pyramider, och de kan ej tas bort efter de har skapats. - + Please note that building internal pyramids could corrupt your image - always make a backup of your data first! Din bild kan förstöras när du bygger pyramider. Ta alltid backup FÖRST! - + The file was not writable. Some formats do not support pyramid overviews. Consult the GDAL documentation if in doubt. Filen var inte skrivbar. Vissa format stödjer inte pyramider. Kontrollera med GDAL-dokumentation om du är osäker. @@ -34881,8 +35029,8 @@ p, li { white-space: pre-wrap; } Läs in färgkarta - - + + Default Style Standardstil @@ -34891,8 +35039,8 @@ p, li { white-space: pre-wrap; } QGIS lager stilfil (*.qml) - - + + Saved Style Sparad stil @@ -34924,38 +35072,38 @@ p, li { white-space: pre-wrap; } Standard R:%1 G:%2 B:%3 - + Columns: %1 Kolumner:-%1 - + Rows: %1 Rader: %1 - + No-Data Value: %1 Inget datavärde: %1 - + Write access denied. Adjust the file permissions and try again. Skrivåtkomst nekad. Justera filrättigheterna och försök igen. - + Building internal pyramid overviews is not supported on raster layers with JPEG compression and your current libtiff library. Nuvarande libtiff-bibliotek stödjer inte att bygga pyramider från lager med JPEG-kompression. - - + + Textfile - + The following lines contained errors %1 @@ -35040,12 +35188,12 @@ p, li { white-space: pre-wrap; } Pyramider - + Average Average - + Nearest Neighbour Nearest Neighbour @@ -35055,7 +35203,7 @@ p, li { white-space: pre-wrap; } Bild - + Histogram Histogram @@ -35422,62 +35570,26 @@ p, li { white-space: pre-wrap; } Palett - + Notes Noteringar - + Pyramid resolutions Pyramidupplösningar - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Cantarell'; font-size:11pt; font-weight:400; font-style:normal;"> -<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;"> -<tr> -<td style="border: none;"> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif';"><br /></p></td></tr></table></body></html> - - - - Build pyramids internally if possible - Bygga pyrmaider internt om möjligt + Bygga pyrmaider internt om möjligt - + Resampling method Omsamplingsmetod - + Build pyramids Bygg pyramider @@ -35502,27 +35614,56 @@ p, li { white-space: pre-wrap; } Tillåt approximering - + Restore Default Style Återskapa standardstil - + Save As Default Spara som standard - + Load Style ... Läs in stil... - + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Cantarell'; font-size:11pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> + + + + + Overview format + + + + + External + + + + + Internal (if possible) + + + + + External (Erdas Imagine) + + + + Pipe - + Save Style ... Spara stil... @@ -35530,62 +35671,82 @@ p, li { white-space: pre-wrap; } QgsRasterLayerSaveAsDialog - + + From + + + + + To + + + + Select output directory - + Select output file - - + + layer - - + + user defined - - Resolution + + Resolution (current: %1) - - - current + + Extent (current: %1) - + + Layer (%1, %2) + + + + + Project (%1, %2) + + + + + Selected (%1, %2) + + + + map view - Extent - Utsträckning + Utsträckning - Layer - Lager + Lager - Project - Projekt + Projekt - Selected - Vald + Vald @@ -35600,11 +35761,6 @@ p, li { white-space: pre-wrap; } Output mode - - - Write out raw raster layer data. Optionaly user defined no data values may be applied. - - Raw data @@ -35638,7 +35794,7 @@ p, li { white-space: pre-wrap; } CRS - CRS + Referenskoordinatsystem @@ -35651,107 +35807,180 @@ p, li { white-space: pre-wrap; } Utsträckning - + West Väst - + East Öst - + North Nord - + South Syd - + Map view extent - + Layer extent - + + Write out raw raster layer data. Optionally user defined no data values may be applied. + + + + Resolution - + Horizontal Horisontell - + Columns Kolumner - + Rows Rader - + Layer resolution - + Layer size - + Vertical Vertikal - + Create Options - + Tiles - - + + Maximum number of columns in one tile. - + Max columns - - + + Maximum number of rows in one tile. - + Max rows - + Create VRT + + + Additional no data values. The specified values will be set to no data in output raster. + + + + + No data values + + + + + Add values manually + Lägg till värden för hand + + + + + + + ... + ... + + + + Load user defined fully transparent (100%) values + + + + + Remove selected row + Ta bort vald rad + + + + Clear all + + + + + Pyramids + Pyramider + + + + No pyramids + + + + + Build pyramids + Bygg pyramider + + + + Use existing + + + + + Resolutions + + + + + Pyramid resolutions corresponding to levels given + + QgsRasterMinMaxWidgetBase @@ -35826,6 +36055,69 @@ p, li { white-space: pre-wrap; } Läs in + + QgsRasterPyramidsOptionsWidgetBase + + + Form + Formulär + + + + Custom levels + + + + + External + + + + + Internal (if possible) + + + + + External (Erdas Imagine) + + + + + Insert positive integer values separated by spaces + + + + + Average + Average + + + + Nearest Neighbour + Nearest Neighbour + + + + Overview format + + + + + Create Options + + + + + Levels + + + + + Resampling method + Omsamplingsmetod + + QgsRasterTerrainAnalysisDialog @@ -37960,7 +38252,7 @@ SQL: %1 Coordinate reference system(CRS) of "%1" is invalid(see CRS of provider). - + Referenskoordinatsystemet för "%1" är ogiltigt (se referenskooridnatsystemet för providern). @@ -37968,12 +38260,12 @@ SQL: %1 CRS of map is %1. %2. - + Referenskoordinatsystem för kartan är %1. Zoom to feature - + Zooma till objekt @@ -39079,152 +39371,197 @@ Overwrite? - + Symbol Name - + Please enter a name for new symbol: - + new symbol - - + + new marker + + + + + new line + + + + + new fill symbol + + + + + Save symbol - + Cannot save symbol without name. Enter a name. - + Symbol with name '%1' already exists. Overwrite? - - + + Gradient - - + + Random - - + + ColorBrewer - - + + cpt-city - + Color ramp type - + Please select color ramp type: - - Color ramp name + + new ramp - - Please enter name for new color ramp: + + new gradient ramp - - new color ramp + + new random ramp - - + + Color Ramp Name + + + + + Please enter a name for new color ramp: + + + + + Save Color Ramp + + + + + Cannot save color ramp without name. Enter a name. + + + + + Save color ramp + + + + + Color ramp with name '%1' already exists. Overwrite? + + + + + Invalid Selection - + The parent group you have selected is not user editable. Kindly select a user defined group. - + Operation Not Allowed - + Creation of nested smart groups are not allowed Select the 'Smart Group' to create a new group. - + Invalid selection - + Cannot delete system defined categories. Kindly select a group or smart group you might want to delete. - + Error! - + New group could not be created. There was a problem with your symbol database. - + Database Error Databasfel - + There was a problem with the Symbols database while regrouping. - + You have not selected a Smart Group. Kindly select a Smart Group to edit. - + Database Error! - + There was some error while editing the smart group. @@ -40223,22 +40560,22 @@ Skall existerande klasser tas bort före klassificering? QgsVectorLayer - + ERROR: no provider FEL: ingen datakälla - + ERROR: layer not editable FEL: lager kan ej skrivas - + SUCCESS: attribute %1 was added. RÄTT: attribut %1 lades till. - + ERROR: attribute %1 not added FEL: attribut %1 lades inte till @@ -40253,17 +40590,17 @@ Skall existerande klasser tas bort före klassificering? Klassifikationsfält kunde ej hittas - + renderer failed to save - + no renderer - + SUCCESS: %n attribute(s) deleted. deleted attributes count @@ -40272,7 +40609,7 @@ Skall existerande klasser tas bort före klassificering? - + ERROR: %n attribute(s) not deleted. not deleted attributes count @@ -40281,7 +40618,7 @@ Skall existerande klasser tas bort före klassificering? - + SUCCESS: %n attribute(s) added. added attributes count @@ -40290,7 +40627,7 @@ Skall existerande klasser tas bort före klassificering? - + ERROR: %n new attribute(s) not added not added attributes count @@ -40299,7 +40636,7 @@ Skall existerande klasser tas bort före klassificering? - + SUCCESS: %n attribute value(s) changed. changed attribute values count @@ -40308,7 +40645,7 @@ Skall existerande klasser tas bort före klassificering? - + ERROR: %n attribute value change(s) not applied. not changed attribute values count @@ -40317,7 +40654,7 @@ Skall existerande klasser tas bort före klassificering? - + SUCCESS: %n feature(s) added. added features count @@ -40326,7 +40663,7 @@ Skall existerande klasser tas bort före klassificering? - + ERROR: %n feature(s) not added. not added features count @@ -40335,7 +40672,7 @@ Skall existerande klasser tas bort före klassificering? - + ERROR: %n feature(s) not added - provider doesn't support adding features. not added features count @@ -40343,7 +40680,7 @@ Skall existerande klasser tas bort före klassificering? - + SUCCESS: %n geometries were changed. changed geometries count @@ -40352,7 +40689,7 @@ Skall existerande klasser tas bort före klassificering? - + ERROR: %n geometries not changed. not changed geometries count @@ -40361,7 +40698,7 @@ Skall existerande klasser tas bort före klassificering? - + SUCCESS: %n feature(s) deleted. deleted features count @@ -40370,7 +40707,7 @@ Skall existerande klasser tas bort före klassificering? - + ERROR: %n feature(s) not deleted. not deleted features count @@ -40379,121 +40716,121 @@ Skall existerande klasser tas bort före klassificering? - + Provider errors: - + Commit errors: %1 - + General: Allmänt: - + Layer comment: %1 Lagerkommentar: %1 - + Storage type of this layer: %1 Lagringstyp för detta lager: %1 - + Source for this layer: %1 Källa för detta lager : %1 - + Geometry type of the features in this layer: %1 Geometrityp på objekten i detta lager: %1 - + The number of features in this layer: %1 Antal objekt i detta lager: %1 - + Editing capabilities of this layer: %1 Möjlighet till redigering i detta lager: %1 - + Extents: Utsträckning: - + In layer spatial reference system units : I lagrets Spatial Reference System-enheter : - - + + xMin,yMin %1,%2 : xMax,yMax %3,%4 xMin,yMin %1,%2 : xMax,yMax %3,%4 - + unknown extent - - + + In project spatial reference system units : I projektets Spatial Reference System-enheter : - + Layer Spatial Reference System: Lagrets Spatial Reference System: - + Project (Output) Spatial Reference System: Projektets (visade) koordinatsystem: - + (Invalid transformation of layer extents) (Ogiltig transformering av lagrets utsträckning) - + Attribute field info: Attributfält info: - + Field Fält - + Type Typ - + Length Längd - + Precision Precision - + Comment Kommentar @@ -41066,7 +41403,7 @@ Skall existerande klasser tas bort före klassificering? Specify CRS - Specificera CRS + Specificera referenskoordinatsystem @@ -41243,7 +41580,7 @@ Skall existerande klasser tas bort före klassificering? CRS - CRS + Referenskoordinatsystem @@ -41449,17 +41786,17 @@ Skall existerande klasser tas bort före klassificering? Layer CRS - + Lagrets referenskoordinatsystem Project CRS - + Projektets referenskoordinatsystem Selected CRS - + Valt referenskoordinatsystem @@ -41487,7 +41824,7 @@ Skall existerande klasser tas bort före klassificering? CRS - CRS + Referenskoordinatsystem @@ -41614,7 +41951,7 @@ Skall existerande klasser tas bort före klassificering? No CRS selected - + Inget referenskoordinatsystem valt @@ -41987,12 +42324,12 @@ Features No common CRS for selected layers. - + Inget gemensamt referenskoordinatsystem för valda lager. No CRS selected - + Inget referenskoordinatsystem valt @@ -42214,7 +42551,7 @@ Features CRS - CRS + Referenskoordinatsystem @@ -42579,13 +42916,13 @@ Response was: - + Property Egenskap - + Value Värde @@ -42596,54 +42933,136 @@ Response was: - + Title Titel - + Abstract Sammanfattning - + + Fixed Width + Fast bredd + + + + Fixed Height + Fast höjd + + + + Native CRS + + + + + Native Bounding Box + + + + WGS 84 Bounding Box WGS 84 begränsningsruta - - + + + Available in CRS + Tillgänglig i referenskoordinatsystem + + + + + (and %n more) + crs + + (och %1 till) + + + + + + + Available in format + + + + + Coverages - + + Cache Stats + + + + Server Properties - + + Keywords + Nyckelord + + + + Online Resource + Online-resurser + + + + Contact Person + Kontaktperson + + + + Fees + Avgifter + + + + Access Constraints + Åtkomstbegränsningar + + + + Image Formats + Bildformat + + + + GetCapabilitiesUrl + + + + Get Coverage Url - + &nbsp;<font color="red">(advertised but ignored)</font> - + And %1 more coverages - + out of extent utanför utsträckning - + null (no data) null (ingen data) @@ -42665,7 +43084,7 @@ Response was: Request contains a CRS not offered by the server for one or more of the Layers in the request. - Förfrågan innehåller en CRS för ett eller flera lager i anropet, som servern inte tillhandahåller. + Förfrågan innehåller ett referenskoordinatsystem för ett eller flera lager i anropet, som servern inte tillhandahåller. @@ -43048,7 +43467,7 @@ Response was: Available in CRS - Tillgänglig i CRS + Tillgänglig i referenskoordinatsystem @@ -43093,7 +43512,7 @@ Response was: CRS - CRS + Referenskoordinatsystem @@ -48270,7 +48689,7 @@ Insticksprogrammet stängs av. Vector - + Vektor From f8109a7cbabecae17f7bfea3a854a9f3d4ec4023 Mon Sep 17 00:00:00 2001 From: Magnus Homann Date: Fri, 31 Aug 2012 15:08:03 +0200 Subject: [PATCH 10/12] =?UTF-8?q?Svensk=20=C3=B6vers=C3=A4ttning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/TRANSLATORS | 2 +- i18n/qgis_sv.ts | 190 ++++++++++++++++++++++++------------------------ 2 files changed, 98 insertions(+), 94 deletions(-) diff --git a/doc/TRANSLATORS b/doc/TRANSLATORS index a4c64034146..3eaff81e124 100644 --- a/doc/TRANSLATORS +++ b/doc/TRANSLATORS @@ -29,7 +29,7 @@ Greek, Modern (1453-) (Greece)
40.8
Evripidis Argyropoulos, Mike Pegnigiannis, Nikos Ves Icelandic
37.9
Thordur Ivarsson Mongolian
36.2
Bayarmaa Enkhtur -Swedish
32.5
Lars Luthman, Magnus Homann +Swedish
33.7
Lars Luthman, Magnus Homann Finnish
25.4
Marko Jarvenpaa Danish (Denmark)
25.3
Preben Lisby Georgian (Georgia)
24.1
Shota Murtskhvaladze, George Machitidze diff --git a/i18n/qgis_sv.ts b/i18n/qgis_sv.ts index 3e49ee9d817..52a10ee6889 100644 --- a/i18n/qgis_sv.ts +++ b/i18n/qgis_sv.ts @@ -689,81 +689,81 @@ p, li { white-space: pre-wrap; } Take summary of intersecting features - + Ta summan av överlappande objekt Mean - Medel + Medel Min - Min + Min Max - Max + Max Sum - + Summa Median - Median + Median Random Selection From Within Subsets - + Slumpmässigt val från subset Input subset field (unique ID field) - + Subsetfält (unikt-ID fält) Select by location - Välj efter plats + Välj efter plats Sum Line Length In Polygons - + Summa linjelängd i polygoner Output summed length field name - + Fältnamn för den summerade längden LENGTH - + Längd Input line vector layer - + Linjevektorlager med indata Grid extent - + Rutnätets utsträckning Update extents from layer - + Uppdatera utsträckning från lager Update extents from canvas - + Uppdatera utsträckning från kartblad @@ -1213,7 +1213,7 @@ This may cause unexpected results. Please select a raster layer - + Väl ett raster-lager Unable to compute extents aligned on selected raster layer @@ -6787,7 +6787,7 @@ Vill du specificera sökväg (GISBASE) till installationen av GRASS? - + Python error Pythonfel @@ -7316,50 +7316,50 @@ Vill du specificera sökväg (GISBASE) till installationen av GRASS?Konverterar vektorlager mellan format som OGR-biblioteket stöder - + Couldn't load SIP module. Kunde inte läsa in SIP-modul. - - - - + + + + Python support will be disabled. Pythonstöd stängs av. - + Couldn't load PyQt4. Kunde inte ladda PyQt4. - + Couldn't load PyQGIS. Kunde inte ladda PyQGIS. - + Couldn't load QGIS utils. Kunde inte ladda qgis.utils. - + Python version: Python version: - + QGIS version: QGIS version: - + Python path: Python sökväg: - + An error occured during execution of following code: Ett fel inträffade vid exekvernig av följande kod: @@ -8131,7 +8131,7 @@ Only %1 of %2 features written.
- + QGIS starting in non-interactive mode not supported. You are seeing this message most likely because you have no DISPLAY environment variable set. @@ -9704,13 +9704,13 @@ You are seeing this message most likely because you have no DISPLAY environment Calculating... - + Beräknar... Abort... - + Avbryt... @@ -9736,7 +9736,7 @@ You are seeing this message most likely because you have no DISPLAY environment No Raster Layer Selected - + Inget rasterlager valt @@ -9903,12 +9903,12 @@ You are seeing this message most likely because you have no DISPLAY environment GPS Information - + GPS Information Extents: - Utsträckning: + Utsträckning: @@ -10143,7 +10143,7 @@ Kontakta utvecklarna. Failed to open Python console: - + Kunde inte öppna python-konsolen: &Edit @@ -10209,45 +10209,48 @@ Kontakta utvecklarna. Always ignore these errors? - + + +Ignorera alltid dessa fel? %n SSL errors occured number of errors - - + + %n SSL-fel inträffade + %n SSL-fel inträffade Select raster layers to add... - + Välj rasterlager att lägga till... Log Messages - + Loggmeddelande QGIS starting... - + QGIS startar... Window - + Fönster Vect&or - + Vekt&or &Web - + &Web @@ -10257,13 +10260,13 @@ Always ignore these errors? Current map coordinate (lat,lon or east,north) - + Aktuell koordinat (lat/lon eller nord/ost) Control rendering order - + Styr renderingsordning @@ -10273,7 +10276,7 @@ Always ignore these errors? Layer order - + Lagerordning @@ -10290,58 +10293,58 @@ Always ignore these errors? < Blank > - + < Blank > QGIS version - + QGIS-version QGIS code revision - + QGIS kodrevision Compiled against Qt - + Kompilerad för Qt Running against Qt - + Kör med Qt GEOS Version - + GEOS-version PostgreSQL Client Version - + PostgreSQL-klientversion No support. - + Inget stöd. SpatiaLite Version - + SpatiaLite-version QWT Version - + QWT-version This copy of QGIS writes debugging output. - + Den här kopian av Qgis skriver ut felsökningsinformation. @@ -10351,22 +10354,22 @@ Always ignore these errors? Vector - Vektor + Vektor Raster - + Raster Select vector layers to add... - + Välj vektorlager att lägga till... PostgreSQL - + PostgreSQL @@ -10381,7 +10384,7 @@ Always ignore these errors? SpatiaLite - + @@ -10391,12 +10394,12 @@ Always ignore these errors? MSSQL - + WMS - + @@ -10406,7 +10409,7 @@ Always ignore these errors? WCS - + @@ -10416,7 +10419,7 @@ Always ignore these errors? WFS - + @@ -10428,7 +10431,7 @@ Always ignore these errors? QGis files - + QGis-filer @@ -11212,22 +11215,22 @@ p, li { white-space: pre-wrap; } Add vector join - + Lägg till ihopslagning av vektor Join layer - + Slå ihop lager Join field - Slå ihop fält + Slå ihop fält Target field - + Målfält @@ -11626,17 +11629,17 @@ User DB Path: %8 Error - Fel + Fel Error: %1 - + Fel: %1 Attributes - %1 - + Attribut - %1
@@ -11644,17 +11647,17 @@ User DB Path: %8 Select a file - Välj en fil + Välj fil Select a date - + Välj datum (no selection) - + (ej valt) @@ -11712,13 +11715,13 @@ User DB Path: %8 Ascending - + Stigande Descending - + Avtagande @@ -11726,42 +11729,42 @@ User DB Path: %8 Select attributes - + Välj attribut <b>Attribute</b> - + <b>Attribut>/b> <b>Alias</b> - + <b>Alias</b> Select all - + Välj alla Clear - Radera + Radera Sorting - + Sortering Column - Kolumn + Kolumn Ascending - + Stigande @@ -11769,7 +11772,7 @@ User DB Path: %8 Attributes changed - + Attribut ändrades @@ -11777,7 +11780,7 @@ User DB Path: %8 Attribute changed - Attribut ändrats + Attribut ändrades @@ -23903,7 +23906,7 @@ Detta kan vara ett problem med din nätverksanslutning eller WMS-servern. Zoom to feature - + Zooma till objekt @@ -43656,6 +43659,7 @@ Försökte med URL: %1 (and %n more) crs + (och %1 till) From d247b1ddabebd39e756e8b108d6a12d7b1256c6b Mon Sep 17 00:00:00 2001 From: Magnus Homann Date: Fri, 31 Aug 2012 23:14:50 +0200 Subject: [PATCH 11/12] =?UTF-8?q?Svensk=20=C3=B6vers=C3=A4ttning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/TRANSLATORS | 2 +- i18n/qgis_sv.ts | 1144 +++++++++++++++++++++++++---------------------- 2 files changed, 598 insertions(+), 548 deletions(-) diff --git a/doc/TRANSLATORS b/doc/TRANSLATORS index 3eaff81e124..e47e6b8d391 100644 --- a/doc/TRANSLATORS +++ b/doc/TRANSLATORS @@ -27,9 +27,9 @@ Chinese (Taiwan, Province of China)
45.1
Nung-yao Lin Vietnamese
42.8
Bùi Hữu Mạnh Greek, Modern (1453-) (Greece)
40.8
Evripidis Argyropoulos, Mike Pegnigiannis, Nikos Ves +Swedish
39.4
Lars Luthman, Magnus Homann Icelandic
37.9
Thordur Ivarsson Mongolian
36.2
Bayarmaa Enkhtur -Swedish
33.7
Lars Luthman, Magnus Homann Finnish
25.4
Marko Jarvenpaa Danish (Denmark)
25.3
Preben Lisby Georgian (Georgia)
24.1
Shota Murtskhvaladze, George Machitidze diff --git a/i18n/qgis_sv.ts b/i18n/qgis_sv.ts index 52a10ee6889..a7179379779 100644 --- a/i18n/qgis_sv.ts +++ b/i18n/qgis_sv.ts @@ -818,7 +818,7 @@ p, li { white-space: pre-wrap; } Target field - + Målfält @@ -1349,7 +1349,7 @@ This may cause unexpected results. Select all - + Välj alla @@ -1429,7 +1429,7 @@ This may cause unexpected results. Dimensions - + Dimensioner @@ -1574,7 +1574,7 @@ This may cause unexpected results. Dimensions - + Dimensioner @@ -1798,7 +1798,7 @@ columns Raster - + Raster @@ -2548,7 +2548,7 @@ The "Use intersected extent" option will be unchecked. Empty extent - + Tom utsträckning The computed extent is empty. @@ -3840,7 +3840,7 @@ The 'gray' value (from GDAL 1.7.0) enables to expand a dataset with a Input line vector layer - + Linjevektorlager med indata Polygon from layer extent @@ -4337,278 +4337,278 @@ GEOS geoprocessing error: One or more input features have invalid geometry. &Edit - Redigera + R&edigera &File - &Arkiv + &Arkiv &Open Recent Projects - &Öppna senaste projekt + &Öppna senaste projekt Print Composers - + Utskriftskomponerare &View - &Visa + &Visa Select - + Välj Measure - Mät + Mät &Layer - &Lager + &Lager New - Ny + Ny &Settings - &Inställningar + In&ställningar &Plugins - Insticks&program + Insticks&program &Decorations - &Dekoreringar + &Dekoreringar &Raster - + &Raster &Help - &Hjälp + &Hjälp New Project From Template - + Nytt projekt från mall File - + Arkiv Manage Layers - Hantera lager + Hantera lager Digitizing - Digitalisering + Digitalisering Advanced Digitizing - Avancerad digitalisering + Avancerad digitalisering Map Navigation - Kartnavigering + Kartnavigering Attributes - Attribut + Attribut Plugins - Insticksprogram + Insticksprogram Help - Hjälp + Hjälp Raster - + Raster Label - Etikett + Etikett Vector - Vektor + Vektor Database - Databas + Databas Web - Web + Web &New Project - &Nytt projekt + &Nytt projekt Ctrl+N - Ctrl+N + Ctrl+N &Open Project... - &Öppna projekt... + &Öppna projekt... Ctrl+O - Ctrl+O + Ctrl+O &Save Project - &Spara projekt + &Spara projekt Ctrl+S - Ctrl+S + Ctrl+S Save Project &As... - Sp&ara projekt som... + Sp&ara projekt som... Ctrl+Shift+S - + Ctrl+Shift+S Save as Image... - Spara som bild... + Spara som bild... &New Print Composer - + &Ny utskriftskomponerare Ctrl+P - Ctrl+P + Ctrl+P Embed Layers and Groups... - + Bädda in lager och grupper... Run Feature Action - + Kör objektkommando Touch zoom and pan - + Touch-zooma och flytta Offset Curve - + Offsetkurva Exit - Avsluta + Avsluta Ctrl+Q - Ctrl+Q + Ctrl+Q &Undo - Ångra + &Ångra Ctrl+Z - Ctrl+Z + Ctrl+Z &Redo - Åte&rställ + Åte&rställ Ctrl+Shift+Z - Ctrl+Shift+Z + Ctrl+Shift+Z Cut Features - Klipp objekt + Klipp objekt Ctrl+X - Ctrl+X + Ctrl+X Copy Features - Kopiera objekt + Kopiera objekt Ctrl+C - Ctrl+C + Ctrl+C Paste Features - Klistra in objekt + Klistra in objekt Ctrl+V - Ctrl+V + Ctrl+V Capture Point @@ -4617,7 +4617,7 @@ GEOS geoprocessing error: One or more input features have invalid geometry. Ctrl+. - Ctrl+. + Ctrl+. Capture Line @@ -4638,47 +4638,47 @@ GEOS geoprocessing error: One or more input features have invalid geometry. Move Feature(s) - + Flytta objekt Reshape Features - + Omforma objekt Split Features - Dela objekt + Dela objekt Delete Selected - Ta bort vald + Ta bort vald Add Ring - Lägg till ring + Lägg till ring Add Part - + Lägg till del Simplify Feature - Förenkla objekt + Förenkla objekt Delete Ring - Ta bort ring + Ta bort ring Delete Part - Ta bort del + Ta bort del Merge selected features @@ -4687,264 +4687,265 @@ GEOS geoprocessing error: One or more input features have invalid geometry. Node Tool - Nodverktyg + Nodverktyg Rotate Point Symbols - + Rotera punktsymbol Snapping Options... - + Val för fästning... Pan Map - Panorera karta + Panorera karta Zoom In - Zooma In + Zooma In Ctrl++ - Ctrl++ + Ctrl++ Zoom Out - Zooma ut + Zooma ut Ctrl+- - Ctrl+- + Ctrl+- Identify Features - Identifiera objekt + Identifiera objekt Ctrl+Shift+I - + Ctrl+Shift+I Measure Line - + Mät linje Ctrl+Shift+M - Ctrl+Shift+M + Ctrl+Shift+M Measure Area - Mät area + Mät area Ctrl+Shift+J - Ctrl+Shift+J + Ctrl+Shift+J Measure Angle - + Mär vinkel Zoom Full - Zooma hela + Zooma hela Ctrl+Shift+F - Ctrl+Shift+F + Ctrl+Shift+F Zoom to Layer - Zooma till lager + Zooma till lager Zoom to Selection - Zooma till vald + Zooma till vald Ctrl+J - Ctrl+J + Ctrl+J Zoom Last - Zooma senaste + Zooma senaste Zoom Next - Zooma nästa + Zooma nästa Zoom Actual Size - Zooma till verklig storlek + Zooma till verklig storlek Zoom to Native Pixel Resolution - + Zooma till bästa upplösning Map Tips - Karttips + Karttips Show information about a feature when the mouse is hovered over it - Visa objektets information när musen är över objektet + Visa objektets information när musen är över objektet New Bookmark... - Nytt bokmärke... + Nytt bokmärke... Ctrl+B - Ctrl+B + Ctrl+B Show Bookmarks - Visa bokmärken + Visa bokmärken Ctrl+Shift+B - Ctrl+Shift+B + Ctrl+Shift+B Refresh - Uppdatera + Uppdatera Ctrl+R - Ctrl+R + Ctrl+R Text Annotation - + Textkommentar Move Annotation - + Flytta kommentar Labeling - + Etiketter Layer Labeling Options - + Alternativ för lageretiketter New Shapefile Layer... - + Nytt Shapefil-lager... Ctrl+Shift+N - Ctrl+Shift+N + Ctrl+Shift+N New SpatiaLite Layer ... - + Nytt SpatiaLite-lager... Ctrl+Shift+A - + Ctrl+Shift+A Raster calculator ... - + Rasterkalkylator... Add Vector Layer... - Lägg till vektorlager... + Lägg till vektorlager... Ctrl+Shift+V - Ctrl+Shift+V + Ctrl+Shift+V Add Raster Layer... - Lägg till rasterlager... + Lägg till rasterlager... Ctrl+Shift+R - Ctrl+Shift+R + Ctrl+Shift+R Rotate Label Ctl (Cmd) increments by 15 deg. - + Rotera etikett +Ctrl (Cmd) ökar i steg om 15 grader. Copy style - + Kopiera stil Paste style - + Klista in stil Add WCS Layer... - + Lägg till WCS-lager... &Grid - + Rutn&ät Grid - + Rutnät Pin/Unpin Labels - + Fäst/Lösgör etiketter @@ -4952,19 +4953,22 @@ Ctl (Cmd) increments by 15 deg. Click or marquee on label to pin Shift unpins, Ctl (Cmd) toggles state Acts on all editable layers - + Fäst/Lösgär etiketter +Klicka på etiketten för att fästa +Shift lösgör, Ctrl-(Cmd)-byter tillstånd +Fungerar på alla redigerbara lager Highlight Pinned Labels - + Markera fasta etiketter New Blank Project - + Nytt tomt projekt @@ -4989,7 +4993,7 @@ Acts on all editable layers Show/Hide Labels - + Visa/Göm etiketter @@ -4997,7 +5001,10 @@ Acts on all editable layers Click or marquee on feature to show label Shift+click or marquee on label to hide it Acts on currently active editable layer - + Visa/Göm etiketter +Klicka på objekt för att visa etikett +Shift-klicka för att göma +Fungear på aktuellt redigerbart lager Add PostGIS Layer... @@ -5006,32 +5013,32 @@ Acts on currently active editable layer Ctrl+Shift+D - Ctrl+Shift+D + Ctrl+Shift+D Add SpatiaLite Layer... - Lägg till SpatiaLite-lager... + Lägg till SpatiaLite-lager... Ctrl+Shift+L - Ctrl+Shift+L + Ctrl+Shift+L Add WMS Layer... - Lägg till WMS-lager... + Lägg till WMS-lager... Ctrl+Shift+W - Ctrl+Shift+W + Ctrl+Shift+W Open Attribute Table - Öppna attributtabell + Öppna attributtabell Toggle editing @@ -5040,42 +5047,42 @@ Acts on currently active editable layer Toggles the editing state of the current layer - Togglar redigeringstillståndet för aktuellt lager + Togglar redigeringstillståndet för aktuellt lager Save edits to current layer, but continue editing - + Spara redigeringar till aktuellt lager och fortsätt redigera Remove Layer(s) - + Ta bort lager Ctrl+D - Ctrl+D + Ctrl+D Set CRS of Layer(s) - + Sätt referenskoordinatsystem för lager Ctrl+Shift+C - Ctrl+Shift+C + Ctrl+Shift+C Remove All from Overview - + Ta bort allt från översikten Style Manager... - + Hantera stilar... @@ -5085,7 +5092,7 @@ Acts on currently active editable layer Customization... - + Anpassningar... @@ -5100,179 +5107,179 @@ Acts on currently active editable layer Ctrl+M - Ctrl+M + Ctrl+M Embed layers and groups from other project files - + Lägg till lager och grupper från andra projektfiler &Copyright Label - &Copyrighttext + &Copyrighttext Creates a copyright label that is displayed on the map canvas. - Skapar en text om upphovsskydd som visas på kartbladet. + Skapar en text om upphovsskydd som visas på kartbladet. &North Arrow - &Nordpil + &Nordpil "Creates a north arrow that is displayed on the map canvas" - + Skapar en nordpil som visas på kartbladet &Scale Bar - &Skala + &Skala Creates a scale bar that is displayed on the map canvas - Skapar en skala som visas på kartbladet + Skapar en skala som visas på kartbladet Add WFS Layer... - + Lägg till WFS-lager... Add WFS Layer - + Lägg till WFS-lager Feature Action - + Objektkommando Pan Map to Selection - + Panorera karta till valt Properties... - Egenskaper... + Egenskaper... Composer Manager... - + Komponeringshanterare... Add Feature - + Lägg till objekt Merge Selected Features - + Slå ihop valda objekt Merge Attributes of Selected Features - + Slå ihop attribut från valda objekt Select Single Feature - + Välj enstaka objekt Select Features by Rectangle - + Välj objekt med rektangel Select Features by Polygon - + Välj objekt med polygon Select Features by Freehand - + Välj objekt med friformsritning Select Features by Radius - + Välj objekt med radie Deselect Features from All Layers - + Välj bort objekt från alla lager Form Annotation - + Formulärkommentar Add PostGIS Layers... - + Lägg till PostGIS-lager... Add MSSQL Spatial Layer... - + Lägg till MSSQL-Spatial lager... Toggle Editing - + Toggla redigering Save Edits - + Spara redigeringar Save As... - Spara som... + Spara som... Save Selection as Vector File... - + Spara valt som vektorfil... Set Project CRS from Layer - + Sätt projektets referenskoordinatsystem från lager Query... - + Fråga... Add to Overview - Lägg till i översikt + Lägg till i översikt Ctrl+Shift+O - Ctrl+Shift+O + Ctrl+Shift+O Add All to Overview - Lägg till allt i översikten + Lägg till allt i översikten Remove All From Overview @@ -5281,62 +5288,62 @@ Acts on currently active editable layer Show All Layers - Visa alla lager + Visa alla lager Ctrl+Shift+U - Ctrl+Shift+U + Ctrl+Shift+U Hide All Layers - Göm alla lager + Göm alla lager Ctrl+Shift+H - Ctrl+Shift+H + Ctrl+Shift+H Manage Plugins... - Hantera insticksprogram.. + Hantera insticksprogram... Toggle Full Screen Mode - Toggla fullskärmsläge + Toggla fullskärmsläge Ctrl+F - + Ctrl+F Project Properties... - Projektegenskaper... + Projektegenskaper... Ctrl+Shift+P - Ctrl+Shift+P + Ctrl+Shift+P Options... - Alternativ... + Alternativ... Custom CRS... - Anpassad CRS... + Anpassade referenskoordinatsystem... Configure shortcuts... - Konfigurera genvägar... + Konfigurera genvägar... @@ -5351,68 +5358,68 @@ Acts on currently active editable layer Help Contents - Hjälpinnehåll + Hjälpinnehåll F1 - F1 + F1 API documentation - + API-dokumentation QGIS Home Page - QGIS Hemsida + QGIS Hemsida Ctrl+H - Ctrl+H + Ctrl+H Check QGIS Version - + Kontrollera Qgis version Check if your QGIS version is up to date (requires internet access) - Kontrollera om din QGIS version är aktuell (kräver internetanslutning) + Kontrollera om din QGIS version är aktuell (kräver internetanslutning) About - Om + Om QGIS Sponsors - + QGIS sponsorer Move Label - + Flytta etikett Rotate Label - + Rotera etikett Change Label - + Ändra etikett Python Console - Python konsol + Python konsol @@ -5650,50 +5657,50 @@ Acts on currently active editable layer Download OSM data - + Ladda ner OSM-data Extent - Utsträckning + Utsträckning Latitude: - Latitud: + Latitud: From - + från To - + till Longitude: - Longitud: + Longitud: <nothing> - + <inget> ... - ... + ... Download to: - + Ladda ner till: @@ -5713,20 +5720,20 @@ Acts on currently active editable layer Download - Ladda ned + Ladda ned Cancel - Avbryt + Avbryt OSM Download - OSM nedladdning + OSM nedladdning Unable to save the file %1: %2. - + Kan ej spara filen %1: %2. Waiting for OpenStreetMap server ... @@ -5738,47 +5745,47 @@ Acts on currently active editable layer Check your internet connection - + Kontrollera din internetanslutning OSM Download Error - OSM nedladdnings fel + OSM nedladdningsfel Download failed: %1. - Nedladdnignen misslyckades + Nedladdningen misslyckades: %1. Choose file to save - + Välj fil att spara OSM Files (*.osm) - + OSM-filer (*.osm) Getting data - Hämtar data + Hämtar data The OpenStreetMap server you are downloading OSM data from (~ api.openstreetmap.org) has fixed limitations of how much data you can get. As written at <http://wiki.openstreetmap.org/wiki/Getting_Data> neither latitude nor longitude extent of downloaded region can be larger than 0.25 degrees. Note that Quantum GIS allows you to specify any extent you want, but OpenStreetMap server will reject all request that won't satisfy downloading limitations. - Openstreetmap servern som du hämtar data från (api.openstreetmap.org) har begränsningar på hur mycket data du får häta. Läs mer på <http://wiki.openstreetmap.org/wiki/Getting_Data> varken bredd- eller längdgrad kan vara större än 0.25 grader, och även mängden data är begränsad per nedladdning. Märk väl att Quantum GIS tillåter dig att välja vilken storlek som helst på nedladdnigns området, men Openstreetmap servern kommer att avböja alla försök till att ladda ner för mycket data. + Openstreetmap servern som du hämtar data från (api.openstreetmap.org) har begränsningar på hur mycket data du får häta. Läs mer på <http://wiki.openstreetmap.org/wiki/Getting_Data> varken bredd- eller längdgrad kan vara större än 0.25 grader, och även mängden data är begränsad per nedladdning. Märk väl att Quantum GIS tillåter dig att välja vilken storlek som helst på nedladdnigns området, men Openstreetmap servern kommer att avböja alla försök till att ladda ner för mycket data. Both extents are too large! - Både lat och lon är större än 0.25 grader + Båda utsräckningarna är för stora! Latitude extent is too large! - Breddgrads (lat) området är för stort! + Breddgrads (lat) området är för stort! Longitude extent is too large! - Längdgrads (lon) området är för stort! + Längdgrads (lon) området är för stort! OK! Area is probably acceptable to server. - OK! Nedladdning av detta området accepteras troligen. + OK! Nedladdning av detta området accepteras troligen.
@@ -6067,7 +6074,7 @@ Acts on currently active editable layer OSM Files (*.osm) - + OSM-filer (*.osm) OSM Load @@ -6138,7 +6145,7 @@ Acts on currently active editable layer Download OSM data - + Ladda ner OSM-data Download OpenStreetMap data @@ -6208,7 +6215,7 @@ Please change this situation first, because OSM Plugin doesn't know what la OSM Files (*.osm) - + OSM-filer (*.osm) Save OSM to file @@ -6216,7 +6223,7 @@ Please change this situation first, because OSM Plugin doesn't know what la Unable to save the file %1: %2. - + Kan ej spara filen %1: %2. Initializing... @@ -7738,7 +7745,7 @@ Error(%2): %3 Raster - + Raster @@ -7776,6 +7783,7 @@ Error(%2): %3 number of duplicate nodes + @@ -8374,7 +8382,7 @@ You are seeing this message most likely because you have no DISPLAY environment PostgreSQL - + PostgreSQL @@ -8853,7 +8861,7 @@ You are seeing this message most likely because you have no DISPLAY environment Internal Compass - + Intern kompass @@ -10622,7 +10630,7 @@ Denna binärfil kompilerades mot Qt %1 och kärs just nu mot Qt %2 Labeling - + Etiketter Ctrl+Shift+V @@ -10911,14 +10919,15 @@ Fel: %2 The layer %1 is not a valid layer and can not be added to the map - + Lagret %1 är inte ett giltigt lager och kan inte läggas till kartan %n feature(s) selected on layer %1. number of selected features - - + + %n objekt valt på lager %1. + %n objekt valda på lager %1. @@ -10939,7 +10948,7 @@ Fel: %2 SSL errors occured accessing URL %1: - + SSL-fel inträffade vid åtkomst av URL %1: @@ -11004,7 +11013,7 @@ Denna QGIS har inte byggts med SpatiaLite-stöd. &Raster - + &Raster @@ -11019,7 +11028,7 @@ Denna QGIS har inte byggts med SpatiaLite-stöd. Attributes changed - + Attribut ändrades @@ -11032,7 +11041,7 @@ Denna QGIS har inte byggts med SpatiaLite-stöd. about:blank - + about:blank @@ -11066,7 +11075,7 @@ Denna QGIS har inte byggts med SpatiaLite-stöd. Contributors - Medarbetare + Medarbetare @@ -11106,7 +11115,7 @@ Denna QGIS har inte byggts med SpatiaLite-stöd. <p>For a list of individuals and institutions who have contributed money to fund QGIS development and other project costs see <a href="http://qgis.org/en/sponsorship/donors.html">http://qgis.org/en/sponsorship/donors.html</a></p> - + <p>För en lista över de individer och institutioner som har bidragit med pengar för att finansiera utveckling av QGIS och andra projektkostnader, se <a href="http://qgis.org/en/sponsorship/donors.html">http://qgis.org/en/sponsorship/donors.html</a></p> @@ -11126,7 +11135,7 @@ Denna QGIS har inte byggts med SpatiaLite-stöd. Qt Image Plugin Search Paths <br> - + Sökväg för insticksprogram förQt Image <br> @@ -11164,12 +11173,12 @@ p, li { white-space: pre-wrap; } Warning - Varning + Varning Invalid field name. This field name is reserved and cannot be used. - + Ogiltigt fältnamn. Fältnamnet är reserverat och kan ej användas. @@ -11291,7 +11300,7 @@ p, li { white-space: pre-wrap; } unknown exception - + okänt fel @@ -11305,14 +11314,24 @@ Default Theme Path: %6 SVG Search Paths: %7 User DB Path: %8 - + Applikationstillstånd: +Prefix: %1 +Plugin-sökväg: %2 +Package Data-sökväg: %3 +Aktivt tema: %4 +Aktivt tema-sökväg: %5 +Standard tema-sökväg: %6 +SVG-sökväg: %7 +Användaredatabas-sökväg: %8 + match indentation of application state - + +' @@ -11326,7 +11345,7 @@ User DB Path: %8 Insert expression - + Skriv in uttryck @@ -11341,22 +11360,22 @@ User DB Path: %8 Echo attribute's value - + Eka atrtibutvärde Run an application - + Kör en applikation Get feature id - + Ta objekt-id Selected field's value (Identify features tool) - + Välj fältvärde (Identifiera-verktyget) @@ -11808,6 +11827,7 @@ User DB Path: %8 feature count + @@ -11816,6 +11836,7 @@ User DB Path: %8 feature count + @@ -11834,6 +11855,7 @@ User DB Path: %8 matching features + @@ -12445,13 +12467,13 @@ Error was:%2 &Add - L&ägg till + L&ägg till Error - Fel + Fel @@ -12459,54 +12481,59 @@ Error was:%2 Database: %1 Driver: %2 Database: %3 - + Kan inte öppna databas över bokmärken. +Databas: %1 +Drivrutin: %2 +Databas: %3 Name - Namn + Namn Project - Projekt + Projekt xMin - + xMin yMin - + yMin xMax - + xMax yMax - + yMax SRID - SRID + SRID New bookmark - + Nytt bokmärke Unable to create the bookmark. Driver:%1 Database:%2 - + Kan inteskapa bokmärke.. +Drivrutin: %1 +Databas: %2 @@ -12517,19 +12544,20 @@ Database:%2 Are you sure you want to delete %n bookmark(s)? number of rows - - + + Vill du verkligen ta bort %n bokmärke? + Vill du verkligen ta bort %n bokmärken? Empty extent - + Tom utsträckning Reprojected extent is empty. - + Projicerad utsträckning är tom Error deleting bookmark @@ -12585,7 +12613,7 @@ Database:%2 WMS - + WMS @@ -12595,12 +12623,12 @@ Database:%2 CRS - CRS + Referenskoordinatsystem Cannot set layer CRS - + Kan inte sätta lagrets referenskoordinatsystem @@ -12664,22 +12692,22 @@ Database:%2 Set layer CRS - + Sätt lagrets referenskoordinatsystem Manage WMS - + Hantera WMS Manage WMS Connections - + Hantera WMS-anslutning Ctrl+Shift+W - Ctrl+Shift+W + Ctrl+Shift+W @@ -12687,59 +12715,59 @@ Database:%2 Browser - Bläddrare + Bläddrare Refresh - Uppdatera + Uppdatera Add Selection - + Lägg till valt Add Selected Layers - + Lägg till valda lager Collapse All - + Slå ihop alla Add as a favourite - + Lägg till som favorit Remove favourite - + Ta bort favorit Add Layer - + Lägg till lager Properties - Egenskaper + Egenskaper Error - Fel + Fel Layer Properties - Lageregenskaper + Lageregenskaper @@ -12747,27 +12775,27 @@ Database:%2 Dialog - Dialog + Dialog Display Name - + Namn Layer Source - + Lagerkälla Provider - + Dataplugin Metadata - Metadata + Metadata @@ -12775,12 +12803,12 @@ Database:%2 Home - + Hem Favourites - + Favoriter @@ -12788,77 +12816,77 @@ Database:%2 Solid - Solid + Solid Horizontal - Horisontell + Horisontell Vertical - Vertikal + Vertikal Cross - Kors + Kors BDiagonal - + FDiagonal - + Diagonal X - + Dense 1 - + Tät 1 Dense 2 - + Tät 2 Dense 3 - + Tät 3 Dense 4 - + Tät 4 Dense 5 - + Tät 5 Dense 6 - + Tät 6 Dense 7 - + Tät 7 No Brush - + Ingen pensel @@ -12974,12 +13002,12 @@ Skall existerande klasser tas bort före klassificering? Show compass - + Visa kompass &About - &Om + &Om @@ -12987,7 +13015,7 @@ Skall existerande klasser tas bort före klassificering? Pixmap not found - Hittade inte pixmap + Hittade ingen pixmap @@ -12995,12 +13023,12 @@ Skall existerande klasser tas bort före klassificering? Internal Compass - + Intern kompass Azimut - + Azimut @@ -13053,7 +13081,7 @@ Skall existerande klasser tas bort före klassificering? Composition - Komposition + Komposition @@ -13108,7 +13136,7 @@ Skall existerande klasser tas bort före klassificering? Composer - + Komponerare @@ -13179,56 +13207,56 @@ Skall existerande klasser tas bort före klassificering? General options - + Allmänna alternativ Arrow outline width - + Pilens kantbredd Arrowhead width - + Pilhuvudets bredd Arrow color - + Pilens färg Arrow color changed - + Pilens färg har ändrats Arrow marker changed - + Pilens markör har ändrats Arrow start marker - + Pilens startmarkör Start marker svg file - + Startmarkörens SVG-fil End marker svg file - + Pilens slutmarkör SVG fil Arrow end marker - + Pilens slutmarkör @@ -13236,63 +13264,63 @@ Skall existerande klasser tas bort före klassificering? Form - Formulär + Formulär Arrow - + Pil Arrow color... - + Pilfärg Line width - + Linjebredd Arrow head width - + Pilhuvudets bredd Arrow markers - + Pilmarkörer Default marker - + Standardmarkör No marker - + Ingen markör SVG markers - + SVG-markör Start marker - + Startmarkör ... - ... + ... End marker - + Slutmarkör @@ -13371,7 +13399,7 @@ Skall existerande klasser tas bort före klassificering? Toolbar - + Verktygsrad @@ -13390,12 +13418,12 @@ Skall existerande klasser tas bort före klassificering? Add Legend - + Lägg till teckenförklaring Add new legend - + Lägg till ny teckenförklaring @@ -13566,95 +13594,95 @@ Skall existerande klasser tas bort före klassificering? &Quit - + Av&sluta Quit - Avsluta + Avsluta Ctrl+Q - Ctrl+Q + Ctrl+Q Add Rectangle - + Lägg till rektangel Add Triangle - + Lägg till triangel Add Ellipse - + Lägg till ellips Add html - + Lägg till HTML Add html frame - + Lägg till HTML-ram Add arrow - + Lägg till pil Add table - + Lägg till tabell Adds attribute table - + Lägg till attributtabell Page Setup - + Sidinställning Undo - Ångra + Ångra Revert last change - + Ångra senaste ändring Ctrl+Z - Ctrl+Z + Ctrl+Z Redo - Gör om + Gör om Restore last change - + Ta tillbaka senaste ändring Ctrl+Shift+Z - Ctrl+Shift+Z + Ctrl+Shift+Z @@ -13682,7 +13710,7 @@ Skall existerande klasser tas bort före klassificering? General options - + Allmänna alternativ @@ -13826,7 +13854,7 @@ Skall existerande klasser tas bort före klassificering? General options - + Allmänna alternativ @@ -14278,7 +14306,7 @@ Skall existerande klasser tas bort före klassificering? General options - + Allmänna alternativ @@ -14572,7 +14600,7 @@ Skall existerande klasser tas bort före klassificering? Grid - + Rutnät @@ -14733,7 +14761,7 @@ Skall existerande klasser tas bort före klassificering? General options - + Allmänna alternativ @@ -14870,7 +14898,7 @@ Skall existerande klasser tas bort före klassificering? General options - + Allmänna alternativ @@ -15075,7 +15103,7 @@ Skall existerande klasser tas bort före klassificering? Line width - + Linjebredd @@ -15123,7 +15151,7 @@ Skall existerande klasser tas bort före klassificering? General options - + Allmänna alternativ @@ -15232,7 +15260,7 @@ Skall existerande klasser tas bort före klassificering? General options - + Allmänna alternativ @@ -16649,7 +16677,7 @@ and current file is [%3] Collapse All - + Slå ihop alla @@ -18601,47 +18629,47 @@ p, li { white-space: pre-wrap; } Devices - + Enheter Delete - + Ta bort New - Ny + Ny Update - Uppdatera + Uppdatera Track download - + Ladda ner spår Route upload - + Ladda upp rutt Waypoint download - + Ladda ner brytpunkter Route download - + Ladda ner rutt Track upload - + Ladda upp spår @@ -18666,7 +18694,7 @@ p, li { white-space: pre-wrap; } Waypoint upload - + Ladda upp brytpunkter @@ -18688,17 +18716,17 @@ p, li { white-space: pre-wrap; } Connecting... - Ansluter... + Ansluter... Timed out! - + Timeout! Connected! - + Ansluten! Connect @@ -18707,117 +18735,117 @@ p, li { white-space: pre-wrap; } /gps - + /gps No path to the GPS port is specified. Please enter a path then try again. - + Ej angivet sökväg till GPS-porten. Ange en sökväg och försök igen. Connecting to GPS device... - + Ansluter till GPS-enhet... Failed to connect to GPS device. - + Misslyckad anslutning till GPS-enhet. Dis&connect - + Koppla ne&d Connected to GPS device. - + Ansluten till GPS-enhet. Error opening log file. - + Kunde ej öppna loggfil. Disconnected... - + Nedkopplad... &Connect - + K&oppla upp Disconnected from GPS device. - + Nedkopplad från GPS-enhet. %1 m - + %1 m %1 km/h - + %1 km/h Automatic - Automatisk + Automatisk Manual - Manuell + Manuell 3D - 3D + 3D 2D - 2D + 2D No fix - + Ingen låsning Differential - + Differentiell Non-differential - + Icke-diferentiell No position - + Ingen position Valid - + Giltig Invalid - + Ogiltig NMEA files - + NMEA-filer Not a vector layer @@ -18847,23 +18875,23 @@ p, li { white-space: pre-wrap; } Not enough vertices - + Ej tillräckligt med noder Cannot close a line feature until it has at least two vertices. - + Kan inte sluta ett linjeobjekt förrän det har minst två noder. Cannot close a polygon feature until it has at least three vertices. - + Kan inte sluta ett polygonobjekt förrän det har minst tre noder. Feature added - Objekt lades till + Objekt lades till @@ -18872,7 +18900,7 @@ p, li { white-space: pre-wrap; } Error - Fel + Fel @@ -18881,7 +18909,7 @@ p, li { white-space: pre-wrap; } Errors: %2 - Kunde inte spara ändringar till lager %1 + Kunde inte spara ändringar till lager %1 Fel: %2 @@ -18889,42 +18917,42 @@ Fel: %2 The feature could not be added because removing the polygon intersections would change the geometry type - + Objektet kunde inte läggas till, eftersom borttagning av polygonöverlappning skulle förändra typen av geometri An error was reported during intersection removal - + Ett fel inträffade under borttagning av överlappning Cannot add feature. Unknown WKB type. Choose a different layer and try again. - + Kan inte lägga till objekt. Okänd WKB-type. Välj ett annat lager och försök igen. Save GPS log file as - + Spara GPS-loggfil som &Add feature - + Lägg till obje&kt &Add Point - + Lägg till &punkt &Add Line - + Lägg till &linje &Add Polygon - + Lägg till poly&gon @@ -18943,7 +18971,7 @@ Fel: %2 ... - ... + ... Connect @@ -18956,57 +18984,57 @@ Fel: %2 Autodetect - + Autodetektera Port - Port + Port Host - Dator + Dator Device - + Enhet Small - + Liten Large - + Stor never - + aldrig always - + alltid Track - + Spår GPS Connect - + GPS Anslut &Add feature - + Lägg till &objekt @@ -19017,157 +19045,163 @@ red = no fix or bad fix gray = no data 2D/3D depends on this information being available - + Snabbstatusindikator: +grön: bra eller 3D-fix +gul: bra 2D-fix +red: ingen eller dålig fix +grå: ingen data + +2D/3D beror på om informationen är tillgänglig Add track point - + Lägg till spårpunkt Reset track - + Nollställ spår Position - Position + Position Signal - + Signal Satellite - + Satellit Options - Inställningar + Inställningar Debug - + Felsök &Connect - + K&oppla upp latitude of position fix (degrees) - + Latitud positionsfix (grader) Longitude - + Longitud longitude of position fix (degrees) - + longitud positionsfix (grader) antenna altitude with respect to geoid (mean sea level) - + Antennens höjd över geoid (havsmedelnivån) Altitude - + Höjd Latitude - + Latitud Time of fix - + Tid för fix date/time of position fix (UTC) - + datum/tid för positionsfix (UTC) speed over ground - + hastighet över mark Speed - + Hastighet track direction (degrees) - + spårriktning (grader) Direction - + Riktning Horizontal Dilution of Precision - + Horisontell DOP HDOP - + HDOP Vertical Dilution of Precision - + Vertikal DOP VDOP - + VDOP Position Dilution of Precision - + Positionell DOP PDOP - + PDOP GPS receiver configuration 2D/3D mode: Automatic or Manual - + GPS-mottagarens configuration 2D/3D-mod: Automatiskt eller manuell Mode - Läge + Läge position fix dimensions: 2D, 3D or No fix - + positionsfix dimensioner: 2D, 3D eller Ingen fix. Dimensions - + Dimensioner @@ -19736,62 +19770,62 @@ Please reselect a valid file. Dataset Description - Beskrivning av dataset + Beskrivning av dataset Band %1 - Band %1 + Band %1 Dimensions: - Dimensioner: + Dimensioner: X: %1 Y: %2 Bands: %3 - X: %1 Y: %2 Band: %3 + X: %1 Y: %2 Band: %3 Origin: - Origo: + Origo: Pixel Size: - Pixelstorlek: + Pixelstorlek: out of extent - utanför utsträckning + utanför utsträckning null (no data) - null (ingen data) + null (ingen data) Gauss - + Gauss Cubic - Kubisk + Kubisk Mode - Läge + Läge None - Ingen + Ingen Average Magphase @@ -19800,7 +19834,7 @@ Please reselect a valid file. Average - Average + Average @@ -19834,122 +19868,122 @@ Please reselect a valid file. A5 (148x210 mm) - A5 (148x210 mm) + A5 (148x210 mm) A4 (210x297 mm) - A4 (210x297 mm) + A4 (210x297 mm) A3 (297x420 mm) - A3 (297x420 mm) + A3 (297x420 mm) A2 (420x594 mm) - A2 (420x594 mm) + A2 (420x594 mm) A1 (594x841 mm) - A1 (594x841 mm) + A1 (594x841 mm) A0 (841x1189 mm) - A0 (841x1189 mm) + A0 (841x1189 mm) B5 (176 x 250 mm) - B5 (176 x 250 mm)' + B5 (176 x 250 mm)' B4 (250 x 353 mm) - B4 (250 x 353 mm) + B4 (250 x 353 mm) B3 (353 x 500 mm) - B3 (353 x 500 mm) + B3 (353 x 500 mm) B2 (500 x 707 mm) - B2 (500 x 707 mm) + B2 (500 x 707 mm) B1 (707 x 1000 mm) - B1 (707 x 1000 mm) + B1 (707 x 1000 mm) B0 (1000 x 1414 mm) - B0 (1000 x 1414 mm) + B0 (1000 x 1414 mm) Legal (8.5x14 inches) - Legal (8.5x14 inches) + Legal (8.5x14 tum) ANSI A (Letter; 8.5x11 inches) - ANSI A (Letter; 8.5x11 tum) + ANSI A (Letter; 8.5x11 tum) ANSI B (Tabloid; 11x17 inches) - ANSI B (Tabloid; 11x17 tum) + ANSI B (Tabloid; 11x17 tum) ANSI C (17x22 inches) - ANSI C (17x22 tum) + ANSI C (17x22 tum) ANSI D (22x34 inches) - ANSI D (22x34 tum) + ANSI D (22x34 tum) ANSI E (34x44 inches) - ANSI E (34x44 tum) + ANSI E (34x44 tum) Arch A (9x12 inches) - Arch A (9x12 tum) + Arch A (9x12 tum) Arch B (12x18 inches) - Arch B (12x18 tum) + Arch B (12x18 tum) Arch C (18x24 inches) - Arch C (18x24 tum) + Arch C (18x24 tum) Arch D (24x36 inches) - Arch D (24x36 tum) + Arch D (24x36 tum) Arch E (36x48 inches) - Arch E (36x48 tum) + Arch E (36x48 tum) Arch E1 (30x42 inches) - Arch E1 (30x42 tum) + Arch E1 (30x42 tum) @@ -19957,73 +19991,73 @@ Please reselect a valid file. Configure Georeferencer - + Konfigurera georefererare Point tip - + Punkttips Show IDs - + Visa ID Show coords - + Visa koordinater PDF report - + PDF-rapport Left margin - + Vänstermarginal mm - mm + mm Right margin - + Högermarginal Show Georeferencer window docked - + Visa georefereraren dockad PDF map - + PDF-karta Paper size - + Pappersstorlek Residual units - + Residualenheter Pixels - + Pixlar Use map units if possible - + Använd kartenheter om möjligt @@ -20040,7 +20074,11 @@ Please reselect a valid file. p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Droid Sans'; font-size:11pt; font-weight:400; font-style:normal;"> <p style="-qt-paragraph-type:empty; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:10pt;"></p></body></html> - + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Droid Sans'; font-size:11pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:10pt;"></p></body></html> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> @@ -20570,7 +20608,7 @@ p, li { white-space: pre-wrap; } Configure Georeferencer - + Konfigurera georefererare @@ -20669,7 +20707,7 @@ p, li { white-space: pre-wrap; } Raster - + Raster @@ -21130,6 +21168,7 @@ p, li { white-space: pre-wrap; } number of layers to delete + @@ -22293,7 +22332,7 @@ at line %2 column %3 Warning - Varning + Varning @@ -23568,7 +23607,7 @@ at line %2 column %3 Provider - + Dataplugin @@ -23618,6 +23657,7 @@ at line %2 column %3 unhandled layers + @@ -23641,7 +23681,7 @@ at line %2 column %3 Provider - + Dataplugin @@ -23755,7 +23795,7 @@ at line %2 column %3 about:blank - + about:blank
@@ -25510,7 +25550,7 @@ Detta kan vara ett problem med din nätverksanslutning eller WMS-servern. Select all - + Välj alla @@ -25909,12 +25949,12 @@ Y: The feature could not be added because removing the polygon intersections would change the geometry type - + Objektet kunde inte läggas till, eftersom borttagning av polygonöverlappning skulle förändra typen av geometri An error was reported during intersection removal - + Ett fel inträffade under borttagning av överlappning @@ -26287,7 +26327,7 @@ Y: Raster - + Raster @@ -27009,7 +27049,7 @@ http://my.host.com/cgi-bin/mapserv.exe Sum - + Summa @@ -33005,12 +33045,12 @@ Choose ignore to continue loading without the missing layers. Choose cancel to r WMS - + WMS Raster - + Raster @@ -34103,7 +34143,7 @@ p, li { white-space: pre-wrap; } Gauss - + Gauss @@ -34172,12 +34212,12 @@ p, li { white-space: pre-wrap; } Valid - + Giltig Invalid - + Ogiltig @@ -34425,7 +34465,7 @@ p, li { white-space: pre-wrap; } Raster - + Raster @@ -34862,7 +34902,7 @@ p, li { white-space: pre-wrap; } To - + till @@ -35681,7 +35721,7 @@ p, li { white-space: pre-wrap; } To - + till @@ -36459,6 +36499,7 @@ p, li { white-space: pre-wrap; } number of filtered features + @@ -37220,6 +37261,7 @@ p, li { white-space: pre-wrap; } number of geometry errors + @@ -38128,6 +38170,7 @@ SQL: %1 selected geometries + @@ -38989,7 +39032,7 @@ Vill du skriva över relationen [%2]? QGIS Sponsors - + QGIS sponsorer @@ -39178,7 +39221,7 @@ Updates to geometry values will be disabled, and query performance may be poor b Select all - + Välj alla @@ -40680,6 +40723,7 @@ Skall existerande klasser tas bort före klassificering? not added features count + @@ -41077,7 +41121,7 @@ Skall existerande klasser tas bort före klassificering? Insert expression - + Skriv in uttryck @@ -41431,7 +41475,7 @@ Skall existerande klasser tas bort före klassificering? Join layer - + Slå ihop lager @@ -41441,7 +41485,7 @@ Skall existerande klasser tas bort före klassificering? Target field - + Målfält @@ -41771,7 +41815,7 @@ Skall existerande klasser tas bort före klassificering? Click to toggle table editing - Klicka för att toggla tabelleditering + Klicka för att toggla tabellredigering @@ -42312,6 +42356,7 @@ Features crs count + @@ -42345,6 +42390,7 @@ Features selected layer count + @@ -43350,7 +43396,7 @@ Response was: WMS - + WMS @@ -43571,6 +43617,7 @@ Response was: tile request count + @@ -43580,6 +43627,7 @@ Response was: tile cache hits + @@ -43589,6 +43637,7 @@ Response was: tile cache missed + @@ -43598,6 +43647,7 @@ Response was: errors + @@ -43787,7 +43837,7 @@ Försökte med URL: %1 Abort... - + Avbryt...
@@ -43923,7 +43973,7 @@ Försökte med URL: %1 Direction - + Riktning @@ -43948,7 +43998,7 @@ Försökte med URL: %1 Speed - + Hastighet Units @@ -48183,7 +48233,7 @@ Insticksprogrammet stängs av. Raster - + Raster From 7ef9dbdd3fd1456f2edfb6af1483d9acc5c2380c Mon Sep 17 00:00:00 2001 From: Magnus Homann Date: Wed, 26 Sep 2012 21:59:19 +0200 Subject: [PATCH 12/12] =?UTF-8?q?3000=20=C3=B6vers=C3=A4ttningar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/TRANSLATORS | 2 +- i18n/qgis_sv.ts | 996 ++++++++++++++++++++++++------------------------ 2 files changed, 507 insertions(+), 491 deletions(-) diff --git a/doc/TRANSLATORS b/doc/TRANSLATORS index e47e6b8d391..381dbacd921 100644 --- a/doc/TRANSLATORS +++ b/doc/TRANSLATORS @@ -25,9 +25,9 @@ Ukrainian
50.3
Сергей Якунин Turkish
49.9
Osman Yilmaz Chinese (Taiwan, Province of China)
45.1
Nung-yao Lin +Swedish
43.7
Lars Luthman, Magnus Homann Vietnamese
42.8
Bùi Hữu Mạnh Greek, Modern (1453-) (Greece)
40.8
Evripidis Argyropoulos, Mike Pegnigiannis, Nikos Ves -Swedish
39.4
Lars Luthman, Magnus Homann Icelandic
37.9
Thordur Ivarsson Mongolian
36.2
Bayarmaa Enkhtur Finnish
25.4
Marko Jarvenpaa diff --git a/i18n/qgis_sv.ts b/i18n/qgis_sv.ts index a7179379779..ea7d2d7d9d7 100644 --- a/i18n/qgis_sv.ts +++ b/i18n/qgis_sv.ts @@ -2605,13 +2605,13 @@ Disable the "Use intersected extent" option to have a nonempty output. x - + x
y - + y @@ -4277,7 +4277,7 @@ GEOS geoprocessing error: One or more input features have invalid geometry. Advanced - + Avancerad @@ -11578,17 +11578,17 @@ Användaredatabas-sökväg: %8 Inserts an expression into the action - + Sätter in ett uttryck i kommandot Insert expression... - + Sätt in uttryck... Inserts the selected field into the action - + Sätter in valt fält i kommandot @@ -12266,27 +12266,27 @@ Error was:%2 Checkbox - + Kryssruta Text edit - + Textredigering Calendar - + Kalender Value relation - + Värderelation UUID generator - + UUID-generator @@ -12986,7 +12986,7 @@ Skall existerande klasser tas bort före klassificering? Advanced - + Avancerad
@@ -13738,7 +13738,7 @@ Skall existerande klasser tas bort före klassificering? HTML - + HTML @@ -13822,7 +13822,7 @@ Skall existerande klasser tas bort före klassificering? Opacity - + Ogenomskinlighet @@ -13908,7 +13908,7 @@ Skall existerande klasser tas bort före klassificering? Rotation - + Rotation @@ -14555,7 +14555,7 @@ Skall existerande klasser tas bort före klassificering? Rotation - + Rotation @@ -14885,7 +14885,7 @@ Skall existerande klasser tas bort före klassificering? Rotation - + Rotation @@ -15225,7 +15225,7 @@ Skall existerande klasser tas bort före klassificering? Shape - + Form @@ -16748,7 +16748,7 @@ and current file is [%3] Save connections to file - + Spara anslutningar till fil @@ -17861,7 +17861,7 @@ p, li { white-space: pre-wrap; } Diagram type - + Diagramtyp @@ -18427,7 +18427,7 @@ p, li { white-space: pre-wrap; } Field calculator - + Fältkalkylator @@ -19724,7 +19724,7 @@ Please reselect a valid file. Output file - + Utdatafil @@ -20952,7 +20952,7 @@ p, li { white-space: pre-wrap; } Classes - + Klasser @@ -21007,7 +21007,7 @@ p, li { white-space: pre-wrap; } Advanced - + Avancerad @@ -22395,7 +22395,7 @@ at line %2 column %3 Select a layer - + Välj lager @@ -22441,7 +22441,7 @@ at line %2 column %3 Select a layer - + Välj lager @@ -23584,7 +23584,7 @@ at line %2 column %3 Filter - + Filter @@ -24215,12 +24215,12 @@ Detta kan vara ett problem med din nätverksanslutning eller WMS-servern. x - + x y - + y @@ -24431,7 +24431,7 @@ Detta kan vara ett problem med din nätverksanslutning eller WMS-servern. Offset - + Offset @@ -24446,7 +24446,7 @@ Detta kan vara ett problem med din nätverksanslutning eller WMS-servern. Advanced - + Avancerad @@ -24660,7 +24660,7 @@ Detta kan vara ett problem med din nätverksanslutning eller WMS-servern. Rotation - + Rotation @@ -24891,7 +24891,7 @@ Detta kan vara ett problem med din nätverksanslutning eller WMS-servern. Advanced - + Avancerad @@ -25009,7 +25009,7 @@ Detta kan vara ett problem med din nätverksanslutning eller WMS-servern. Rotation - + Rotation @@ -25113,12 +25113,12 @@ Detta kan vara ett problem med din nätverksanslutning eller WMS-servern. Low - + Låg High - + Hög @@ -25161,7 +25161,7 @@ Detta kan vara ett problem med din nätverksanslutning eller WMS-servern. Data defined settings - + Datadefinierade inställningar @@ -25221,7 +25221,7 @@ Detta kan vara ett problem med din nätverksanslutning eller WMS-servern. Font family - + Typsnittsfamilj @@ -25509,12 +25509,12 @@ Detta kan vara ett problem med din nätverksanslutning eller WMS-servern. Scale linearly between 0 and the following attribute value / diagram size: - + Skala linjärt mellan 0 och följande attributvärde/diagramstorlek: Find maximum value - + Hitta maximalt värde @@ -27400,7 +27400,7 @@ http://my.host.com/cgi-bin/mapserv.exe New Connection... - + Ny uppkoppling... @@ -27511,12 +27511,12 @@ http://my.host.com/cgi-bin/mapserv.exe Load connections - + Läs in anslutningar XML files (*.xml *XML) - + XML-filer (*.xml *XML) @@ -27991,7 +27991,7 @@ Detaljerad felinformation: SpatiaLite - + SpatiaLite @@ -28509,7 +28509,7 @@ Detaljerad felinformation: Add selected layers to map - + Lägg till valda lager till karta @@ -28539,12 +28539,12 @@ Detaljerad felinformation: Load connections - + Läs in anslutningar XML files (*.xml *XML) - + XML-filer (*.xml *XML) @@ -28574,12 +28574,12 @@ Detaljerad felinformation: parse error at row %1, column %2: %3 - + Tolkningsfel på rad %1, kolumn %2: %3 network error: %1 - + nätverksfel: %1 @@ -28628,7 +28628,7 @@ Detaljerad felinformation: Load connections from file - + Läs in anslutningar från fil @@ -28638,7 +28638,7 @@ Detaljerad felinformation: Save connections to file - + Spara anslutningar till fil @@ -29312,7 +29312,7 @@ Detaljerad felinformation: Encoding - + Kodning @@ -30210,12 +30210,12 @@ Detaljerad felinformation: Degrees - + Grader Radians - + Radianer @@ -30704,7 +30704,7 @@ Detaljerad felinformation: New Connection... - + Ny uppkoppling... @@ -31118,7 +31118,7 @@ Detaljerad felinformation: Load connections - + Läs in anslutningar @@ -31193,7 +31193,7 @@ Detaljerad felinformation: XML files (*.xml *XML) - + XML-filer (*.xml *XML) @@ -33294,7 +33294,7 @@ Proceed? Opacity - + Ogenomskinlighet @@ -33578,7 +33578,7 @@ Därför fungerar inte projektionsväljaren... Filter - + Filter @@ -34830,7 +34830,7 @@ p, li { white-space: pre-wrap; } Layer Properties - %1 - + Lageregenskaper - %1 @@ -34912,7 +34912,7 @@ p, li { white-space: pre-wrap; } Filter - + Filter @@ -34941,18 +34941,18 @@ p, li { white-space: pre-wrap; } Load layer properties from style file - + Läs in lageregenskaper från stilfil QGIS Layer Style File - + QGIS lager stilfil Save layer properties as style file - + Spara lageregenskaper som stilfil Textfile (*.txt) @@ -36434,7 +36434,7 @@ p, li { white-space: pre-wrap; } Filter - + Filter @@ -36610,7 +36610,7 @@ p, li { white-space: pre-wrap; } Map unit - + Kartenhet @@ -36870,12 +36870,12 @@ p, li { white-space: pre-wrap; } New Connection... - + Ny uppkoppling... SpatiaLite - + SpatiaLite @@ -37575,7 +37575,7 @@ Felet var: Classes - + Klasser @@ -37647,7 +37647,7 @@ Felet var: Rotation - + Rotation @@ -37917,7 +37917,7 @@ SQL: %1 SpatiaLite - + SpatiaLite @@ -38546,7 +38546,7 @@ p, li { white-space: pre-wrap; } Filter - + Filter @@ -39342,7 +39342,7 @@ Overwrite? XML files (*.xml *XML) - + XML-filer (*.xml *XML) @@ -39419,7 +39419,7 @@ Overwrite? Symbol Name - + Symbolnamn @@ -39578,7 +39578,7 @@ Kindly select a group or smart group you might want to delete. Error! - + Fel! @@ -39872,7 +39872,7 @@ There was a problem with your symbol database. Output file - + Utdatafil @@ -40459,47 +40459,47 @@ Skall existerande klasser tas bort före klassificering? Codec %1 not found. Falling back to system locale - + Codec %1 lunde inte hittas. Återgår till systemets locale Add Features - + Lägg till objekt Delete Features - + Ta bort objekt Change Attribute Values - + Ändra attributvärden Add Attributes - + Lägg till attribut Delete Attributes - Ta bort attribute + Ta bort attribute Create Spatial Index - Skapa rumsligt index + Skapa rumsligt index Fast Access to Features at ID - + Genväg till objekt vid ID Change Geometries - + Ändra geometrier @@ -40507,27 +40507,27 @@ Skall existerande klasser tas bort före klassificering? X attribute - + X-attribut Y attribute - + Y-attribut Length attribute - + Längdattribut Angle attribute - + Vinkelattribut Height attribute - + Höjdattribut @@ -40538,7 +40538,7 @@ Skall existerande klasser tas bort före klassificering? Offset of the stop - + Stoppens offset @@ -40546,7 +40546,7 @@ Skall existerande klasser tas bort före klassificering? Please enter offset in percents (%) of the new stop - + Skriv in de nya stoppens offset i procent (%) @@ -40554,53 +40554,53 @@ Skall existerande klasser tas bort före klassificering? Gradient color ramp - + Färggradient Change - Ändra + Ändra Color 1 - + Färg 1 Color 2 - + Färg 2 Multiple stops - + Flera stopp Add stop - + Lägg till stopp Remove stop - + Ta bort stopp Color - Färg + Färg Offset - + Offset Preview - Förhandsvisning + Förhandsvisning @@ -40638,12 +40638,12 @@ Skall existerande klasser tas bort före klassificering? renderer failed to save - + renderare kunde inte spara no renderer - + ingen renderare @@ -40721,9 +40721,9 @@ Skall existerande klasser tas bort före klassificering? ERROR: %n feature(s) not added - provider doesn't support adding features. not added features count - - - + + FEL: %n objekt lades inte till. Datakällan stödjer inte lägga till objekt. + FEL: %n objekt lades inte till. Datakällan stödjer inte lägga till objekt. @@ -40766,120 +40766,122 @@ Skall existerande klasser tas bort före klassificering? Provider errors: - + + Datakällefel: Commit errors: %1 - + Commit-fel: + %1 General: - Allmänt: + Allmänt: Layer comment: %1 - Lagerkommentar: %1 + Lagerkommentar: %1 Storage type of this layer: %1 - Lagringstyp för detta lager: %1 + Lagringstyp för detta lager: %1 Source for this layer: %1 - Källa för detta lager : %1 + Källa för detta lager : %1 Geometry type of the features in this layer: %1 - Geometrityp på objekten i detta lager: %1 + Geometrityp på objekten i detta lager: %1 The number of features in this layer: %1 - Antal objekt i detta lager: %1 + Antal objekt i detta lager: %1 Editing capabilities of this layer: %1 - Möjlighet till redigering i detta lager: %1 + Möjlighet till redigering i detta lager: %1 Extents: - Utsträckning: + Utsträckning: In layer spatial reference system units : - I lagrets Spatial Reference System-enheter : + I lagrets referenskoordinatsystemsenheter : xMin,yMin %1,%2 : xMax,yMax %3,%4 - xMin,yMin %1,%2 : xMax,yMax %3,%4 + xMin,yMin %1,%2 : xMax,yMax %3,%4 unknown extent - + okänd utsträckning In project spatial reference system units : - I projektets Spatial Reference System-enheter : + I projektets referenskoordinatsystemsenheter : Layer Spatial Reference System: - Lagrets Spatial Reference System: + Lagrets referenskoordinatsystem: Project (Output) Spatial Reference System: - Projektets (visade) koordinatsystem: + Projektets (visade) referenskoordinatsystem: (Invalid transformation of layer extents) - (Ogiltig transformering av lagrets utsträckning) + (Ogiltig transformering av lagrets utsträckning) Attribute field info: - Attributfält info: + Attributfält info: Field - Fält + Fält Type - Typ + Typ Length - Längd + Längd Precision - Precision + Precision Comment - Kommentar + Kommentar @@ -41046,31 +41048,31 @@ Skall existerande klasser tas bort före klassificering? Load layer properties from style file - + Läs in lageregenskaper från stilfil QGIS Layer Style File - + QGIS lager stilfil SLD File - + SLD-fil Load Style - + Läs in stil Save layer properties as style file - + Spara lageregenskaper som stilfil @@ -41085,53 +41087,53 @@ Skall existerande klasser tas bort före klassificering? Overlay - Överlager + Överlager Layer Properties - %1 - + Lageregenskaper - %1 Id - ID + ID Name - Namn + Namn Edit widget - + Redigeringssymbol Alias - + Alias Stop editing mode to enable this. - + Avsluta redigeringsläge för att tillåta detta. Insert expression - Skriv in uttryck + Skriv in uttryck This button opens the query builder and allows you to create a subset of features to display on the map canvas rather than displaying all features in the layer - + Den här knappen öppnar Frågebyggaren som gör det möjligt att välja endast en delmängd av lagrets objekt för visning på kartbladet The query used to limit the features in the layer is shown here. To enter or modify the query, click on the Query Builder button - + Sökfrågan för att begränsa objekt i lagret visas här. För att ändra sökfrågan, klicka på på knappen Frågebyggare @@ -41161,17 +41163,17 @@ Skall existerande klasser tas bort före klassificering? Edit range - + Editera intervall Slider range - + Dragväljare intervall Dial range - + Snurrans intervall @@ -41191,57 +41193,57 @@ Skall existerande klasser tas bort före klassificering? Hidden - Gömd + Gömd Checkbox - + Kryssruta Text edit - + Textredigering Calendar - + Kalender Value relation - + Värderelation UUID generator - + UUID-generator Text diagram - + Textdiagram Pie chart - Pajdiagram + Pajdiagram Map units - Kartenheter + Kartenheter UI file - + UI-fil Layer comment: %1 @@ -41282,93 +41284,93 @@ Skall existerande klasser tas bort före klassificering? Select edit form - + Välj redigeringsformulär Symbology - Symbologi + Symbologi Background color - Bakgrundsfärg + Bakgrundsfärg Pen color - + Pennfärg MM - + MM AroundPoint - + RuntPunkt Save Style - + Spara stil Save Style... - + Spara stil... mm - mm + mm OverPoint - + ÖverPunkt Line - Linje + Linje Horizontal - Horisontell + Horisontell Free - + Fri On line - + På linje Above line - + Ovanför linje Below Line - + Nedanför linje Map orientation - + Kartans orienterinng None - Ingen + Ingen Save layer properties as style file (.qml) @@ -41377,7 +41379,7 @@ Skall existerande klasser tas bort före klassificering? Do you wish to use the new symbology implementation for this layer? - + Vill du använda nya symbolimplementeringen för detta lager? @@ -41416,12 +41418,12 @@ Skall existerande klasser tas bort före klassificering? Style - Stil + Stil Fields - Fält + Fält This sets the display field for the Identify Results dialog box @@ -41434,12 +41436,12 @@ Skall existerande klasser tas bort före klassificering? Edit UI - + Redigera UI ... - ... + ... @@ -41455,7 +41457,7 @@ Skall existerande klasser tas bort före klassificering? Init function - + Startfunktion @@ -41470,27 +41472,27 @@ Skall existerande klasser tas bort före klassificering? Joins - + Sammanslagningar Join layer - Slå ihop lager + Slå ihop lager Join field - Slå ihop fält + Slå ihop fält Target field - Målfält + Målfält Data defined position - Datadefinierad position + Datadefinierad position @@ -41567,62 +41569,62 @@ Skall existerande klasser tas bort före klassificering? Diagrams - + Diagram Display diagrams - Visa diagram + Visa diagram Diagram type - + Diagramtyp Priority: - + Prioritet: Low - + Låg High - + Hög Appearance - + tseende Scale dependent visibility - Skalberoende synlighet + Skalberoende synlighet Background color - Bakgrundsfärg + Bakgrundsfärg Pen color - + Pennfärg Labels (deprecated) - + Etiketter (föråldrade) Update Extents - + Uppdatera utsträckning @@ -41632,159 +41634,159 @@ Skall existerande klasser tas bort före klassificering? Provider-specific options - + Alternativ för datakällor Encoding - + Kodning Display - Visa + Visa Legend display text - + Text i innehållsförteckningen Map Tip display text - + Text för karttips Inserts an expression into the action - + Sätter in ett uttryck i kommandot Insert expression... - + Sätt in uttryck... The valid attribute names for this layer - Giltiga attributnamn för det här lagret + Giltigt attributnamn för det här lagret Inserts the selected field into the action - + Sätter in valt fält i kommandot Insert field - Lägg till fält + Lägg till fält HTML - + HTML Field - Fält + Fält Title - Titel + Titel Abstract - Sammanfattning + Sammanfattning Pen width - + Pennbredd Font... - Typsnitt... + Typsnitt... Size - Storlek + Storlek Fixed size - + Fast storlek Scale linearly between 0 and the following attribute value / diagram size: - + Skala linjärt mellan 0 och följande attributvärde/diagramstorlek: Attribute - Attribut + Attribut Find maximum value - + Hitta maximalt värde Size units - Storleksenheter + Storleksenheter Position - Position + Position Placement - Placering + Placering Line Options - + Linjealternativ Distance - + Avstånd x - + x y - + y Attributes - Attribut + Attribut Color - Färg + Färg New symbology - + Ny symbologi @@ -41815,12 +41817,12 @@ Skall existerande klasser tas bort före klassificering? Click to toggle table editing - Klicka för att toggla tabellredigering + Klicka för att toggla tabellredigering Field calculator - + Fältkalkylator @@ -41828,7 +41830,7 @@ Skall existerande klasser tas bort före klassificering? SpatiaLite - + SpatiaLite @@ -41848,12 +41850,12 @@ Skall existerande klasser tas bort före klassificering? Save layer as... - Spara lager som... + Spara lager som... Select the coordinate reference system for the vector file. The data points will be transformed from the layer coordinate reference system. - + Välj referensekoordinatsystem för vektorfilen. Datapunkterna kommer att transformeras från lagrets referenskoordinatsystem. @@ -41861,12 +41863,12 @@ Skall existerande klasser tas bort före klassificering? Save vector layer as... - + Spara vektorlager som... Add saved file to map - + Lägg till sparad fil till kartan @@ -41876,48 +41878,48 @@ Skall existerande klasser tas bort före klassificering? Save as - Spara som + Spara som Browse - Bläddra + Bläddra Encoding - + Kodning Format - Format + Format OGR creation options - + Alternativ för OGR Data source - Datakälla + Datakälla Layer - Lager + Lager This allows one to surpress attribute creation as some OGR drivers (eg. DGN, DXF) don't support it. - + Detta gör det möjligt att hindra attributskapandet eftersom några OGR-källor inte stödjer det (tex DGN, DXF). Skip attribute creation - + Hindra skapandet av attribute @@ -41925,46 +41927,46 @@ Skall existerande klasser tas bort före klassificering? Random color ramp - + Slumpmässig färggradient Hue - + Färgton from - + från to - + till Saturation - + Färgmättnad Value - Värde + Värde Classes - + Klasser Preview - Förhandsvisning + Förhandsvisning @@ -41972,12 +41974,12 @@ Skall existerande klasser tas bort före klassificering? Edit... - Redigera... + Redigera... Delete - + Ta bort @@ -41985,7 +41987,7 @@ Skall existerande klasser tas bort före klassificering? New Connection... - + Ny uppkoppling... @@ -41993,7 +41995,7 @@ Skall existerande klasser tas bort före klassificering? Select a layer - + Välj lager @@ -42006,17 +42008,17 @@ Skall existerande klasser tas bort före klassificering? Edit... - Redigera... + Redigera... Delete - + Ta bort Modify WFS connection - + Modifiera WFS-anslutning @@ -42034,7 +42036,8 @@ Skall existerande klasser tas bort före klassificering? Loading WFS data %1 - + Läser in WFS-data +%1 @@ -42059,7 +42062,7 @@ Skall existerande klasser tas bort före klassificering? Error - Fel + Fel @@ -42067,12 +42070,12 @@ Skall existerande klasser tas bort före klassificering? New Connection... - + Ny uppkoppling... Create a new WFS connection - + Skapa en ny WFS-anslutning @@ -42080,42 +42083,42 @@ Skall existerande klasser tas bort före klassificering? Error - Fel + Fel No Layers - + Inga lager capabilities document contained no layers. - + Dokument med förmågor innehöll inga lager. Capabilities document is not valid - + Dokument med förmågor är ej giltigt Network Error - + Nätverksfel Server Exception - + Serverfel Create a new WFS connection - + Skapa en ny WFS-anslutning Modify WFS connection - + Modifiera WFS-anslutning @@ -42125,12 +42128,12 @@ Skall existerande klasser tas bort före klassificering? Load connections - + Läs in anslutningar XML files (*.xml *XML) - + XML-filer (*.xml *XML) @@ -42143,12 +42146,12 @@ Skall existerande klasser tas bort före klassificering? Coordinate reference system - Koordinaternas referenssystem + Referenskoordinatsystem Server connections - + Serveranslutning @@ -42178,22 +42181,22 @@ Skall existerande klasser tas bort före klassificering? Load connections from file - + Läs in anslutningar från fil Load - Läs in + Läs in Save connections to file - + Spara anslutningar till fil Save - Spara + Spara @@ -42214,12 +42217,13 @@ Skall existerande klasser tas bort före klassificering? Cache Features - + Cache +Objekt Filter - + Filter @@ -42237,17 +42241,17 @@ Features Attributes - Attribut + Attribut Add - Lägg till + Lägg till Remove - Ta bort + Ta bort @@ -42261,7 +42265,7 @@ Features WMS Password for %1 - WMS-lösenord för %1 + WMS-lösenord för %1 @@ -42269,12 +42273,12 @@ Features Edit... - Redigera... + Redigera... Delete - + Ta bort @@ -42282,7 +42286,7 @@ Features New Connection... - + Ny uppkoppling... @@ -42290,22 +42294,22 @@ Features &Add - L&ägg till + L&ägg till Are you sure you want to remove the %1 connection and all associated settings? - Är du säker att du vill ta bort anslutningen %1 och alla tillhörande inställningar? + Är du säker att du vill ta bort anslutningen %1 och alla tillhörande inställningar? Confirm Delete - + Bekräfta borttagning encoding %1 not supported. - + kodning %1 stöds ej. WMS Password for %1 @@ -42314,60 +42318,60 @@ Features WMS Provider - WMS-källa + WMS-källa Add selected layers to map - + Lägg till valda lager till karta Load connections - + Läs in anslutningar XML files (*.xml *XML) - + XML-filer (*.xml *XML) Could not open the WMS Provider - Kunde inte öppna WMS-källan + Kunde inte öppna WMS-källan Coordinate Reference System (%n available) crs count - - Koordinatreferenssystem (%n tillgängligt) - Koordinatreferenssystem (%n tillgängliga) + + Referenskoordinatsystem (%n tillgängligt) + Referenskoordinatsystem (%n tillgängliga) Select layer(s) - + Välj lager Options (%n coordinate reference systems available) crs count - - - + + Alternativ (%n referenskoordinatsystem tillgängligt) + Alternativ (%n referenskoordinatsystem tillgängliga) Select layer(s) or a tileset - + Välj lager eller mosaik Select either layer(s) or a tileset - + Välj antingen lager eller en mosaik @@ -42382,21 +42386,21 @@ Features No image encoding selected - + Ingen bildkodning vald %n Layer(s) selected selected layer count - - - + + %n lager valt + %n lager valt Tileset selected - + Mosaik valt Could not understand the response. The %1 provider said: @@ -42409,38 +42413,38 @@ Features Could not understand the response. The %1 provider said: %2 - Could not understand the response. The %1 provider said: + Could not understand the response. The %1 provider said: %2 WMS proxies - WMS mellanvärdar + WMS mellanvärdar Several WMS servers have been added to the server list. Note that if you access the internet via a web proxy, you will need to set the proxy settings in the QGIS options dialog. - Många WMS-servrar lades till listand. Om du ansluter dig till internet via proxy, måste du ställa in det i alternativen. + Många WMS-servrar lades till listand. Om du ansluter dig till internet via proxy, måste du ställa in det i alternativen. parse error at row %1, column %2: %3 - + Tolkningsfel på rad %1, kolumn %2: %3 network error: %1 - + nätverksfel: %1 The %1 connection already exists. Do you want to overwrite it? - Anlustningen %1 finns redan. Vill du skriva över den? + Anlustningen %1 finns redan. Vill du skriva över den? Confirm Overwrite - Bekräfta överskrivning + Bekräfta överskrivning @@ -42448,59 +42452,59 @@ Features Add Layer(s) from a Server - Lägg till lager från en server + Lägg till lager från en server Save connections to file - + Spara anslutningar till fil C&onnect - + K&oppla upp &New - &Ny + &Ny Edit - Redigera + Redigera Delete - + Ta bort Adds a few example WMS servers - Lägger till några exempel på WMS servrar + Lägger till några exempel på WMS servrar Add default servers - Lägg till standardservrar + Lägg till standardservrar ID - ID + ID Name - Namn + Namn Title - Titel + Titel @@ -42515,7 +42519,7 @@ Features Load connections from file - + Läs in anslutningar från fil @@ -44743,77 +44747,77 @@ Description: %3 Form - Formulär + Formulär Unit - + Enhet Millimeter - Millimeter + Millimeter Map unit - + Kartenhet Opacity - + Ogenomskinlighet Color - Färg + Färg Change - Ändra + Ändra Size - Storlek + Storlek Rotation - + Rotation ° - ° + ° Width - Bredd + Bredd Saved styles - + Sparade stilar Symbol Name - + Symbolnamn Style - Stil + Stil Advanced - + Avancerad @@ -44838,66 +44842,66 @@ Description: %3 ValidateDialog Check geometry validity - Kontrollera geometrins giltighet + Kontrollera geometrins giltighet Geometry errors - Geometrifel + Geometrifel Total encountered errors - Totalt påträffade fel + Totalt påträffade fel Error! - + Fel! Please specify input vector layer - Specificera vektorlager med indata + Specificera vektorlager med indata Please specify input field - Specificera fält med indata + Specificera fält med indata Cancel - Avbryt + Avbryt Feature - Objekt + Objekt Error(s) - + Fel VisualDialog Cancel - Avbryt + Avbryt Parameter - + Parametrar Value - Värde + Värde Please specify input vector layer - Specificera vektorlager med indata + Specificera vektorlager med indata Error! - + Fel! Please specify input field - Specificera fält med indata + Specificera fält med indata Check geometry validity @@ -44913,31 +44917,31 @@ Description: %3 List unique values - Visa unika värden + Visa unika värden Unique values - Unika värden + Unika värden Total unique values - Totala unika världen + Totalt unika världen Basics statistics - Grundläggande statistik + Grundläggande statistik Statistics output - Statistik utdata + Statistik utdata Nearest neighbour analysis - Närmaste granne-analys + 'Närmaste granne-analys Nearest neighbour statistics - Närmaste granne-statistik + Närmaste granne-statistik @@ -44945,7 +44949,7 @@ Description: %3 Form - Formulär + Formulär Change @@ -44957,68 +44961,68 @@ Description: %3 Form - Formulär + Formulär Settings - Inställningar + Inställningar Border color - + Kantfärg Change - Ändra + Ändra Fill color - + Fyllnadsfärg Symbol width - + Symbolbredd Outline width - Kantbredd + Konturbredd Symbol height - + Symbolhöjd Rotation - + Rotation Data defined settings - + Datadefinierade inställningar Outline color - + Konturfärg Shape - + Form @@ -45026,42 +45030,42 @@ Description: %3 Form - Formulär + Formulär Font family - + Typsnittsfamilj Color - Färg + Färg Change - Ändra + Ändra Size - Storlek + Storlek Rotation - + Rotation ° - ° + ° Offset X,Y - + Offset X,Y @@ -45069,22 +45073,22 @@ Description: %3 Form - Formulär + Formulär Color - Färg + Färg Change - Ändra + Ändra Pen width - + Pennbredd @@ -45092,43 +45096,43 @@ Description: %3 Form - Formulär + Formulär Angle - Vinkel + Vinkel Distance - + Avstånd Line width - Linjebredd + Linjebredd Color - Färg + Färg Change - Ändra + Ändra Outline - + Kontur Offset - + @@ -45136,12 +45140,12 @@ Description: %3 Form - Formulär + Formulär Line offset - + Linjeoffset Change @@ -45150,37 +45154,37 @@ Description: %3 Marker placement - + Markörplacering with interval - + med intervall on every vertex - + på varje nod on last vertex only - + bara på sista noden on first vertex only - + bara på första noden Rotate marker - + Rotera markör on central point - + på mittpunkten @@ -45188,7 +45192,7 @@ Description: %3 Form - Formulär + Formulär Change @@ -45197,22 +45201,22 @@ Description: %3 Horizontal distance - + Horisontellt avstånd Vertical distance - + Vertikalt avstånd Horizontal displacement - + Horisontell förkjutning Vertical displacement - + Vertikal förskjutning @@ -45220,59 +45224,59 @@ Description: %3 Form - Formulär + Formulär Texture width - + Texturbredd Rotation - + Rotation Color - Färg + Färg Border color - + Kantfärg Border width - + Kantbredd Outline - + Kontur Change - Ändra + Ändra SVG Groups - + SVG-grupper SVG Symbols - + SVG-symboler ... - ... + ... @@ -45280,43 +45284,43 @@ Description: %3 Form - Formulär + Formulär Color - Färg + Färg Fill style - + Fyllnadsstil Border color - + Kantfärg Border style - + Kantstil Border width - + Kantbredd Offset X,Y - + Offset X,Y Change - Ändra + Ändra @@ -45324,32 +45328,32 @@ Description: %3 Form - Formulär + Formulär Color - Färg + Färg Pen width - + Pennbredd Offset - + Offset Pen style - + Pennstil Join style - + Ihopslagningsstil @@ -45360,12 +45364,12 @@ Description: %3 Change - Ändra + Ändra Use custom dash pattern - + Använd valbar streckning @@ -45373,38 +45377,38 @@ Description: %3 Form - Formulär + Formulär Border color - + Kantfärg Fill color - + Fyllnadsfärg Size - Storlek + Storlek Angle - Vinkel + Vinkel Offset X,Y - + Offset X,Y Change - Ändra + Ändra @@ -45412,58 +45416,58 @@ Description: %3 Form - Formulär + Formulär Size - Storlek + Storlek Angle - Vinkel + Vinkel Offset X,Y - + Offset X,Y Change - Ändra + Ändra Color - Färg + Färg Border width - + Kantbredd Border color - + Kantfärg SVG Groups - + SVG-grupper SVG Image - + SVG-bild ... - ... + ... @@ -45471,72 +45475,72 @@ Description: %3 Form - Formulär + Formulär X attribute - + X-attribut Y attribute - + Y-attribut Scale - Skala + Skala Vector field type - + Vektorfältstyp Cartesian - + Kartesisk Polar - + Polär Height only - + Endast höjd Angle units - + Vinkelenheter Degrees - + Grader Radians - + Radianer Angle orientation - + Vinkelriktning Counterclockwise from east - + Motsols från öster Clockwise from north - + Medsols från norr @@ -45582,17 +45586,17 @@ Description: %3 Warning - Varning + Varning Please specify a file to convert. - + Specificera fil att konvertera. Please specify an output file - + Specificera utfil @@ -45607,7 +45611,19 @@ Developed by Paolo L. Scala, Barbara Rita Barricelli, Marco Padula CNR, Milan Unit (Information Technology), Construction Technologies Institute. For support send a mail to scala@itc.cnr.it - + Beskrivning av fält: +* Indata DXF-fil: Sökväg till DXF-filen som skall konverteras +* Utdatafil: Namn på fil som skall skapas +* Utdata filtyp: Specificerar typ av Shapefil för utdata +* Exportera textetiketter: Om vald skapas ytterligare en Shapefil med punkter, +och tillhörande dbf-tabell kommer att innehålla information om +"TEXT"-fält som finns i DXF-filen samt textsträngarna + +--- +Developed by Paolo L. Scala, Barbara Rita Barricelli, Marco Padula +CNR, Milan Unit (Information Technology), Construction Technologies Institute. +For support send a mail to scala@itc.cnr.it + @@ -45617,12 +45633,12 @@ For support send a mail to scala@itc.cnr.it DXF files - + DXF-filer Shapefile - + Shapefil @@ -45637,7 +45653,7 @@ For support send a mail to scala@itc.cnr.it Input and output - + In- och utdata Input Dxf file @@ -45646,7 +45662,7 @@ For support send a mail to scala@itc.cnr.it Input DXF file - + Indata DXF-fil @@ -45657,7 +45673,7 @@ For support send a mail to scala@itc.cnr.it Output file - + Utdatafil @@ -45680,32 +45696,32 @@ For support send a mail to scala@itc.cnr.it eVis Database Connection - + eVis databasuppkoppling eVis Event Id Tool - + eVis Händelseidentifieringsverktyg eVis Event Browser - + eVis Händelsebläddrare Create layer from a database query - + Skapa lager från databasfråga Open an Event Browers and display the selected feature - + Öppna en händelsebläddrare och visa valda objekt Open an Event Browser to explore the current layer's features - + Öppna en händelsebläddrare och utforska nuvarande lagrets objekt