[Marble-commits] KDE/kdeedu/marble/src/plugins/runner/nominatim
Dennis Nienhüser
earthwings at gentoo.org
Sat Nov 20 15:07:30 CET 2010
SVN commit 1199057 by nienhueser:
Strip garbage from the uri.
M +1 -1 OsmNominatimRunner.cpp
--- trunk/KDE/kdeedu/marble/src/plugins/runner/nominatim/OsmNominatimRunner.cpp #1199056:1199057
@@ -58,7 +58,7 @@
void OsmNominatimRunner::search( const QString &searchTerm )
{
- QString base = "http://nominatim.openstreetmap.org/search?q=%1&format=xml";
+ QString base = "http://nominatim.openstreetmap.org/search?";
// @todo: Alternative URI with addressdetails=1 could be used for shorther placemark name
QString query = "q=%1&format=xml&addressdetails=0&accept-language=%2";
QString url = QString(base + query).arg(searchTerm).arg(MarbleLocale::languageCode());
More information about the Marble-commits
mailing list