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 Eo:Help/Preferences/ImportExport
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
[[TranslatedPages(revision=12)]] = Agordaj XML-dosieroj por JOSM = == Ekzemploj (Vidu komentojn en XML) == * Kategoriigitaj ekzemploj [attachment:scripts.zip:ticket:4421 scripts.zip] * Instalado de antaŭagordoj kaj stiloj: [attachment:seamap.xml:ticket:4421 seamap.xml], [attachment:seamap_ForOfflineInstallation.zip:ticket:4421 seamap_ForOfflineInstallation.zip] * Bilda tavolo, kromprogramo kaj agordoj (nur rusa lokaĵo por nun): [attachment:forestMapping.xml:ticket:4421 forestMapping.xml] === Komandoj por aldoni aŭ anstataŭigi preferojn === La sekva kodo aldonas plian bildon al la listo: {{{#!xml <config> <preferences operation="append"> <!-- Iu ajn prefero.xml fragmento povas esti uzata ĉi tie --> <tag key="download.autorun" value="true"/> <!-- ekzemplo de simpla prefero modifo - download.autorun := true --> <maps key="imagery.entries"> <map> <tag key="name" value="ScanEx IRS"/> <tag key="type" value="scanex"/> <tag key="url" value="IRS"/> <tag key="attribution-text" value="IRS"/> <tag key="attribution-url" value="http://irs.gis-lab.info/"/> </map> </maps> </preferences> </config> }}} Se '''<preferences operation="replace">''' estos uzata anstataŭe, ĉiuj aliaj <map> elementoj estos __forigitaj__ el '''imagery.entries''' ! Alia ekzemplo: {{{#!xml <config> <preferences operation="replace"> <!-- malnova enhavo de draw.anglesnap.angles estos forigita --> <list key="draw.anglesnap.angles"> <entry value="30"/> <entry value="45"/> <entry value="60"/> </list> </preferences> </config> }}} === Dosieraj operacioj - elŝutado, forigo, malpakado === {{{#!xml <config> <delete path="plugins/tmp"/> <!-- forigi rekursive plugins/tmp el preferoj dosierujo --> <!-- base = "prefs" - forigi el preferoj dosierujo base = "plugins" - forigi el kromprogramoj dosierujo base = "cache" - forigi el kaŝmemoro dosierujo --> <delete path="splug" base="plugins"/> <!-- forigi rekursive splug dosierujon el preferoj dosierujo --> <!--<delete path="." base="cache"/> forigi kaŝmemoron dosierujon --> <download url="http://josm.openstreetmap.de/osmsvn/applications/editors/josm/dist/buildings_tools.jar" path="plugins/tmp/bt.jar" mkdir="true" unzip="true"/> <!-- elŝuti dosieron de url kaj meti kiel "path" se mkdir="true", tiam ĉiuj necesaj dosierujoj estos kreitaj se unzip="true", tiam zip/jar dosiero estos malpaktita kaj poste forigita --> <download url="https://wiki.openstreetmap.org/w/images/7/79/Public-images-osm_logo.svg" path="1/logo.svg" mkdir="true" base="cache"/> <download url="file://localhost/e:/a.zip" path="qqq/a.zip" unzip="true" mkdir="true"/> <!-- kopii el loka dosierujo kaj malpaki --> </config> }}} === Kromprogramaj operacioj: instali, malaktivigi, forigi === {{{#!xml <config> <!-- instali kromprogramojn kaj forigi ilin sen forigi plastic_laf.jar --> <plugin install="buildings_tools;wayselector" remove="plastic_laf"/> <plugin delete="proj4j"/> <!-- malaktivigi kromprogramon kaj forigi jar --> </config> }}} == Vidu ankaŭ == * Disvolva diskuto: #4421, #18830
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.