فهد المطلق
05-24-2008, 07:19 PM
السلام عليكم ورحمة وبركاته
برنامج صغير ومهم جدا من تصميمي
من الممكن ان هذا البرنامج موجود في المنتدى لكن اقول لكم اقبلوا مشاركتي على علاتها
القاعدة
Converting Degrees Minutes Seconds to decimal degrees
To create a point layer from x,y coordinates, the coordinates need to be in decimal degrees. There are several ways to convert Degree Minutes Seconds (DMS) data into decimal degrees.
To convert it manually, use the following formula:
Decimal Degrees = Degrees + ((Minutes / 60) + (Seconds / 3600))
For example, 75 59 32.483 W would be -75.9923564 in decimal degrees. DMS is often followed by the hemisphere labels of N, S, E, or W. When converting to decimal degrees, convert longitude values that are in the western hemisphere or latitude values that are in the southern hemisphere to negative decimal degree values.
You can also use an advanced expression in the Field Calculator or use programming to perform the conversion automatically. You can find several sample scripts on edn.esri.com.
كود التصميم
Private Sub Command1_Click()
Text4.Text = Val(Text1.Text)
Text5.Text = Val(Text2.Text) / (60)
Text6.Text = Val(Text3.Text) / (3600)
Text7.Text = Val(Text4.Text) + (Text5.Text) + (Text6.Text)
End Sub
رابط البرنامج
http://www.4shared.com/dir/7236591/56b7d93e/sharing.html
نقبل ونرحب بالانتقادات بصدر رحب
برنامج صغير ومهم جدا من تصميمي
من الممكن ان هذا البرنامج موجود في المنتدى لكن اقول لكم اقبلوا مشاركتي على علاتها
القاعدة
Converting Degrees Minutes Seconds to decimal degrees
To create a point layer from x,y coordinates, the coordinates need to be in decimal degrees. There are several ways to convert Degree Minutes Seconds (DMS) data into decimal degrees.
To convert it manually, use the following formula:
Decimal Degrees = Degrees + ((Minutes / 60) + (Seconds / 3600))
For example, 75 59 32.483 W would be -75.9923564 in decimal degrees. DMS is often followed by the hemisphere labels of N, S, E, or W. When converting to decimal degrees, convert longitude values that are in the western hemisphere or latitude values that are in the southern hemisphere to negative decimal degree values.
You can also use an advanced expression in the Field Calculator or use programming to perform the conversion automatically. You can find several sample scripts on edn.esri.com.
كود التصميم
Private Sub Command1_Click()
Text4.Text = Val(Text1.Text)
Text5.Text = Val(Text2.Text) / (60)
Text6.Text = Val(Text3.Text) / (3600)
Text7.Text = Val(Text4.Text) + (Text5.Text) + (Text6.Text)
End Sub
رابط البرنامج
http://www.4shared.com/dir/7236591/56b7d93e/sharing.html
نقبل ونرحب بالانتقادات بصدر رحب