Graph segments can be exported to shapefiles, geodatabases, and DXF. To export dynamic shapes and models that are based on graphs, see Export shapes and Export a model. To export graph segments, do the following:
- Select the graph segments to export.
- Click File > Export from the main menu.
- Choose CityEngine > Export Selected Graph Objects.
- Click Next.
- For Format, choose the format to export.
Depending on the file format, different options are available for export.
Export to SHP
The Esri shapefile is a geospatial vector data format for GIS 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. You can export graph segments and attributes to these files. Additionally, an index file (.shx) is written.
Note:
- You can also export shapes. For a shape-specific description, see Export shapes.
- Shapefile support is not available in all CityEngine versions.
Export options
The export dialog box consists of the file name and the 3D options. Presets can be saved and applied.
File
Click Browse to open a dialog box and select an .shp file to export.
3D options
The following table lists the available 3D options:
3D option | Shapefile type | Data |
---|---|---|
none | Polyline | 2D |
PolylineZ | PolylineZ | 3D |
Note:
A .prj file is not written. The data is stored in Cartesian coordinates in the current scene coordinate system.
Export to a file geodatabase
The Esri file geodatabase (FileGDB) is a file-based database for vector and raster data. It is identified by the .gdb extension, for example, myDatabase.gdb.
Export options
The export dialog box consists of the file name option. Presets can be saved and applied.
File
Click Browse to open a dialog box and 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, an entity of type Line is written.
Note:
You can also export shapes. For a shape-specific description, see Export shapes.
Export options
The export dialog box consists of the file name and the street width option. Presets can be saved and applied.
File
Click Browse to open a dialog box and 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 written is the total street width, that is, the street width plus the sidewalk widths.