View source: R/gdal_gdal2tiles.R
gdal_gdal2tiles | R Documentation |
QGIS Algorithm provided by GDAL gdal2tiles (gdal:gdal2tiles). —————- Arguments —————- INPUT: Input layer Argument type: raster Acceptable values: - Path to a raster layer PROFILE: Tile cutting profile Default value: 0 Argument type: enum Available values: - 0: Mercator - 1: Geodetic - 2: Raster Acceptable values: - Number of selected option, e.g. '1' - Comma separated list of options, e.g. '1,3' ZOOM: Zoom levels to render (optional) Default value: Argument type: string Acceptable values: - String value - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression VIEWER: Web viewer to generate Default value: 0 Argument type: enum Available values: - 0: All - 1: GoogleMaps - 2: OpenLayers - 3: Leaflet - 4: None Acceptable values: - Number of selected option, e.g. '1' - Comma separated list of options, e.g. '1,3' TITLE: Title of the map (optional) Argument type: string Acceptable values: - String value - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression COPYRIGHT: Copyright of the map (optional) Argument type: string Acceptable values: - String value - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression RESAMPLING: Resampling method Default value: 0 Argument type: enum Available values: - 0: Average - 1: Nearest Neighbour - 2: Bilinear (2x2 Kernel) - 3: Cubic (4x4 Kernel) - 4: Cubic B-Spline (4x4 Kernel) - 5: Lanczos (6x6 Kernel) - 6: Antialias Acceptable values: - Number of selected option, e.g. '1' - Comma separated list of options, e.g. '1,3' SOURCE_CRS: The spatial reference system used for the source input data (optional) Argument type: crs Acceptable values: - CRS as an auth ID (e.g. 'EPSG:3111') - CRS as a PROJ4 string (e.g. 'PROJ4:…') - CRS as a WKT string (e.g. 'WKT:…') - Path to a layer. The CRS of the layer is used. NODATA: Transparency value to assign to the input data (optional) Default value: 0 Argument type: number Acceptable values: - A numeric value - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression URL: URL address where the generated tiles are going to be published (optional) Argument type: string Acceptable values: - String value - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression GOOGLE_KEY: Google Maps API key (http://code.google.com/apis/maps/signup.html) (optional) Argument type: string Acceptable values: - String value - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression BING_KEY: Bing Maps API key (https://www.bingmapsportal.com/) (optional) Argument type: string Acceptable values: - String value - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression RESUME: Generate only missing files Default value: false Argument type: boolean Acceptable values: - 1 for true/yes - 0 for false/no - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression KML: Generate KML for Google Earth Default value: false Argument type: boolean Acceptable values: - 1 for true/yes - 0 for false/no - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression NO_KML: Avoid automatic generation of KML files for EPSG:4326 Default value: false Argument type: boolean Acceptable values: - 1 for true/yes - 0 for false/no - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression OUTPUT: Output directory Argument type: folderDestination Acceptable values: - Path for an existing or new folder
gdal_gdal2tiles(
INPUT = qgisprocess:::qgis_default_value(),
PROFILE = qgisprocess:::qgis_default_value(),
ZOOM = qgisprocess:::qgis_default_value(),
VIEWER = qgisprocess:::qgis_default_value(),
TITLE = qgisprocess:::qgis_default_value(),
COPYRIGHT = qgisprocess:::qgis_default_value(),
RESAMPLING = qgisprocess:::qgis_default_value(),
SOURCE_CRS = qgisprocess:::qgis_default_value(),
NODATA = qgisprocess:::qgis_default_value(),
URL = qgisprocess:::qgis_default_value(),
GOOGLE_KEY = qgisprocess:::qgis_default_value(),
BING_KEY = qgisprocess:::qgis_default_value(),
RESUME = qgisprocess:::qgis_default_value(),
KML = qgisprocess:::qgis_default_value(),
NO_KML = qgisprocess:::qgis_default_value(),
OUTPUT = qgisprocess:::qgis_default_value(),
...,
.complete_output = .complete_output_option(),
.quiet = .quiet_option(),
.messages = .message_option()
)
INPUT |
|
PROFILE |
|
ZOOM |
|
VIEWER |
|
TITLE |
|
COPYRIGHT |
|
RESAMPLING |
|
SOURCE_CRS |
|
NODATA |
|
URL |
|
GOOGLE_KEY |
|
BING_KEY |
|
RESUME |
|
KML |
|
NO_KML |
|
OUTPUT |
|
... |
further parameters passed to |
.complete_output |
logical specifying if complete out of |
.quiet |
logical specifying if parameter |
.messages |
logical specifying if messages from |
OUTPUT - outputFolder - Output directory
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.