Create  Edit  Diff  FrontPage  Index  Search  Changes  History  Source  RSS  wikifarm  Login

OWSRequest.setParameter

OWSRequest.setParameter メソッド

説明

public void setParameter(
   string name,
   string value
);
Public Sub setParameter(ByVal name As String, ByVal value As String)

サンプル

コード
Dim _map As mapObj = New mapObj("")
Dim _owsRequest As New OWSRequest

mapscript.msIO_resetHandlers()

_map.setMetaData("ows_onlineresource", "http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apache/htdocs/ms/ecw.map?")
_owsRequest.setParameter("SERVICE", "WMS")
_owsRequest.setParameter("VERSION", "1.1.1")
_owsRequest.setParameter("REQUEST", "Getcapabilities")
マップファイル
 WEB
   IMAGEPATH "c:\temp\"
   IMAGEURL "/tmp"
     METADATA
       "ows_onlineresource" "http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apache/htdocs/ms/ecw.map?"
     END
   QUERYFORMAT text/html
   LEGENDFORMAT text/html
   BROWSEFORMAT text/html
 END

参照

OWSRequest メンバ | (global) 名前空間

Last modified:2007/02/23 13:52:56
Keyword(s):
References:[OWSRequest メンバ]