WMS Helper Pop-up

Questions, comments on mapping, how to connect to WMS sources, etc.
Post Reply
micklang
Posts: 10
Joined: Wed May 17, 2017 11:27 pm
Location: London, UK
Contact:

WMS Helper Pop-up

Post by micklang » Thu Jun 01, 2017 10:56 am

This neat trick creates a popup for you to cut & paste links to use in QGIS or other GeoINT applications when you want to select a WMS layer:

Code: Select all

#!/bin/sh

######################
# wms-helper.sh
######################

zenity --info --text"http://localhost/cgi-bin/mapserver?map=/var/opt/j**x/mapserver/qgis_marble.map\n
                     http://localhost/cgi-bin/mapserver?map=/var/opt/j**x/mapserver/qgis_nightmarble.map\n
                     http://localhost/cgi-bin/mapserver?map=/var/opt/j**x/mapserver/qgis_piratemap.map" --no-wrap
                             
Remember, you will need to .map files for this to work. Consult the J**X wiki on how to do this, or let me know and I'll post instructions here.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest