Changes between Version 14 and Version 15 of Ja:Styles
- Timestamp:
- 2019-07-12T13:35:37+02:00 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ja:Styles
v14 v15 1 [[TranslatedPages(revision=14 4,outdated=Translation is incomplete)]]1 [[TranslatedPages(revision=147,outdated=Translation is incomplete)]] 2 2 [[PageOutline(2-10,目次)]] 3 3 = JOSM マップスタイル = 4 4 [[Image(source:trunk/images/dialogs/mapstyle.svg,middle,margin-right=20)]] 5 JOSMの[ [Help/MapView|マップ表示]]はスタイルを指定することでカスタマイズできます。多くのスタイルが既定でJOSMに含まれています。5 JOSMの[wikitr:/Help/MapView マップ表示]はスタイルを指定することでカスタマイズできます。多くのスタイルが既定でJOSMに含まれています。 6 6 7 7 それぞれの機能の広い範囲をカバーする''基本スタイル''(例えば、 [source:trunk/styles/standard/elemstyles.mapcss JOSM standard] または [source:trunk/styles/standard/potlatch2.mapcss Potlatch 2])があります。 より特別なトピックをカバーする''アドオンスタイル''と組み合わせることができます。下の[#Availablestyleslist 使用可能なスタイルリスト]をご覧ください。 … … 14 14 15 15 JOSM comes with some styles being in the "active styles" list by default. You can choose styles from this list of "active styles" to be actually used for the map painting by clicking the check box (☑) at the desired style's line 16 * in the [wikitr:Help/Dialog/MapPaint map paint style dialog] or 17 * in the [wikitr:Help/Menu/View "View" menu] ( → "Map paint styles") or 18 * (less comfortable)in the Map Paint Styles Preferences (see section below)16 * in the [wikitr:/Help/Dialog/MapPaint map paint style dialog] or 17 * in the [wikitr:/Help/Menu/View "View" menu] ( → "Map paint styles") or 18 * in the Map Paint Styles Preferences (see section below) 19 19 20 20 Note that, unless you are working with add-on styles, likely you want to have only one style ☑ checked at a time. 21 21 22 === Activating more styles===22 === 他のスタイルを有効にする === 23 23 [[Image(wiki:Styles:addstyle.gif, right, 250px, title=animation of how to activate and choose an example style)]] 24 24 25 '' Instructions:''26 1. open the[wikitr:Help/Preferences/Map#MapPaintStylesMap Paint Styles Preferences] by either27 * clickingthe [[Image(source:trunk/images/dialogs/mappaintpreference.png,middle)]] [wikitr:Help/Dialog/MapPaint#MapStyleSettingsSettings] button in themap style dialog (shown in the animation) or28 * via [wikitr:Help/Menu/View "View"menu] →"Map paint styles" → "Map paint preferences" or29 * (less comfortable)via the general preferenceswindow ([wikitr:Help/Menu/Edit Menu Edit] → [wikitr:Help/Action/Preferences Preferences] → [[Image(source:trunk/images/preferences/map.png,20,middle)]] [wikitr:Help/Preferences/Map Map Settings] (3rd button on the left) → Map Paint Styles (2nd tab))30 1. selecta style in the list of"available styles" (left side)31 1. activate it by clicking the [[Image(source:trunk/images/preferences/activate-right.png,middle)]] blue right arrow button(in the centre)32 1. exit and confirm by clicking the OK button25 ''説明:'' 26 1. [wikitr:/Help/Preferences/Map#MapPaintStyles 地図表示スタイル]を開く 27 * directly from the in the header of the Map Paint Styles panel with the [[Image(source:trunk/images/dialogs/mappaintpreference.png,middle,link=)]] [wikitr:/Help/Dialog/MapPaint#MapStyleSettings Preferences] button in the panles header 28 * via [wikitr:/Help/Menu/View View menu] → ''Map paint styles'' → ''Map paint preferences'' or 29 * via the general preferences dialog [wikitr:/Help/Menu/Edit Menu Edit] → [wikitr:/Help/Action/Preferences Preferences] → [[Image(source:trunk/images/preferences/map.png,20,middle,link=)]] [wikitr:/Help/Preferences/Map Map Settings] (3rd button on the left) → Map Paint Styles (2nd tab)) 30 1. Choose a style in the list of ''Available styles'' 31 1. Activate it by clicking the [[Image(source:trunk/images/preferences/activate-right.png,middle)]] blue right arrow button between the lists. 32 1. Exit and confirm by clicking the OK button 33 33 34 ''Example:'' Let's assume that you want to add [osmwiki:Key:maxspeed maxspeed=*] tags to OSM, then you probably will make use of the style [wikitr:Styles/Maxspeed Maxspeed] (which displays the value of maxspeed on roads with different colors). The screencast/animation on the right side (click to enlarge) shows how to add this style to your list of "active styles". 34 ''Example:'' Let's assume that you want to add [osmwiki:Key:maxspeed maxspeed=*] tags to OSM, then you probably will make use of the style [wikitr:/Styles/Maxspeed Maxspeed] (which displays the value of maxspeed on roads with different colors). The screencast/animation on the right side (click to enlarge) shows how to add this style to your list of "active styles". 35 35 36 ==== Adding own styles====36 ==== 独自スタイルを追加する ==== 37 37 You can add own styles (from any URL/file) to the list of active styles – for example a style file which you have [#CreateStyle created yourself]. Just click the [[Image(source:trunk/images/dialogs/add.png,middle)]] plus sign on the right and enter either path and filename or URL of your style file. 38 38 39 == Available styles list ==39 == 使用可能なスタイルリスト ==#Availablestyleslist 40 40 41 41 [[Styles(ja|スタイル|概要|作者|説明|バージョン|詳細)]] … … 44 44 標準のスタイルは気に入りませんか? 自分の好きなスタイルに変えてしまいましょう: 45 45 46 * [wikitr:Help/Dialog/MapPaint マップスタイルダイアログ]上でスタイルの一つを右クリックして[[Image(source:/trunk/images/copy.svg,middle)]]"名前を付けて保存..."を選択します。 スタイルのコピーが一覧に追加されます。 このスタイルのファイルはテキストエディタで開いて編集した後に再読み込みさせることができます。 46 * [wikitr:/Help/Dialog/MapPaint マップスタイルダイアログ]上でスタイルの一つを右クリックして[[Image(source:/trunk/images/copy.svg,middle,20)]]"名前を付けて保存..."を選択します。 スタイルのコピーが一覧に追加されます。 このスタイルのファイルはテキストエディタで開いて編集した後に再読み込みさせることができます。 47 47 * あるいは一からスタイルを作成してJOSMのマップ設定から追加することもできます。 48 48 49 49 JOSMではMapCSS フォーマットでスタイルを定義できます。 [https://ja.wikipedia.org/wiki/Cascading_Style_Sheets CSS]に似たスタイル定義言語で、元々はPotlatch 2用ですがマップスタイル用の標準を目指して開発されたものです。 50 50 * 全般的な情報は[osmwiki:Category:MapCSS osm wiki]に書かれています。 51 * [wikitr:Help/Styles/MapCSSTutorial 短いチュートリアル]から始めることができます。 52 * [wikitr:Help/Styles/MapCSSImplementation JOSM implementation reference]にはサポートされている機能の詳細が一覧で示されています。 51 * [wikitr:/Help/Styles/MapCSSTutorial 短いチュートリアル]から始めることができます。 52 * [wikitr:/Help/Styles/MapCSSImplementation JOSM implementation reference]にはサポートされている機能の詳細が一覧で示されています。 53 53 54 54 異なるフォーマットのスタイルには互換性があり、同時に読み込むことが可能です。 … … 78 78 * JOSMと一緒に配布されているアイコンは、直接パス指定(JOSMの内部イメージディレクトリからの相対指定)することで参照することができます(JOSMの内部イメージディレクトリからの相対指定)。 79 79 * ローカルのスタイルファイルからの相対パス指定を利用できます。(これはプリセットではなくスタイルでのみ機能します。) 80 * Use a path relative to a directory specified at the bottom in the [wikitr:Help/Preferences/Map#MapPaintStyles Styles preferences page] or [wikitr:Help/Preferences/Map#TaggingPresets Presets preferences page]. 80 * Use a path relative to a directory specified at the bottom in the [wikitr:/Help/Preferences/Map#MapPaintStyles Styles preferences page] or [wikitr:/Help/Preferences/Map#TaggingPresets Presets preferences page]. 81 81 * HTTPリンクで新しいアイコンを直接参照できます。 アイコンはダウンロード後に内部にキャッシュされます。 82 82 * zip files are supported too. … … 87 87 * Example for PNG: {{{data:image/png;base64,...databytes...}}} 88 88 * Example for SVG: {{{data:image/svg+xml;base64,...databytes...}}} 89 * [wikitr:Help/Base64 More information] about {{{data:image/...}}} in JOSM. 89 * [wikitr:/Help/Base64 More information] about {{{data:image/...}}} in JOSM. 90 90 * JOSM wikiを使って新しいスタイルをデザインする場合はさらにいくつかのオプションがあります: 91 91 * wikiページに添付されたファイルは、JOSMがダウンロードするzipファイルに自動的に含められます。 … … 93 93 * zipファイルを添付して、その中身を(ダウンロードさせるzipに)含めたいときは、添付の説明欄に **(EXTRACT)** の文字列を追加してください。 94 94 95 == Translation==95 == 翻訳 == 96 96 97 97 Styles, Rules, Presets and Plugins use the same translation mechanism as JOSM core. The files must be delivered as Zip and contain a directory called `data` with the .lang files. … … 101 101 See also [wikitr:/Translations#Software software translation section] in translation documentation. 102 102 103 == Updating styles in JOSM==103 == JOSMでスタイルを更新する == 104 104 Once a style was updated in the wiki (or another external source) it takes up to 10 days until the style gets updated in JOSM automatically. To immediately force an update you can do the following steps: 105 * Open the [wikitr:Help/Action/Preferences Preferences] 106 * Make sure [wikitr:Help/ExpertMode Expert Mode] is enabled107 * Open the [wikitr:Help/Preferences/Advanced Advanced Preferences] 105 * Open the [wikitr:/Help/Action/Preferences Preferences] 106 * Make sure [wikitr:/Help/ExpertMode Expert view] is enabled 107 * Open the [wikitr:/Help/Preferences/Advanced Advanced Preferences] 108 108 * Search for keys starting with: `mirror.https://josm.openstreetmap.de/josmfile?page_Styles/` (or `mirror.` for other external sources) 109 109 * Select the style you want to update … … 113 113 114 114 To check the version of the style in JOSM do the following steps 115 * Open the [wikitr:Help/Dialog/MapPaint Map Paint Styles Dialog] 115 * Open the [wikitr:/Help/Dialog/MapPaint Map Paint Styles Dialog] 116 116 * Right click on a style 117 117 * Choose Info … … 131 131 不足していたり不完全な場合に使われる特別なアイコンがあります: 132 132 133 [[Image(Mappaint_no_icon.png)]] 不足しているアイコン[[br]] 133 [[Image(wiki:Styles:Mappaint_no_icon.png)]] 不足しているアイコン[[br]] 134 134 全ての地物のアイコンはまだそろっていません。 例: ほとんどの{{{natural=*}}}タグに対応するアイコンはまだありません。 このような"不足しているアイコン"を見つけた場合は、タグに対応する16*16ピクセルの素敵なアイコンをぜひ作ってください。 作品を投稿するには[/newticket 新規チケット]をオープンして画像ファイルかzipファイルを添付してください。 135 135 136 [[Image(Mappaint_deprecated.png)]] 警告アイコン[[br]] 136 [[Image(wiki:Styles:Mappaint_deprecated.png)]] 警告アイコン[[br]] 137 137 かつて使われていたものの現在は利用すべきではないタグが使われているか、ノードには適さないタグが使われていることを示します (例: {{{highway=motorway}}}はノードには意味がありません)。 全ての非推奨タグにこのアイコンが表示されるわけではありません。 138 138 … … 143 143 エリアは環状になったウェイです。 地物のページのタグに対応するほとんどのエリアは個々の色で塗りつぶされます(ある程度透過するようになっています)。 144 144 145 == 高度な設定 == 146 Some styles may have options. They are available via a right click (context menu) on the style's entry inside the[wikitr:Help/Dialog/MapPaintmap paint style dialog] window. E.g. JOSM's current default map style (MapCSS) has the option to display nodes at low zoom levels "less obtrusive" (enabled by default).145 == 高度な設定 ==#AdvancedPreferences 146 一部のスタイルにはオプションがあります。これらは[wikitr:/Help/Dialog/MapPaint 地図描画スタイルダイアログ]ウィンドウ内のスタイルのエントリ上で右クリック(コンテキストメニュー)して利用できます。例えば、JOSMの現在の既定のマップスタイル(MapCSS)には、低ズームレベルで「目立たない」ノードを表示するオプションがあります(デフォルトで有効)。 147 147 148 148 追加で以下の非公開の設定を使うことができます: … … 167 167 * {{{mappaint.fontsize}}} 168 168 * mappaintのテキストサイズを指定します(デフォルト値は8) 169 170 ---- 171 [wikitr:/Help ヘルプ]に戻る
