It is a Python-based desktop application for converting CAD DXF files into GIS formats (Shapefile, GeoPackage). It provides an easy-to-use graphical interface for scanning layers, selecting which layers to export, and handling CAD blocks either exploded or preserved (merged) before conversion.
- Fast layer scanning with entity count per layer
- Layer selection UI with Select All and Clear All buttons
- Block handling modes:
explode– break blocks into individual entitieskeep-merge– preserve blocks and merge into single geometries
- Precise coordinate transformation with source & target EPSG codes
- Supports multi-layer output – each layer saved as a separate Shapefile or GeoPackage layer
- Detailed logging with entity counts, progress, and final output list
- Runs as standalone executable (via PyInstaller)
You can run the app from source or download a packaged executable.
Requirements (Python 3.9+ recommended):
pip install pyside6 geopandas shapely fiona pyproj pandas ezdxfRun the app:
python dxf2gis_gui/app.py- Open a DXF file
- Click "Browse" to select a DXF file.
- Layers will be scanned and listed in the left panel.
- Select output location
- Choose a folder for Shapefile output (.shp) or a GeoPackage file (.gpkg).
- Choose output driver
- ESRI Shapefile or GPKG.
- Set coordinate system
- Enter Source EPSG (default 3826) and optionally a Target EPSG.
- Select block handling mode
- explode or keep-merge.
- Select layers
- Pick specific layers or use Select All / Clear All buttons.
- Convert
- Click "Convert" to start. Progress and logs will be shown in the right panel.
