Ввод точки по координатам

ArcGIS 8.x,9.x,10.x (Arcview, ArcEditor, Arcinfo).
Ответить
Аватара пользователя
WeMaN
Завсегдатай
Сообщения: 310
Зарегистрирован: 16 фев 2009, 10:49
Репутация: 0

Ввод точки по координатам

Сообщение WeMaN »

Здравствуйте, скажите как в ArcGis ввести координаты типа N54°03'38.61", E26°55'48.67"
Я когда создаю точку то он предлагает ввести XY 27.504, 53.885, хотя система координат градусная WGS 84, как ввести градусы?
HasT
Активный участник
Сообщения: 142
Зарегистрирован: 16 окт 2009, 22:08
Репутация: 55
Откуда: Харьков

Re: Ввод точки по координатам

Сообщение HasT »

WeMaN писал(а):Здравствуйте, скажите как в ArcGis ввести координаты типа N54°03'38.61", E26°55'48.67"
Я когда создаю точку то он предлагает ввести XY 27.504, 53.885, хотя система координат градусная WGS 84, как ввести градусы?
ArcGIS 10.1: В меню Absolute X, Y есть опция выбора типа вводимых координат
arcgis-dms.jpg
arcgis-dms.jpg (20.81 КБ) 7173 просмотра
Аватара пользователя
WeMaN
Завсегдатай
Сообщения: 310
Зарегистрирован: 16 фев 2009, 10:49
Репутация: 0

Re: Ввод точки по координатам

Сообщение WeMaN »

А в 9ке? точнее в 9,3
Нашёл решение, но это же изврат!!!
Converting Degrees Minutes Seconds values to Decimal Degree values
About converting from Degrees Minutes Seconds to Decimal Degrees
How to convert values from Degrees Minutes Seconds to Decimal Degrees

About converting from Degrees Minutes Seconds to Decimal Degrees
The following is the simple equation to convert Degrees, Minutes, and Seconds into Decimal Degrees.


DD = (Seconds/3600) + (Minutes/60) + Degrees


In the instructions given below you will convert one field in a table of latitude or longitude values in Degrees, Minutes, and Seconds to Decimal Degrees. It is assumed that the Degrees, Minutes, and Seconds are stored as a string (text), with spaces between the numbers and not containing any symbols. For example the data would be stored as:

25 35 22.3


where 25 is degrees, 35 is minutes and 22.3 is seconds.


The output will be stored in a number field.


How to convert values from Degrees Minutes Seconds to Decimal Degrees
Add the table to ArcMap.

Right-click the table in the table of contents and click open.

Click the Options button and click Add Field.

Type "Lat2" in the Name field.

Click the Type drop-down arrow and click Double from the list.

If "Lat2" is already used as a field name, select a name that is not used.

Click OK.

Right-click the Lat2 field and click Field Calculator.

Click Yes if presented with a message box.

Check the Advanced check box.

Paste the following code into the expression box:

Dim Degrees as Double
Dim Minutes as Double
Dim Seconds as Double
Dim DMS as Variant
Dim DD as Double

DMS = Split([Latitude])
Degrees = CDbl(DMS(0))
Minutes = CDbl(DMS(1))
Seconds = CDbl(DMS(2))
DD = (Seconds/3600) + (Minutes/60) + Degrees




In the sixth line, beginning with 'DMS. . .' The text within the brackets [ ] should be the name of the field holding the latitude values. Replace the word Latitude in the code with the name of the field (in your table) that stores the DMS latitude values in the table.

Paste the following code into the 'Lat2 =' box at the bottom of the dialog box.

CDbl(DD)




Click OK.

Repeat steps 3 through 12 for the longitude values.
Аватара пользователя
jerry-maori
Гуру
Сообщения: 585
Зарегистрирован: 22 авг 2012, 17:02
Репутация: 143
Откуда: Нижний Новгород

Re: Ввод точки по координатам

Сообщение jerry-maori »

имхо -- тут тоже в тему картинка про буханку и тролейбус...
Именно такой формат координат чем-то объективно продиктован?
Аватара пользователя
novia
Гуру
Сообщения: 2261
Зарегистрирован: 29 апр 2011, 15:06
Репутация: 489
Откуда: Тель-Авив

Re: Ввод точки по координатам

Сообщение novia »

Десятичные градусы и легко считаются и легко обрабатываются. В отличие от расписных градусов с минутами, секундами и полушариями

[ Сообщение с мобильного устройства ]
понравилось? жми палец вверх :!:
Ответить

Вернуться в «ArcGIS»

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и 2 гостя