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

mapObj.setWKTProjection

mapObj.setWKTProjection メソッド

説明

この地図にOGC WKTの投影法を設定する

public int setWKTProjection(
   string wkt
);
Public Function setWKTProjection(ByVal wkt As String) As Integer

サンプル

コード
Dim _map As New mapObj("")

_map.setWKTProjection("PROJCS[""NAD_1983_UTM_Zone_15N"",GEOGCS[""GCS_North_American_1983"",DATUM[""North_American_Datum_1983"",SPHEROID[""GRS_1980"",6378137,298.257222101]],PRIMEM[""Greenwich"",0],UNIT[""Degree"",0.0174532925199433]],PROJECTION[""Transverse_Mercator""],PARAMETER[""False_Easting"",500000],PARAMETER[""False_Northing"",0],PARAMETER[""Central_Meridian"",-93],PARAMETER[""Scale_Factor"",0.9996],PARAMETER[""Latitude_Of_Origin"",0],UNIT[""Meter"",1]]")
マップファイル
 PROJECTION
   "proj=utm"
   "zone=15"
   "ellps=GRS80"
   "datum=NAD83"
   "units=m"
   "no_defs"
 END

参照

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

Last modified:2007/02/16 15:48:05
Keyword(s):
References:[mapObj メンバ]