記事

座標系の精度・許容値

Dim pSpatialReferenceResolution As ISpatialReferenceResolution
Dim pSpatialreferenceTolerance As ISpatialReferenceTolerance
Dim pControlPrecision  As IControlPrecision2
Set pSpatialReferenceResolution = pNodeLayer.FeatureClass.GetFeature(1).Shape.SplReference
Set pSpatialreferenceTolerance = pSpatialReferenceResolution
Set pControlPrecision = pSpatialReferenceResolution
 
Debug.Print "IsHigh", pControlPrecision.IsHighPrecision
Debug.Print "UseHigh", pControlPrecision.UsePrecision
Debug.Print "XYResolution", pSpatialReferenceResolution.XYResolution(True)
Debug.Print "XYTolerance", pSpatialreferenceTolerance.XYTolerance
  • URLをコピーしました!

この記事を書いた人

伊達と酔狂のGISエンジニア。GIS上級技術者、Esri認定インストラクター、CompTIA CTT+ Classroom Trainer、潜水士、PADIダイブマスター、四アマ。WordPress は 2.1 からのユーザーで歴だけは長い。
代表著書『"地図リテラシー入門―地図の正しい読み方・描き方がわかる
GIS を使った自己紹介はこちら。ESRIジャパン(株)所属、元青山学院大学非常勤講師を兼務。日本地図学会第31期・第32期常任委員。発言は個人の見解です。