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

OWSRequest.getValueByName

OWSRequest.getValueByName メソッド

説明

public string getValueByName(
   string name
);
Public Function getValueByName(ByVal name As String) 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")

Debug.WriteLine(_owsRequest.getValueByName(_owsRequest.getName(0)))

→結果 WMS
マップファイル
 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:47:06
Keyword(s):
References:[OWSRequest メンバ]