Opened 13 years ago

Closed 13 years ago

#3845 closed enhancement (fixed)

[patch] gdallocationinfo read from stdin

Reported by: dangelo Owned by: warmerdam
Priority: normal Milestone:
Component: Utilities Version: svn-trunk
Severity: normal Keywords: gdallocationinfo
Cc:

Description

Getting information for multiple locations is often required, eg. getting heights for a set of horizontal GCPs from a DEM etc.

The attached patch reads gdal input coordinates from stdin, if they have not been supplied with the x y arguments. This way, multiple coordinates can be queried. This is especially helpful with the -valonly switch, as it can be easily used in pipes.

Attachments (1)

gdallocationinfo-stdin.patch (17.6 KB ) - added by dangelo 13 years ago.
patch v1

Download all attachments as: .zip

Change History (2)

by dangelo, 13 years ago

patch v1

comment:1 by warmerdam, 13 years ago

Resolution: fixed
Status: newclosed

Patch applied in trunk (r21151).

The patch added a [-coordval] to the usage message but there was nothing else about this parameter, so I removed it.

Thanks!

Note: See TracTickets for help on using tickets.