EnglishFrenchSpanish

Ad


OnWorks favicon

gdal_contour - Online in the Cloud

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

This is the command gdal_contour 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_contour - gdal_contour builds vector contour lines from a raster elevation model

SYNOPSIS


Usage: gdal_contour [-b <band>] [-a <attribute_name>] [-3d] [-inodata]
[-snodata n] [-i <interval>]
[-f <formatname>] [[-dsco NAME=VALUE] ...] [[-lco NAME=VALUE] ...]
[-off <offset>] [-fl <level> <level>...]
[-nln <outlayername>]
<src_filename> <dst_filename>

DESCRIPTION


This program generates a vector contour file from the input raster elevation model (DEM).

Starting from version 1.7 the contour line-strings will be oriented consistently. The high
side will be on the right, i.e. a line string goes clockwise around a top.

-b band:
picks a particular band to get the DEM from. Defaults to band 1.

-a name:
provides a name for the attribute in which to put the elevation. If not provided no
elevation attribute is attached.

-3d:
Force production of 3D vectors instead of 2D. Includes elevation at every vertex.

-inodata:
Ignore any nodata value implied in the dataset - treat all values as valid.

-snodata value:
Input pixel value to treat as 'nodata'.

-f format:
create output in a particular format, default is shapefiles.

-dsco NAME=VALUE:
Dataset creation option (format specific)

-lco NAME=VALUE:
Layer creation option (format specific)

-i interval:
elevation interval between contours.

-off offset:
Offset from zero relative to which to interpret intervals.

-fl level:
Name one or more 'fixed levels' to extract.

-nln outlayername:
Provide a name for the output vector layer. Defaults to 'contour'.

EXAMPLE


This would create 10meter contours from the DEM data in dem.tif and produce a shapefile in
contour.shp/shx/dbf with the contour elevations in the 'elev' attribute.

gdal_contour -a elev dem.tif contour.shp -i 10.0

AUTHORS


Frank Warmerdam warmerdam@pobox.com, Silke Reimer silke@intevation.de

Use gdal_contour online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 2
    DOSBox
    DOSBox
    DOSBox emulates a full x86 pc with
    sound and DOS. Its main use is to run
    old DOS games on platforms which
    don't have DOS (Windows 7, 8, 8.1
    and 10 / Linux ...
    Download DOSBox
  • 3
    Xtreme Download Manager
    Xtreme Download Manager
    The project has a new home now:
    https://xtremedownloadmanager.com/ For
    developers:
    https://github.com/subhra74/xdm Xtreme
    Download Manager is a powerful tool t...
    Download Xtreme Download Manager
  • 4
    Clover EFI bootloader
    Clover EFI bootloader
    Project has moved to
    https://github.com/CloverHackyColor/CloverBootloader..
    Features:Boot macOS, Windows, and Linux
    in UEFI or legacy mode on Mac or PC with
    UE...
    Download Clover EFI bootloader
  • 5
    Sequelize
    Sequelize
    Sequelize is a promise-based Node.js
    ORM for Postgres, MySQL, MariaDB, SQLite
    and Microsoft SQL Server. It features
    solid transaction support, relations,
    eager...
    Download Sequelize
  • 6
    unitedrpms
    unitedrpms
    Join us in Gitter!
    https://gitter.im/unitedrpms-people/Lobby
    Enable the URPMS repository in your
    system -
    https://github.com/UnitedRPMs/unitedrpms.github.io/bl...
    Download unitedrpms
  • 7
    Boost C++ Libraries
    Boost C++ Libraries
    Boost provides free portable
    peer-reviewed C++ libraries. The
    emphasis is on portable libraries which
    work well with the C++ Standard Library.
    See http://www.bo...
    Download Boost C++ Libraries
  • More »

Linux commands

Ad