Changes between Version 2 and Version 3 of Id:TaggingPresets
- Timestamp:
- 2012-10-29T11:46:31+01:00 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Id:TaggingPresets
v2 v3 1 [[TranslatedPages(outdated=The preset syntax has changed and this page needs to be adjusted to reflect the changes)]] 2 = Tagging (Pelabelan) Preset = 3 JOSM mndukung didistribusikan pelabelan preset. JOSM supports distributed tagging presets. This is a XML config file that describes a GUI for entering tags (or properties, annotations, sometimes called map features). The XML files can be placed anywhere in the web or at the users local file system. Presets can be added by the users at a central page [wiki:Presets]. 1 = Tagging (Label) Preset = 2 JOSM mendukung didistribusikannya pelabelan preset. Ini adalah file konfigurasi XML yang menggambarkan GUI untuk memasukkan label (atau properti, anotasi, biasanya disebut fitur peta). File-file XML dapat ditempatkan dimana saja di website atau di pengguna sistem file lokal. Preset dapat ditambahkan oleh pengguna di halaman utamaThe XML files can be placed anywhere in the web or at the users local file system [wiki:Presets]. 4 3 5 4 6 == Instal ling presets==7 Open the[Help/Action/Preferences preferences window],click [[Image(source:trunk/images/preferences/map.png,20)]]map settings and select third tab[Help/Preferences/Map#TaggingPresets "Tagging Presets"].5 == Instal Preset == 6 Buka [Help/Action/Preferences preferences window], klik [[Image(source:trunk/images/preferences/map.png,20)]] pengaturan peta dan pilih tab ketiga [Help/Preferences/Map#TaggingPresets "Tagging Presets"]. 8 7 9 8 ---- 10 9 11 == Develop a newpreset– Example==10 == Mengembangkan preset baru - Contoh == 12 11 13 12 [[Image(tagging_screenshot.png,align=right)]] … … 32 31 33 32 34 == Develop a newpreset– Add to the list of availablepresets==33 == Mengembangkan preset baru - Menambah daftar preset yang tersedia == 35 34 36 See[[Presets]].35 Lihat [[Presets]]. 37 36 38 37 39 == Develop a newpreset– XML Format description==38 == Menambah preset baru - Deskripsi format XML == 40 39 41 The taggingpresetdescription is in a very simple XMLformat.40 Deskripsi pelabelan preset adalah dalam format XML yang sangat sederhana. 42 41 43 See the comment section in**[source:trunk/data/defaultpresets.xml defaultpresets.xml]**for the **validformat description**.42 Lihat bagian komentar di **[source:trunk/data/defaultpresets.xml defaultpresets.xml]** untuk **format deskripsi yang berlaku**. 44 43 45 44 ---- 46 45 47 == Develop a newpreset– XML Format description (outdated!) ==46 == Mengembangkan preset baru - Deskripsi format XML (Model lama!) == 48 47 49 === Tag s===50 The documentprolog:48 === Tag (Label) === 49 Dokumen prolog (pembuka) : 51 50 '''<presets>''':: 52 Ha s to be the main tag of the file. Supports following attributes51 Harus menjadi tag utama dari file tersebut. Mendukung atribut berikut 53 52 * '''xmlns="http://josm.openstreetmap.de/tagging-preset-1.0"''' 54 * '''author''' - the name of the author55 * '''version''' - a version of thefile56 * '''description''' (i18n) - des cription what the file contains57 * '''shortdescription''' (i18n) - short overview description53 * '''author''' - nama pencipta 54 * '''version''' - versi file 55 * '''description''' (i18n) - deskripsi isi file tersebut 56 * '''shortdescription''' (i18n) - deskripsi gambaran singkat 58 57 * '''link''' (i18n) - web link to further details 59 Comments:58 komentar: 60 59 '''<!-- this is an example comment -->''':: 61 The document can contain embedded comments.60 Dokumen tersebut dapat berisi komentar yang dibuat. 62 61 Menu creation: 63 62 '''<group>''':: 64 Used to group items insub menus. ''name''is required, ''icon''is optional attribute.63 Digunakan untuk kelompok item dalam sub menu. ''name'' yang dibutuhkan, ''icon'' adalah atribut pilihan. 65 64 '''<item>''':: 66 Every item is one annotation set to select from. ''name''is required, ''icon''is optional attribute.65 Setiap item adalah salah satu penjelasan set untuk memilih dari. ''name'' yang dibutuhkan, ''icon'' merupakan atribut pilihan. 67 66 '''<separator/>''':: 68 Insert a line separator into themenu.69 Create instructions for the user:67 Masukan garis pemisah kedalam menu. 68 Buat intruksi untuk pengguna: 70 69 '''<label>''':: 71 Label s are static texts for display. ''text''is a required attribute.70 Label merupakan teks statis untuk ditampilk. ''text'' merupakan atribut yang dibutuhkan. 72 71 '''<optional>''':: 73 Used to group some optionalelements of an item. Possibly equivalent to<label text="Optional Attributes:"/>72 Digunakan untuk mengelompokan beberapa elemen pilihan. Mungkin setara dengan <label text="Optional Attributes:"/> 74 73 '''<space/>''':: 75 Add some space (ie a newline) in thepresetdisplay. Possibly equivalent to<label text=" "/>74 Menambah beberapa ruang (di garis baru) dalam tampilan preset. Mungkin setara dengan <label text=" "/> 76 75 '''<link>''':: 77 Specify a web link for this feature or to anything else of use. The''href''attribute is required.76 Menentukan link web untuk fitur ini atau sesuatu yang lain dari penggunaan. Atribut ''href'' yang diperlukan. 78 77 Attribute entry and selection dialog boxes: 79 78 '''<text>'''::
