Writer Directives

The suffixes shown are prefixed by the current <WriterKeyword> in a mapping file. By default, the <WriterKeyword> for the Google Maps Engine Raster Writer is GOOGLEMAPSENGINERASTER_OUT.

REFRESH_TOKEN

This directive specifies a refresh token for OAuth 2.0 authentication to Google Maps Engine.

This token can be pasted into the Refresh Token field, if known. To obtain a new token, click the browse button beside the Refresh Token field in the Parameters dialog. This will prompt for a Google account authentication page from Google.

It is recommended that you save the defaults (from the Defaults button on the dialog) once the refresh token is retrieved so you will not have to re-authenticate in the future.

Required/Optional

Required

Mapping File Syntax

<ReaderKeyword>_REFRESH_TOKEN <token>

Workbench Parameter

Refresh Token

PROJECT

This directive specifies the Google Maps Engine project that contains the rasters of interest.

Required/Optional

Required

Mapping File Syntax

<WriterKeyword>_PROJECT <ProjectNameOrID>

Workbench Parameter

Project

ATTRIBUTION

This directive specifies the Google Maps Engine attribution that will be attached to all new raster assets created by the writer. The attribution value of any existing raster assets will not be modified. This must be the name of an existing attribution for the specified project.

Required/Optional

Required

Mapping File Syntax

<WriterKeyword>_ATTRIBUTION <Attribution Name>

Workbench Parameter

Attribution Name

DEF

Each Google Maps Engine table must have fields defined for records to be written. All field names on the def line must exist on the table. The syntax of the definition is:

GOOGLEMAPSENGINETABLES_DEF <rasterNameOrId> \
	[gme_type (gme_raster|gme_none)] \
       [gme_raster_attribution <GME attribution name>]
Parameter Contents

rasterNameOrId

The name or ID of the raster asset to be written.

The recognized forms are:

  • Raster name
  • Raster asset ID

gme_type

The name of the GME geometry type.