Skip to content

Commit 087d841

Browse files
author
mhugent
committed
Use .wld as standard suffix for worldfiles in georeferencer
git-svn-id: http://svn.osgeo.org/qgis/trunk@7140 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent c55115b commit 087d841

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

i18n/qgis_de.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11099,7 +11099,7 @@ p, li { white-space: pre-wrap; }
1109911099
<location filename="../src/plugins/georeferencer/qgspointdialog.cpp" line="278"/>
1110011100
<source>-modified</source>
1110111101
<comment>Georeferencer:QgsPointDialog.cpp - used to modify a user given filename</comment>
11102-
<translation>-modifoziert</translation>
11102+
<translation type="unfinished">-modifiziert</translation>
1110311103
</message>
1110411104
<message>
1110511105
<location filename="../src/plugins/georeferencer/qgspointdialog.cpp" line="322"/>

src/plugins/georeferencer/qgspointdialog.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -511,9 +511,8 @@ QString QgsPointDialog::guessWorldFileName(const QString& raster)
511511
QString worldfile = "";
512512
if (point != -1 && point != raster.length() - 1) {
513513
worldfile = raster.left(point + 1);
514-
worldfile += raster.at(point + 1);
515-
worldfile += raster.at(raster.length() - 1);
516-
worldfile += 'w';
514+
//MH: suffix .wld seems to be fine for most GDAL drivers
515+
worldfile += "wld";
517516
}
518517
return worldfile;
519518
}

0 commit comments

Comments
 (0)