Skip to content
Permalink
Browse files

Replace broken WMS demo URLs with working URLs

I'd liked to add a UMN MapServer Demo too but
I couldn't find a working one.

Needs backporting
  • Loading branch information
elpaso committed Jan 19, 2017
1 parent 53752ba commit b44b9f88921ccd825869a9e670e379e353d47da3
Showing with 2 additions and 4 deletions.
  1. +2 −4 src/providers/wms/qgswmssourceselect.cpp
@@ -1090,10 +1090,8 @@ QString QgsWMSSourceSelect::descriptionForAuthId( const QString& authId )
void QgsWMSSourceSelect::addDefaultServers()
{
QMap<QString, QString> exampleServers;
exampleServers[QStringLiteral( "DM Solutions GMap" )] = QStringLiteral( "http://www2.dmsolutions.ca/cgi-bin/mswms_gmap" );
exampleServers[QStringLiteral( "Lizardtech server" )] = QStringLiteral( "http://wms.lizardtech.com/lizardtech/iserv/ows" );
// Nice to have the qgis users map, but I'm not sure of the URL at the moment.
// exampleServers["Qgis users map"] = "http://qgis.org/wms.cgi";
exampleServers[QStringLiteral( "QGIS Server Demo - Alaska" )] = QStringLiteral( "http://demo.qgis.org/cgi-bin/qgis_mapserv.fcgi?map=/web/demos/alaska/alaska_map.qgs" );
exampleServers[QStringLiteral( "GeoServer Demo - World" )] = QStringLiteral( "http://tiles.boundlessgeo.com/" );

QSettings settings;
settings.beginGroup( QStringLiteral( "/Qgis/connections-wms" ) );

0 comments on commit b44b9f8

Please sign in to comment.
You can’t perform that action at this time.