| Version 2 (modified by , 16 years ago) ( diff ) |
|---|
Revision parameter missing. Current base revision is 148
Інші мови:
Введення в JOSM
Термінологія
«Точка» — точка на мапі та «Лінія» — лінія, що з’єднує кілька точок. Отже «лінія» — це загальне визначення точок з’єднаних друг з другом, не тільки доріг чи шляхів. «Зв’язок» — впорядкована послідовність точок та ліній, для логічного об’єднання груп елементів. «Ділянка» — лінія чиї початок та кінець з’єднані друг з другом.
Якщо дорога, шлях або стежка мають вигини, вони позначаються низкою точок з’єднаних друг з другом короткими відрізками. Лінії мають напрямок, який використовується різними теґами, наприклад: "oneway=yes" - для позначення дороги з одностороннім рухом в напрямку накресленої лінії. Інші теґи вказують на положення праворуч чи ліворуч від лінії вздовж її напрямку.
Запуск JOSM
JOSM — програма написана мовою Java і постачається у вигляді файлу .jar. Якщо ви не знаєте, як її запустити, запитайте у когось, знайомого з вашою платформою, як запускати на ній Java-програми. Також вам потрібно ознайомитись із інформацією про встановлення.
Коли JOSM запущено, він покаже вам кілька повідомлень про останні зміни в JOSM. Переглядайте цю сторінку час від часу, щоб мати останню інформацію про цікаві зміни.
Наступний крок — завантаження даних. Якщо у вас є файл GPX, який ви отримали з вашого GPS-приймача, для території, яка вас цікавить, відкрийте його за допомогою меню JOSM (Файл/Відкрити). Ви побачите ділянку на якій був створений цей файл GPX. Натисніть на кнопку з зеленою стрілкою
, щоб завантажити дані з сервера openstreetmap.org.
Інший спосіб — завантаження існуючих на сервері OSM точок GPX. Щоб розпочати цей процес вам потрібно знати координати довготи та широти потрібної ділянки. Найпростішим способом є використання діалогу «Рухома мапа» для завантаження даних, який міститься на першій вкладці. Ви можете пересуватись по цій мапі, наближатись та віддалятись, позначати потрібну вам ділянку. Дізнайтесь більше про діалог завантаження даних.
Editing in JOSM
JOSM is an offline editor which means everything you do won't be visible for anyone else until uploading it to the server. This makes it possible to experiment and repeatedly moving, tagging, adding and deleting elements without breaking anything. Subsequential actions on a single element will go into the database as a single modification when uploaded.
The first step of actual editing is to add a node to the OSM data where there will be a junction or a significant change in direction. To add a node, highlight the node button, either by clicking the 2nd button in the left menu bar, or by hitting the "A" key on the keyboard (the 2nd button should then be highlighted). Move the mouse cursor over your GPS track, and left click it wherever you want a node to be. A white dot (a selected node) should appear and a rubberline span from that dot to the mouse cursor. As you create subsequent nodes the earlier nodes will be shown as yellow dots.
A series of joined nodes forms a way.
Ways on their own are not of much use unless they are tagged to say what they represent. Map Features shows all the current key value pairs which could be used on a way. Ensure the properties pane is open on the right hand side of JOSM, the 8th button on the left (an icon with a wrench over a document) should be highlighted. If not click that button or hit "Alt+Shift+P". The properties pane has three buttons: a plus sign with "Add" next to it, then "Edit", then "Delete".
Editing properties refers to all the currently selected, i.e. highlighted, elements (nodes and ways). To select anything you must be in select mode which can be switched into by clicking the first of the left hand icons or hitting the "S" key. Ensure your new way is highlighted, then click the "Add" button, a dialog box will appear and you will be asked to select a key and a value. Type in the key/value pair which represents the way you are creating, e.g. for the key type "highway" without the quotes, and for value type "secondary" again without the quotes. Now click OK. You have now tagged your way.
Uploading to OSM
If you are happy with all that you have done then you need to upload this to OSM server. Click on the green up arrow
.
JOSM will give you an overview on the elements it's about to upload. You're also asked to provide a short freetext summary of your edits. This description will be saved with your data on the server and serves information purposes like for example the Recent Changes list.
With a click on "Upload changes" your data will be uploaded and visible for everyone else.
See Upload to OSM for further informations on uploading.
Conventions
A couple of other points about creating ways.
1) Dual carriage ways should be drawn as two separate parallel ways, with each carriage way being a different way.
2) If a street is one way (including the individual carriageways of a dual carriageway) the way should be drawn in the direction of travel.
3) The key / value tagging is case sensitive, all keys should be entered in lower case.
Back to Main Help


