Knowledge Base Article
KB10817 - How to open a WMS layer using the DK or Editor 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 Asisgned( 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 product, the URL is entered via the “Open from server” window which is opened using the menu: File/Open from sever.
Created: 2009-09-30, Modified: 2009-09-30
|