User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

wiki:pkdumpogr [2017/12/05 22:53] (current)
Line 1: Line 1:
 +====== pkdumpogr ======
 +   ​pkdumpogr - dump vector file
 +<code bash>
 +   ​pkdumpogr -i input [OPTION]
 +   Dump (columns of) vector file to standard output or ASCII text file
 +<code bash>
 +   ​-i ​    ​--input ​               Input shape file (default: <empty string>)
 +   ​-o ​    ​--output ​              ​Output ASCII file (default: <empty string>)
 +   ​-n ​    ​--name ​                names of the attributes to select. Each attribute is stored in a separate band. Default is ALL: write all attributes (default: ALL)
 +   ​-pos ​  ​--pos ​                 include position (x and y) (default: false)
 +   ​-t ​    ​--transpose ​           transpose output (does not work for -n ALL  (default: false)
 +   ​-v ​    ​--verbose ​             verbose (Default: 0) (default: 0)
 +====== Examples ======
 +<code bash>
 +pkdumpogr -i input.shp # dump entire content of vector file to standard output ​
 +pkdumpogr -i input.shp -o output.txt -n ATTRIBUTE -pos # dump only ATTRIBUTE of vector file including x and y position and output to ASCII file
 +pkdumpogr -i input.shp -o output.txt -n ATTRIBUTE1 -n ATTRIBUTE2 -t # dump the two attributes ATTRIBUTE1 and ATTRIBUTE2 of vector file and transpose output
wiki/pkdumpogr.txt ยท Last modified: 2017/12/05 22:53 (external edit)