EXPORT_GEOPACKAGE

The EXPORT_GEOPACKAGE command exports all currently loaded raster, vector, and elevation data to a GeoPackage (*.gpkg) 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.
  • OVERWRITE_EXISTING – indicates whether or not to overwrite the output file, if it already exists. Default is NO
  • Vector Options
    • SHAPE_TYPE – allow one or more of AREAS, LINES, POINTS. Default is to export all compatible and exportable features.
    • VECTOR_TABLE – One to three names corresponding to SHAPE_TYPE entries. Default is to use the name of the shape type.
    • SPLIT_BY_LAYER – Create a separate table for each layer. Table name is layer name plus VECTOR_TABLE value, if necessary.
    • GEN_3D_FEATURES – Export 3D features
  • Raster Tile Options
    • TILE_TABLE – Table name for raster tiles. Defaults to “tile_data”

    • DESCRIPTION – Description for tiled data set.

    • MAX_ZOOM_LEVEL – Maximum zoom level. Valid range is 3 to 23. If not specified, GM will compute a zoom level based on the image data resolution.

    • NUM_ZOOM_LEVELS – Number of zoom levels to export

    • IMAGE_FORMAT – Valid values are PNG and JPG

    • QUALITY – Image quality. Valid range is 0 to 100. Only valid for IMAGE_FORMAT=JPG

    • TILE_SIZE – Size in pixels for each tile. Tiles will be square. Valid values are 256, 512, and 1024. Default is 256

    • WEB_SKIP_EMPTY_TILES – Skip tiles that have no data (default true)

    • WEB_SKIP_EXISTING_TILES – Skip tiles that already exist (resuming export)