Skip to content

2D Layers & Import

Manage CAD layers, import data from various sources, and configure the display.

Importing Layers

Upload DXF/DWG

  1. Open the Layers panel ()
  2. Click "Add Layer"
  3. Select "Upload DXF/DWG"
  4. Choose the file
  5. The layer is parsed and rendered

Alternatively: Drag & drop the file directly into the 2D Viewer.

Supported DXF Versions

All DXF versions are supported (AutoCAD 2000 through current). DWG files are converted server-side via ezdxf.

WFS Import

Connect to Web Feature Services for live geodata:

  1. Click "Add Layer""WFS Import"
  2. Enter the WFS URL
  3. Click "Connect"
  4. Select the desired layer from the list
  5. Optional: Define a bounding box
  6. Click "Import"

WFS Sources

Typical WFS sources: land surveying agencies, tree cadastres, utility networks (gas, water, electricity).

GeoJSON Import

  1. Click "Add Layer""GeoJSON Import"
  2. Select the .geojson or .json file
  3. The coordinate system is automatically detected
  4. The data is rendered as a new layer

Layers Panel

The Layers panel () shows all loaded layers:

Layer List

ElementFunction
VisibilityShow/hide layer
Layer nameClick to select
ExpandShow sublayers
StyleOpen style dialog
DeleteRemove layer

Reorder Layers

Drag & drop layers to change their order. Layers higher in the list are drawn on top of those below.

Zoom to Layer

Double-click on a layer name to fit the view to that layer's content.

Sublayers & Classes

Sublayer Tree

Each DXF layer contains sublayers (AutoCAD layers). Expand a layer to see its sublayers:

  • Checkbox - Show/hide sublayer
  • Name - AutoCAD layer name
  • Feature count - Number of elements

Class Filter

The class filter enables targeted display of specific feature classes:

  1. Open the Layers panel
  2. Select a layer
  3. Click "Class Filter"
  4. Use the checkboxes to show/hide classes
ActionFunction
Show AllShow all classes
Hide AllHide all classes
InvertInvert visibility
SearchFilter classes by name

Class Fields

You can choose which attribute forms the classes (e.g., layer, color, linetype). Switch between class fields via the dropdown.

Layer Styling

Style Dialog

Click next to a layer to edit the style:

PropertyDescription
ColorLine and fill color
Line widthStroke width in pixels
OpacityTransparency (0–100%)

ACI Colors

DXF files use the AutoCAD Color Index (ACI). These colors are automatically detected and applied. You can override ACI colors per class.

Class Styling

Customize colors per class:

  1. Open the Class Filter
  2. Click the color swatch next to a class
  3. Choose a new color
  4. The change is applied immediately and saved in the browser

Basemaps

Display a background map to see CAD data in geographic context.

Activating a Basemap

  1. Click "Basemap" in the toolbar
  2. Choose a map:
BasemapDescription
OpenStreetMapStandard street map
SatelliteAerial/satellite imagery
NoneDisable basemap
  1. Adjust the opacity with the slider

Coordinate System Required

Basemaps only work if the CAD layer has a valid coordinate system (EPSG code). Make sure your DXF file is georeferenced.

Coordinate Reference Systems

The 2D Viewer supports various coordinate reference systems (CRS):

EPSGNameUsage
25832ETRS89 / UTM zone 32NGermany (standard)
4647ETRS89 / UTM zone 32N (N-zE)NRW standard
4326WGS 84GPS / International
3857Web MercatorOnline maps
31467Gauss-Krüger zone 3Historic DE

Setting the CRS

  1. Open the Layers panel
  2. Select a layer
  3. Click "Coordinate System"
  4. Enter the EPSG code or choose from the list

Automatic Detection

When importing WFS and GeoJSON data, the coordinate system is automatically detected. For DXF files, it may need to be set manually.

See Also

BIM AVA Documentation