The EXPORT_PDF3D command exports all currently loaded data to a 3D PDF file. The following parameters are supported by the command.

  • FILENAME - full path to file to save the data to
  • EXPORT_LAYER - filename or description of layer(s) to export. By default all compatible and exportable layers are exported. You can include multiple EXPORT_LAYER parameters if you have multiple masks to search. Wildcards (* and ?) are supported. Hidden layers are not considered.
  • PDF_PAGE_SIZE - specifies the name of the paper size to use. This should match one of the entries on the PDF export dialog, like Letter, A0, etc. If you would like to define a custom page size, use a format like PDF_PAGE_SIZE="CUSTOM 12in x 18in" (creates a 12 inch wide by 18 inch tall page or PDF_PAGE_SIZE="CUSTOM 30cm X 60cm" which creates a 30 cm by 80 cm page.
  • PDF_PAGE_ORIENTATION - specifies the page orientation to use for the generated PDF file. The following values are supported:
    • AUTO - Automatically determine whether to use portrait or landscape mode based on export bounds aspect ratio.
  • PDF_MARGINS - specifies the margins to use in inches. The value should be a comma-delimited list of numbers for the left, top, right, and bottom margins. For example, PDF_MARGINS="0.5,1.0,0.5,1.25" would result in a 0.5 inch margin for the left and right, 1.0 inch for the top, and 1.25 inches for the bottom.
  • PDF_HEADER - specifies the header to use
  • PDF_FOOTER - specifies the footer to use
  • PDF_COMBINE_RASTERS - specifies whether multiple raster layers should be combined into a single node or kept separate. Use PDF_COMBINE_RASTERS=YES to combine them (default) or PDF_COMBINE_RASTERS=NO to keep separate.
  • PDF_COMBINE_ELEV_GRIDS - specifies wheter multiple elevation grid layers should be combined into a single node or kept separate. Use PDF_COMBINE_ELEV_GRIDS=YES to combine them (default) or PDF_COMBINE_ELEV_GRIDS=NO to keep separate.
  • PDF_CREATE_IMAGE_DRAPED - specifies whether to combine raster and elevation grid layers into a single image draped surface node. Use PDF_CREATE_IMAGE_DRAPED=YES to combine them (default) or PDF_CREATE_IMAGE_DRAPED=NO to keep separate.
  • PDF_LIDAR_AS_LINES - specifies wether to render Lidar points as short line segments in PDF. This will improve appearance in some PDF readers. Specify PDF_LIDAR_AS_LINES=YES to enable this option (default) or PDF_LIDAR_AS_LINES=NO to disable this option and render as points.
  • PDF_USE_FILENAME_FOR_NODES - specifies whether to use the source filename for exported node names. Specify PDF_USE_FILENAME_FOR_NODES=YES to enable this option or PDF_USE_FILENAME_FOR_NODES=NO to disable this option and assign default node names based on data type (raster, lidar, point, line, area).
  • PDF_USE_LDP - specifies whether to use a Low Distortion Projection for exported data. This can impove accuracy when the range of coordinates is small compared to their values. Specify LDP=YES to enable this option (default) or PDF_USE_LDP=NO to disable this option.
  • PDF_USE_ADOBE_EXT - specifies that Adobe ISO 32000 Extensions should be used for georeference. Specify PDF_USE_ADOBE_EXT=YES to enable this option (default) or PDF_USE_ADOBE_EXT=NO to disable this option and use standard PDF georeferencing.
  • OVERWRITE_EXISTING - specifies that existing files should be overwritten. The default is OVERWRITE_EXISTING=YES, so use OVERWRITE_EXISTING=NO to skip exporting files that already exist.