Public Sub CreateXYResolutionAndXYTolerance() Dim pSpatialReferenceFactory As ISpatialReferenceFactory2 Set pSpatialReferenceFactory = New SpatialReferenceEnvironment Dim pSpatialReference As ISpatialReference Set pSpatialReference = pSpatialReferenceFactory.CreateGeographicCoordinateSystem(esriSRGeoCS_JapanGeodeticDatum2000) Dim pSpatialReferenceResolution As ISpatialReferenceResolution Set pSpatialReferenceResolution = pSpatialReference pSpatialReferenceResolution.SetDefaultXYResolution Debug.Print pSpatialReferenceResolution.XYResolution(True) Dim pSpatialReferenceTolerance As ISpatialReferenceTolerance Set pSpatialReferenceTolerance = pSpatialReference pSpatialReferenceTolerance.SetDefaultXYTolerance Debug.Print pSpatialReferenceTolerance.XYTolerance pSpatialReferenceTolerance.SetMinimumXYTolerance Debug.Print pSpatialReferenceTolerance.XYTolerance End Sub
空間参照の XY 座標精度と XY 許容値を設定する方法
2016/9/1 (木)