Skip to content

Commit

Permalink
Replace broken WMS demo URLs with working URLs
Browse files Browse the repository at this point in the history
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 b44b9f8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/providers/wms/qgswmssourceselect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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" ) );
Expand Down

0 comments on commit b44b9f8

Please sign in to comment.