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

MapScript.Ja - lineObj.project Diff

  • Added parts are displayed like this.
  • Deleted parts are displayed like this.

!!lineObj.project メソッド
!!!説明
proj_in から proj_out への座標変換を行います。
public int project(
    projectionObj projin,
    projectionObj projout
);

Public Function project(ByVal projin As projectionObj, ByVal projout As projectionObj) As Integer

!!!サンプル
!!!!コード
Dim _map As New mapObj("")
Dim _line As New lineObj()

_map.setProjection("proj=latlong,ellps=WGS84")
_layer.setProjection("init=epsg:4326")
intRet = _line.project(New projectionObj(_map.getProjection), New projectionObj(_layer.getProjection))

!!!!マップファイル
影響なし
!!!参照
[[lineObj メンバ]] | [[(global) 名前空間|http://wiki.fdiary.net/MapScriptJa]]