Search:
Login
Preferences
Help/Guide
About Trac
Register
Forgot your password?
Wiki
Timeline
Changelog
Browse Source
View Tickets
New Ticket
Roadmap
Builds
Sonar
Search
Context Navigation
+0
Start Page
Index
History
Editing Ru:Help/Preferences/Connection
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
[[TranslatedPages(revision=1,outdated=Неполный перевод и необходимо заменить скриншоты на русскоязычные)]] [[PageOutline(1-10,Содержание)]] = Настройки > Параметры соединения = == URL сервера OSM == #ApiUrl === Скачивание и отправка на используемый по умолчанию сервер === [[Image(wiki:Help/Preferences/Connection:use-default-api-url.png)]] Большинство пользователей JOSM предпочитают обмениваться геоданными со стандартным сервером OSM, управляемым сообществом OSM. Установите соответствующий флажок, использовать для скачивания и отправки данных стандартный сервер (см. снимок экрана выше). Это настройка по умолчанию. === Дополнительная возможность: Скачивание и отправка на другой сервер === Некоторым пользователям JOSM требуется указать URL другого сервера OSM, поскольку они работают с ним: * Некоторые работают с локальными версиями сервера OSM * Некоторые пользователи работают с разрабатываемыми и тестируемыми экземплярами сервера OSM (например, с [http://api06.dev.openstreetmap.org]). [[Image(wiki:Help/Preferences/Connection:use-custom-api-url.png)]] Чтобы указать URL другого сервера: 1. Снимите флажок "Использовать сервер OSM по умолчанию" (см. снимок экрана выше) 1. Введите нужный URL Нажмите '''Проверить''', чтобы убедиться, что сервер доступен по данному URL. Если да, JOSM отобразит значок [[Image(source:/trunk/images/dialogs/valid.png,middle)]] справа от поля ввода URL. Если URL неправильный, JOSM покажет значок [[Image(source:/trunk/images/warning-small.png,middle)]]. == Параметры аутентификации ==#AuthenticationSettings === Работа анонимно или под учётной записью OSM === Вам необязательно проходить аутентификацию, если вы никогда не собираетесь ни отправлять данные на сервер OSM, ни скачивать данные, для которых требуется аутентификация. Если вы работаете '''анонимно''', вам разрешено * скачивать геоданные с сервера OSM и сохранять их в локальный файл * скачивать публичные GPS-треки с сервера OSM * загружать геоданные из файла, редактировать их и сохранять обратно в файл Но вы не можете * отправлять геоданные на сервер OSM. Также вы не можете создавать, обновлять и закрывать пакеты правок. * скачивать непубличные (private) GPS-треки Рекомендуем [osmwww:user/new?referer=%2F создать учётную запись пользователя OSM]. С помощью [osmwww:user/new?referer=%2F этой формы] можно выбрать '''имя пользователя OSM''' и '''пароль OSM''', которые вы будете использовать в дальнейшем. === Обычная аутентификация === Basic authentication is the basic mechanism to authenticate yourself at the OSM server. Here's a screenshot of the preferences panel for basic authentication: [[Image(wiki:Help/Preferences/Connection:basic-authentication.png)]] To use Basic Authentication 1. Go to the tab '''Authentication''' in the Connection Preferences 1. Select the authentication method '''Basic authentication''' 1. Enter your OSM username and your OSM password === OAuth based authentication === [http://oauth.net/ OAuth] is an open protocol to allow secure API authorization in a simple and standard method from desktop and web applications. The OSM server supports OAuth in addition to basic authentication. OAuth has two major advantages over basic authentication: 1. Your OSM password doesn't have to be saved in clear text in the JOSM preferences file. 1. Your OSM password has to be transferred encrypted '''only once''' over the Internet, in contrast to basic authentication where your OSM password is transferred unencrypted as part of every request sent from JOSM to the OSM server. Information about the use of OAuth is [wiki:/Help/Dialog/OAuthAuthorisationWizard here] Once initialized the access token is represented with the following options: [[Image(wiki:Help/Preferences/Connection:oauth-authentication.png,500)]] * Deselect the checkbox **Save to preferences** if you don't want to save the Access Token in the JOSM preferences. If you don't save it the Access Token will be lost when you close JOSM. If you later startup JOSM again you will have to retrieve a new Access Token to work with OAuth based authentication again. * Click on **Test Access Token** to submit a test request with the token to the OSM server. JOSM will analyse whether this token is authorized to access the OSM server. * Click on **New Access Token** to generate a new Access Token. * Selecting the checkbox "Display advanced OAuth parameters" to get the [wiki:Help/Dialog/OAuthAuthorisationWizard#AdvancedOAuthparameters advanced OAuth parameters] displayed. At the bottom there are settings for new osm account messages and [wiki:Help/Dialog/Notes Notes]. == Proxy Settings == #ProxySettings JOSM communicates with the OSM server using the Hypertext Transfer Protocol ([https://en.wikipedia.org/wiki/Http HTTP]). If required it can relay its requests through a [https://en.wikipedia.org/wiki/Http_proxy HTTP proxy] or a [https://en.wikipedia.org/wiki/SOCKS SOCKS proxy]. 1. Go to the tab '''Proxy settings''' in the Connection Preferences 1. Select one of the available options and enter additional configuration parameters 1. Save the preferences [[Image(wiki:Help/Preferences/Connection:proxy-settings.png,500)]] === Using the standard system proxy === If you always want to use the proxy defined as standard proxy on your computer you have to start up JOSM with a special command. The command line has to include the parameter {{{-Djava.net.useSystemProxies=true}}}, for instance {{{java -Djava.net.useSystemProxies=true -jar josm.jar}}} === Using the manually configured proxy === If there is a need for personal authentication for your proxy, remember to include the NT-domain with your username, e.g. ''domain\username''. This issue is due to proxy implementation in java.net.HttpURLConnection. ---- Back to [wiki:/Help/Action/Preferences Preferences][[Br]] Back to [wiki:Help Main Help]
Note:
See
WikiFormatting
and
TracWiki
for help on editing wiki content.
Change information
Your email or username:
E-mail address and name can be saved in the
Preferences
Comment about this change (optional):
Note:
See
TracWiki
for help on using the wiki.