Working with .dxf Vector Maps
2D vector maps can be imported as .dxf files to complement or replace the maps in NavVis IVION. Vector maps enable users to present an easy-to-read overview of the building that can be customized.
To ensure painless usage of this feature, keep the following points regarding .dxf design in mind:
Only metric values are accepted in
.dxf
files.NavVis IVION currently supports imports of files 20 MB or less.
Supported geometries include points, polylines, polygons, arcs, and hatches. Unknown geometry types are ignored.
For tips on improving the overall performance, download times, and level-of-detail, visit this page.
Uploading a .dxf Vector Map
Creating a Transformation
The Manage Transformations option offers users the ability to create a new transformation on the applicable coordinate reference system in NavVis IVION. Inputs for the Custom Coordinate Systems dialogue are based on an affine transformation matrix, describing a shift and a rotation relative to a parent coordinate system such as the site coordinate system or a spatial reference system.
UTM Projection
The Universal Transverse Mercator (UTM) projection is ideal to use for geo-referencing vector maps in a local area, since angles and direction are preserved. To minimize distance distortion, UTM splits the globe into sixty zones.
Munich, Germany is located in UTM zone 32 North. If you do not know which UTM zone describes your location, you can use this online tool to find the best fit.
Another piece of information that is necessary to provide with UTM projections is the ellipsoid. While the WGS84 ellipsoid is generally used globally, the European Terrestrial Reference System 1989 (ETRS89) is the preferred datum system for describing geographical data located in Europe. Therefore, our vector map located in Munich, Germany can be referenced to the EPSG 25832 - ETRS89 / UTM zone 32N coordinate reference system.
NavVis IVION Add-In for Revit
You can also use the NavVis IVION Add-In for Revit to geo-reference vector maps instead of doing it manually. The add-in connects a Revit project to an NavVis IVION instance and can calculate the appropriate transformation based on tie points.
Other Software for Geo-Referencing
Currently, importing a .dxf vector map into NavVis IVION requires knowing which coordinate reference system best describes its real-world location. In other words, it is necessary to know:
Source coordinate system for previously geo-referenced vector maps, e.g. EPSG 25832, ETRS89 / UTM zone 32N.
Custom coordinate system, e.g. knowing the reference SRID as well as its affine transformation parameters.
Sometimes this information is difficult to find for individuals who are not familiar with geo-referencing or coordinate reference systems. One way to geo-reference your vector map without knowing its transformation parameters is to do so using external software. Some available software that can help with this task includes, but is not limited to:
Tutorial: Geo-Referencing .dwg using Open Source Software
Before performing this task you need:
- QCAD: Note that when using the trial version, QCAD must be restarted every 30 minutes to ensure full feature functionality. Remember to save edits often.
QGIS: Plus an OpenStreetMap plugin, such as the QOSM Plugin.
The .dwg file: NavVis-2D Floor Plan.dwg
Follow these steps to geo-reference a .dwg vector map using QCAD and QGIS.
Troubleshooting
- If the upload fails, there may be an issue with the file's encoding. You can try to re-save it with the current version of your editing program and then re-upload it.
Unknown geometry types are ignored, which can lead to holes in your
.dxf
file. Currently, the fastest workaround is to directly edit the .dxf file andexplode
the unsupported geometries, such as Block References.
Vector Maps List
The tree view shows all uploaded .dxf files and can be expanded to show the layers. Next to each item is a badge showing the number of polygons and the number of vertices in the map.
Underneath the title of each vector map are the Edit and Jump to map fields. After selecting the Edit pencil, Min height and Max height fields become visible. They can be used to define when the map is shown. Additionally, the View and Edit fields can be used to control access to the vector maps.
When expanding a map, all layers and their colors as defined in the .dxf file are shown. Visibility of a layer can be toggled by clicking the icon on the right. This setting is saved on the server and takes effect for all users.
Visibility of Map Layers
Once the upload is complete, a new map entry is appended to the list and a map layer for each layer in the .dxf file.
The visibility of vector map layers is controlled by two conditions:
- The visibility of the map containing the layer.
- The visibility setting of the layer.
For a layer to be shown, both of these conditions need to be true.
Visibility of the Map
The vector map is visible if ANY of the following conditions apply:
- The z coordinate of the currently shown panoramic image's floor is between -100 and 100. To disable this mechanism you can omit one or both of these values.
- The name of the currently selected floor matches the name of the .dxf layer. If the layer name starts with _, the map will be shown regardless of the current floor.
Performance and Level-of-Detail
To improve performance and reduce download times, delete all the layers that are not required.
You can make them invisible with a toggle, but make sure to delete these layers before going into production mode. Layers that were marked invisible in the .dxf file are imported too, so you should review the vector map list after import in order to remove them.
After removing maps and/or layers, reload the page before evaluating the performance.
Because there is no level-of-detail mechanism, you have to simplify the .dxf file as much as possible. Every polygon adds to the download time and slows down rendering. The badges with polygon and vertex counts give an indication of how complex the maps and layers are.