EnglishFrenchSpanish

OnWorks favicon

pkdumpogr - Online in the Cloud

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

This is the command pkdumpogr 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


pkdumpogr - dump ogr file to text file or standard output

SYNOPSIS


pkdumpogr -i input.txt [-o output] [options]

DESCRIPTION


pkdumpogr dumps the content of a vector dataset to (standard) output (screen or filename).
The default is to dump all the attributes. Individual attributes can be selected with the
option -n. The X and Y positions can be printed with the option -pos. Use the option
-transpose to transpose the output (only in combination with the option -n attribute).

OPTIONS


-i filename, --input filename
Input shape file

-o filename, --output filename
Output ASCII file

-ln layername, --lname layername
Layer name(s) in sample (leave empty to select all)

-n attribute, --name attribute
names of the attributes to select. Each attribute is stored in a separate band.
Default is ALL: write all attributes

-pos, --pos
include position (x and y)

-t, --transpose
transpose output (does not work for -n ALL)

-v level, --verbose level
verbose (Default: 0)

EXAMPLE


Dump the attributes label and description for the vector dataset sample.sqlite to standard
output (screen)

pkdumpogr -i sample.sqlite -n label -n description

0 2 noforest
1 2 noforest
2 2 noforest
3 2 noforest
4 2 noforest
5 2 noforest
6 2 noforest
7 2 noforest
8 2 noforest
9 2 noforest
10 1 forest
11 2 noforest

Similar to previous example, but transpose output (does not work without explicitly
defining options -n for attributes)

pkdumpogr -i sample.sqlite -n label -n description -t

0 2 2 2 2 2 2 2 2 2 2 1 2
1 noforest noforest noforest noforest noforest noforest noforest noforest noforest noforest forest noforest

Dump the entire content of vector dataset input.sqlite to standard output

pkdumpogr -i input.sqlite

Dump only ATTRIBUTE of vector dataset input.sqlite including x and y position and output
to ASCII file output.txt

pkdumpogr -i input.sqlite -o output.txt -n ATTRIBUTE -pos

Use pkdumpogr online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    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
  • 2
    usm
    usm
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • 3
    Chart.js
    Chart.js
    Chart.js is a Javascript library that
    allows designers and developers to draw
    all kinds of charts using the HTML5
    canvas element. Chart js offers a great
    array ...
    Download Chart.js
  • 4
    iReport-Designer for JasperReports
    iReport-Designer for JasperReports
    NOTE: iReport/Jaspersoft Studio Support
    Announcement: As of version 5.5.0,
    Jaspersoft Studio will be the official
    design client for JasperReports. iReport
    will...
    Download iReport-Designer for JasperReports
  • 5
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 6
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • More »

Linux commands

Ad