[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 580: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 636: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
SELinux Super Administrator Forum • WMS Helper Pop-up
Page 1 of 1

WMS Helper Pop-up

Posted: Thu Jun 01, 2017 10:56 am
by micklang
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.