JOSM/Plugins/DXF import

From OpenStreetMap Wiki
< JOSM‎ | Plugins
Jump to: navigation, search
Available languages — JOSM/Plugins/DXF import
· Afrikaans · Alemannisch · aragonés · asturianu · azərbaycanca · Bahasa Indonesia · Bahasa Melayu · Bân-lâm-gú · Basa Jawa · Basa Sunda · Baso Minangkabau · bosanski · brezhoneg · català · čeština · corsu · dansk · Deutsch · eesti · English · español · Esperanto · estremeñu · euskara · français · Frysk · Gaeilge · Gàidhlig · galego · Hausa · hrvatski · Igbo · interlingua · Interlingue · isiXhosa · isiZulu · íslenska · italiano · Kiswahili · Kreyòl ayisyen · kréyòl gwadloupéyen · Kurdî · latviešu · Lëtzebuergesch · lietuvių · magyar · Malagasy · Malti · Nederlands · Nedersaksies · norsk bokmål · norsk nynorsk · occitan · Oromoo · oʻzbekcha/ўзбекча · Plattdüütsch · polski · português · română · shqip · slovenčina · slovenščina · Soomaaliga · suomi · svenska · Tagalog · Tiếng Việt · Türkçe · Vahcuengh · vèneto · Wolof · Yorùbá · Zazaki · српски / srpski · беларуская · български · қазақша · македонски · монгол · русский · тоҷикӣ · українська · Ελληνικά · Հայերեն · ქართული · नेपाली · मराठी · हिन्दी · भोजपुरी · অসমীয়া · বাংলা · ਪੰਜਾਬੀ · ગુજરાતી · ଓଡ଼ିଆ · தமிழ் · తెలుగు · ಕನ್ನಡ · മലയാളം · සිංහල · བོད་ཡིག · ไทย · မြန်မာဘာသာ · ລາວ · ភាសាខ្មែរ · ⵜⴰⵎⴰⵣⵉⵖⵜ ⵜⴰⵏⴰⵡⴰⵢⵜ‎ · አማርኛ · 한국어 · 日本語 · 中文(简体)‎ · 中文(繁體)‎ · 吴语 · 粵語 · ייִדיש · עברית · اردو · العربية · پښتو · سنڌي · فارسی · ދިވެހިބަސް

Introduction

DXFImport PlugIn allows you to import any DXF format file (Drawing Exchange Format) into JOSM.

Summary

Using this plugin, you are able to import any locally stored DXF files into JOSM, but you have to import the file into an existing Layer in JOSM. If there's not one created, the plugin will alert you.

Source code and issue tracking are maintained at https://github.com/asrianCron/Dxf-Import

Details

Import the dxf file is easy, all you need to do is:

  • if there is no layer created yet, select File -> Create Layer . This will create a blank layer that you can edit
  • select File -> Open, then navigate to your file, select it and click the "Open" button
  • a new dialog will apear, asking you to set the scale of the imported file. You can leave this unmodified, the default is 1 Meter per unit.Setting more meters will increase the size of your data. Select "OK".

JOSMdxfImport1.png

Importing of the file will take anywhere from a few seconds to a few minutes, depending on the size of DXF file, and your pc. The data is initially placed centrally on the visible layer. You can move and resize it accordingly, add tags and other. You can find a dxf example

JOSMdxfExample.png

Upload / Export

JOSM imports the data as if you had drawn new nodes and ways. You can click "Upload" to send the data to the OSM database. Don't do this if you're playing/messing around. Also, follow OSM norms before uploading data. You can save what you imported as an .osm file.