Export graphs

Graph segments can be exported to shapefiles, geodatabases and DXF. To export dynamic shapes and models that are based on graphs refer to export shapes and export models respectively. To export graph segments do the following:

  1. Select Graph segments to export.
  2. Select File > Export from the main menu.
  3. Choose CityEngine > Export Selected Graph Objects.
  4. Click Next.
  5. For Format, choose the format to export.

    Depending on the file format, different options will be available for export.

Export to SHP

The ESRI Shapefile or simply a shapefile is a popular geospatial vector data format for geographic information systems software. A shapefile commonly refers to a collection of files. The main file (.shp) contains the shape data and the database file (.dbf) contains attributes for each shape. The shapefile exporter can export graph segments and attributes to these files. Additionally, the exporter writes an index file (.shx).

Note:
  • The same exporter can also be used to export shapes: For a shape specific description please visit: Export shapes to SHP
  • Shapefile support is not available in all CityEngine versions.

Export settings

The export dialog consists of the filename and the 3D options. Presets can be saved and applied.

File

Press Browse to open a dialog to select a .shp file to export.

3D options

The following table illustrates the influence of this option:

3D OptionShapefile TypeData

none

Polyline

2D

PolylineZ

PolylineZ

3D

Note:

The exporter does not write a .prj projection file. The data is always stored in cartesian coordinates in the current scene coordinate system.

Export to Esri File Geodatabase

The Esri File Geodatabase (FileGDB) is a file-based database for vector and raster data. It can be identified as folder with the suffix .gdb. For example, myDatabase.gdb.

Export settings

The export dialog consists of the filename option. Presets can be saved and applied.

File

Press Browse to open a dialog to select a .gdb destination file to export to.

Export to DXF

AutoCAD DXF, Drawing Interchange Format, or Drawing Exchange Format, is a CAD data format developed by Autodesk. A DXF file contains a set of entities. For each selected graph segment, the exporter writes an entity of type Line.

Note:

The same exporter can also be used to export shapes: For a shape specific description please visit: Exporting Shapes to DXF

Export settings

The export dialog consists of the filename and the street width option. Presets can be saved and applied.

File

Press Browse to open a dialog to select a .dxf file to export.

Export street width

When enabled, the street width is written into the "Thickness" field of the DXF Line entity (group code 39).

Note:

The value which is written is the total street width, that is the street width plus the sidewalk widths.