Skip to content

Commit

Permalink
Use .wld as standard suffix for worldfiles in georeferencer
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7140 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Aug 15, 2007
1 parent f17eeac commit 21cee8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion i18n/qgis_de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11099,7 +11099,7 @@ p, li { white-space: pre-wrap; }
<location filename="../src/plugins/georeferencer/qgspointdialog.cpp" line="278"/>
<source>-modified</source>
<comment>Georeferencer:QgsPointDialog.cpp - used to modify a user given filename</comment>
<translation>-modifoziert</translation>
<translation type="unfinished">-modifiziert</translation>
</message>
<message>
<location filename="../src/plugins/georeferencer/qgspointdialog.cpp" line="322"/>
Expand Down
5 changes: 2 additions & 3 deletions src/plugins/georeferencer/qgspointdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -511,9 +511,8 @@ QString QgsPointDialog::guessWorldFileName(const QString& raster)
QString worldfile = "";
if (point != -1 && point != raster.length() - 1) {
worldfile = raster.left(point + 1);
worldfile += raster.at(point + 1);
worldfile += raster.at(raster.length() - 1);
worldfile += 'w';
//MH: suffix .wld seems to be fine for most GDAL drivers
worldfile += "wld";
}
return worldfile;
}
Expand Down

0 comments on commit 21cee8d

Please sign in to comment.