EnglishFrenchSpanish

OnWorks favicon

gdal_retile - Online in the Cloud

Run gdal_retile in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gdal_retile that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


gdal_retile - gdal_retile.py gdal_retile.py retiles a set of tiles and/or build tiled
pyramid levels

SYNOPSIS


gdal_retile.py [-v] [-co NAME=VALUE]* [-of out_format] [-ps pixelWidth pixelHeight]
[-ot {Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/
CInt16/CInt32/CFloat32/CFloat64}]'
[ -tileIndex tileIndexName [-tileIndexField tileIndexFieldName]]
[ -csv fileName [-csvDelim delimiter]]
[-s_srs srs_def] [-pyramidOnly]
[-r {near/bilinear/cubic/cubicspline/lanczos}]
-levels numberoflevels
[-useDirForEachRow]
-targetDir TileDirectory input_files.fi

DESCRIPTION


This utility will retile a set of input tile(s). All the input tile(s) must be
georeferenced in the same coordinate system and have a matching number of bands.
Optionally pyramid levels are generated. It is possible to generate shape file(s) for the
tiled output.

If your number of input tiles exhausts the command line buffer, use the general --optfile
option

-targetDir directory:
The directory where the tile result is created. Pyramids are stored in subdirectories
numbered from 1. Created tile names have a numbering schema and contain the name of
the source tiles(s)

-of format:
Output format, defaults to GeoTIFF (GTiff).

-co NAME=VALUE:
Creation option for output file. Multiple options can be specified.

-ot datatype:
Force the output image bands to have a specific type. Use type names (ie. Byte,
Int16,...)

-ps pixelsize_x pixelsize_y:
Pixel size to be used for the output file. If not specified, 256 x 256 is the default

-levels numberOfLevels:
Number of pyramids levels to build.

-v:
Generate verbose output of tile operations as they are done.

-pyramidOnly:
No retiling, build only the pyramids

-r algorithm:
Resampling algorithm, default is near

-s_srs srs_def:
Source spatial reference to use. The coordinate systems that can be passed are
anything supported by the OGRSpatialReference.SetFro‐mUserInput() call, which includes
EPSG PCS and GCSes (ie.EPSG:4296), PROJ.4 declarations (as above), or the name of a
.prf file containing well known text. If no srs_def is given, the srs_def of the
source tiles is used (if there is any). The srs_def will be propagated to created
tiles (if possible) and to the optional shape file(s)

-tileIndex tileIndexName:
The name of shape file containing the result tile(s) index

-tileIndexField tileIndexFieldName:
The name of the attribute containing the tile name

-csv csvFileName:
The name of the csv file containing the tile(s) georeferencing information. The file
contains 5 columns: tilename,minx,maxx,miny,maxy

-csvDelim column delimiter:
The column delimter used in the csv file, default value is a semicolon ';'

-useDirForEachRow:
Normally the tiles of the base image are stored as described in -targetDir. For large
images, some file systems have performance problems if the number of files in a
directory is to big, causing gdal_retile not to finish in reasonable time. Using this
parameter creates a different output structure. The tiles of the base image are stored
in a subdirectory called 0, the pyramids in subdirectories numbered 1,2,.... Within
each of these directories another level of subdirectories is created, numbered from
0...n, depending of how many tile rows are needed for each level. Finally, a directory
contains only the the tiles for one row for a specific level. For large images a
performance improvement of a factor N could be achieved.

NOTE: gdal_retile.py is a Python script, and will only work if GDAL was built with Python
support.

AUTHORS


Christian Mueller [email protected]

Use gdal_retile online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Avogadro
    Avogadro
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 2
    XMLTV
    XMLTV
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    do...
    Download XMLTV
  • 3
    strikr
    strikr
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    (commercial)...
    Download strikr
  • 5
    GIFLIB
    GIFLIB
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 6
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • More »

Linux commands

  • 1
    2xml
    2xml
    xml2 - convert xml documents in a flat
    format 2xml - convert flat format into
    xml html2 - convert html documents in a
    flat format 2html - convert flat format
    i...
    Run 2xml
  • 2
    3dldf
    3dldf
    3dldf - a system based on MetaPost for
    creating three-dimensional graphics ...
    Run 3dldf
  • 3
    crashme
    crashme
    crashme - test operating environment
    software robustness ...
    Run crashme
  • 4
    crashstats
    crashstats
    crashstats - Display CrashMail
    statistics ...
    Run crashstats
  • 5
    gbhill
    gbhill
    gbhill - Hill Maximum Likelihhod
    estimation ...
    Run gbhill
  • 6
    gbhisto
    gbhisto
    gbhisto - Produce histogram from data ...
    Run gbhisto
  • More »

Ad