Knowledge Base



KB10817 - Open a WMS layer in a TatukGIS product.

To open a WMS just provide the URL, like:

  GIS.Open( ‘http://onearth.jpl.nasa.gov/wms.cgi’ )

or

 ll := GisCreateLayer ‘OneEarth’, ‘http://onearth.jpl.nasa.gov/wms.cgi’ ) ;
 if Assigned( ll ) then
   GIS.Add( ll )

It is also possible to force a particular parameter by embedding one of the WMS request parameters. The following example forces an image format of a particular layer:

  GIS.Open( ‘http://onearth.jpl.nasa.gov/wms.cgiFORMAT=image/jpeg&LAYERS=global_mosaic’)

With the Editor (or free Viewer) product, the URL is entered via the “Open from server” window which is opened using the menu: File/Open from sever.

Created: September 30, 2009, Modified: December 08, 2015
follow us on Facebook  follow us on Twitter  follow us on Google +  follow us on LinkedIn  Embarcadero