[Xastir-dev] New WMS Server Support: Try these .geo's

Curt, WE7U archer at eskimo.com
Thu May 26 13:41:10 EDT 2005


On Wed, 25 May 2005, Curt, WE7U wrote:

> A couple of .geo's I've been playing with.  Give them a try with the
> latest Xastir CVS code:
>
>
>
> test2.geo:
> ----------
> WMSSERVER
> #URL http://viz.globe.gov/viz-bin/wmt.cgi?WMTVER=1.1&REQUEST=capabilities
> URL http://viz.globe.gov/viz-bin/wmt.cgi?SERVICE=WMS&REQUEST=GetMap&LAYERS=COUNTY,ROADS,RIVERS,CITY_NAMES&FORMAT=image/gif&CRS=CRS:84&SRS=EPSG:4326
> #
> #
> #
> # REFRESH tells your program just how often to retrieve the radar
> # image.  Images are recreated on the server every 6 minutes (720
> # sec).
> #REFRESH 720
> #TRANSPARENT 0x000000
>
>
>
> test3.geo:
> ----------
> WMSSERVER
> #URL http://gisdata.usgs.net/servlet/com.esri.wms.Esrimap?servicename=USGS_WMS_REF&request=capabilities
> URL http://gisdata.usgs.net/servlet/com.esri.wms.Esrimap?servicename=USGS_WMS_REF&REQUEST=GetMap&FORMAT=image/png&CRS=CRS:84&SRS=EPSG:4326&LAYERS=Streams,Roads,Water_Bodies,County,County_Labels,Names-Urban_Areas,Urban_Areas,Route_Numbers&BGCOLOR=0xffffff
> #
> #
> #
> # REFRESH tells your program just how often to retrieve the radar
> # image.  Images are recreated on the server every 6 minutes (720
> # sec).
> #REFRESH 720
> #TRANSPARENT 0x000000


Now add "&VERSION=1.1.0" to the end of each long URL line.  I had to
take it out of the C-code and put it into the .geo file because some
servers are very picky about the exact number.  You may have to tune
that number very carefully for some servers.

--
Curt, WE7U.   APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir-dev mailing list