DGN is the native binary CAD format of Bentley MicroStation, alive since 1984 and dominant in large infrastructure: highways, railway corridors, plant process diagrams. Our exporter writes DGN V7 (ISFF) in pure Python with no external dependencies: OSM objects are distributed across levels 1-63, and line, polygon and point geometry is converted into DGN elements. The file opens in MicroStation, the free Bentley View, QGIS, and AutoCAD via its built-in DGN translator.
Key Features

About DGN Format
DGN is the native format of Bentley MicroStation, alive since 1984. Where AutoCAD took architecture, MicroStation settled in large infrastructure: highways, railway corridors, bridges, industrial sites. If a project is run in OpenRoads or OpenRail, the base plan has to arrive in DGN as well — otherwise it turns into an alien import.
An OSM map is exported for context: the streets, buildings, water and greenery around the design site. That saves the preliminary survey stage at the concept phase and gives the contractor a clear tie to the terrain.
The output is a single .dgn file in version V7 (ISFF), written by our own code without third-party SDKs. OSM layers are laid out across DGN levels from the first to the sixty-third, lines, polygons and points become native drawing elements, and the coordinates are converted into UOR units and centered on the map extent. Long lines are automatically cut into segments, because the format limits the number of vertices in a single element.
There are no text labels and no Bentley-specific objects in the file — this is geometry for a base plan, not a finished drawing with a specification.
What Program Opens DGN Files
The following programs and applications can open, edit, and work with MicroStation DGN (Bentley CAD) (.dgn) files exported from OSM2CDR:
Format specifications
- Proprietary format
- 2D only
- Lossless (no quality loss)
- Stores feature attributes
- Output: 1 file
- A Bentley DGN V7 (ISFF) file written in pure Python: OSM layers map onto levels 1-63, coordinates in UOR, long lines split at the 101-vertex ISFF limit.
Who Uses DGN Maps
How to Export DGN
How to Open After Export
- MicroStation — open the file directly; to make the map a true base plan, attach it through References (an external reference) rather than inserting it into the active model.
- Bentley View (free) — the official viewer: open, look through the levels, measure distances, print.
- AutoCAD — the DGNIMPORT command brings the geometry into the drawing, DGNATTACH attaches the file as an external reference without importing.
- QGIS — reads V7 through the OGR_DGN driver, if the map has to be checked against other GIS layers.
- If you need version V8 — open the file in MicroStation and re-save it, or convert it with the free ODA File Converter.
Popular maps in DGN
Get MicroStation DGN (Bentley CAD) map exports
Download professional DGN maps from OpenStreetMap. Instant generation, any area.
Frequently Asked Questions
Related Formats
Frequently Exported Together
Related Articles
MicroStation DGN — Bentley's native format for AEC and infrastructure
Deep guide to Bentley's MicroStation — the AutoCAD competitor for AEC, rail, roads. V7 → V8 history, ecosystem, OpenRoad
formatDGN (MicroStation Design) format: Bentley CAD 1984 — OSM export to DGN V8
DGN from Bentley MicroStation 1984: V7 vs V8 spec, ODA Teigha, AEC infrastructure pipeline, OSM object export to DGN.