Άλλες γλώσσες:
- Ελληνικά
- English
- Esperanto
- français
- norsk bokmål
- Nederlands
- русский
Αρχεία XML προσαρμοσμένης διαμόρφωσης για JOSM
Δείγματα (Δείτε σχόλια σε XML)
- Κατηγοριοποιημένα παραδείγματα scripts.zip
- Εγκατάσταση προεπιλογών και στυλ: seamap.xml, seamap_ForOfflineInstallation.zip
- Επίπεδο εικόνων, πρόσθετα και συντονισμός επιλογών (μόνο Ρωσική τοπική προσαρμογή προς το παρόν): forestMapping.xml
Προτιμήσεις εντολών προσθήκης ή αντικατάστασης
Ο παρακάτω κώδικας προσθέτει μία ακόμη εικόνα στη λίστα:
<config> <preferences operation="append"> <!-- Any preferences.xml fragment can be used here --> <tag key="download.autorun" value="true"/> <!-- example of simple preference modification - 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>
Εάν το <preferences operation="replace"> θα χρησιμοποιηθεί αντ' αυτού, όλα τα άλλα στοιχεία <χάρτη> θα διαγραφούν από το imagery.entries !
Άλλο παράδειγμα:
<config> <preferences operation="replace"> <!-- old content of draw.anglesnap.angles will be deleted --> <list key="draw.anglesnap.angles"> <entry value="30"/> <entry value="45"/> <entry value="60"/> </list> </preferences> </config>
Λειτουργίες αρχείων - λήψη, διαγραφή, αποσυμπίεση
<config> <delete path="plugins/tmp"/> <!-- delete recursively plugins/tmp from preferences directory --> <!-- base = "prefs" - delete from preferences folder base = "plugins" - delete from plugins folder base = "cache" - delete from cache folder --> <delete path="splug" base="plugins"/> <!-- delete recursively splug folder from preferences directory --> <!--<delete path="." base="cache"/> delete cache folder --> <download url="http://josm.openstreetmap.de/osmsvn/applications/editors/josm/dist/buildings_tools.jar" path="plugins/tmp/bt.jar" mkdir="true" unzip="true"/> <!-- download file from url and place as "path" if mkdir="true", then all necessary directories will be created if unzip="true", then zip/jar file will be exanded and then deleted --> <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"/> <!-- copy from local folder and unzip --> </config>
Λειτουργίες πρόσθετων: εγκατάσταση, απενεργοποίηση, διαγραφή
<config> <!-- install plugins and remove them without deleting plastic_laf.jar --> <plugin install="buildings_tools;wayselector" remove="plastic_laf"/> <plugin delete="proj4j"/> <!-- disable plugin and delete jar --> </config>
Δείτε επίσης
Last modified
2 days ago
Last modified on 2025-05-03T09:52:30+02:00
Note:
See TracWiki
for help on using the wiki.