[Xastir] WMS Map Server & Xastir

Curt Mills curt.we7u at gmail.com
Tue Jul 26 12:48:02 PDT 2016


This should make it easier to integrate new WMS map servers with Xastir:

  https://xastir.org/index.php/HowTo:MAPS#WMS_Map_Servers

To summarize: Run the new "wms.pl" script against a WMS Map Server's
GetCapabilities URL, remembering to put a backslash before each '&' symbol
on the command-line. The script will spit out the two-line file contents
you'll need to create the .geo files for Xastir. Create those files,
re-index, and try out your new online map source.

Enjoy!

A couple of lines to try:

/usr/local/share/xastir/scripts/wms.pl "http\://
geogratis.gc.ca/maps/CBMT?service=wms\&version=1.1.1\&request=GetCapabilities
"

/usr/local/share/xastir/scripts/wms.pl "
http://nowcoast.noaa.gov/arcgis/services/nowcoast/radar_meteo_imagery_nexrad_time/MapServer/WMSServer?request=GetCapabilities\&service=WMS\&version=1.3.0
"

Note that the example lines the script prints out will always have 1.1.1
for the version. So edit the files to your liking.

-- 
Curt, WE7U
http://we7u.wetnet.net
http://www.sarguydigital.com


More information about the Xastir mailing list