[gdal-dev] XY Point extraction from raster

Dylan Beaudette dylan.beaudette at gmail.com
Sat Jun 28 13:27:13 EDT 2008


Hi,

I use a tool called 'Starspan' for these type of operations: it is
command line, and works with any GDAL-compatible raster/vector format.

http://starspan.casil.ucdavis.edu/doku/doku.php

Cheers,

Dylan

On Fri, Jun 27, 2008 at 5:34 PM, Hyer, Dr. Edward (Post Doc)
<edward.hyer.ctr at nrlmry.navy.mil> wrote:
> I have been very pleased with the way I can use 'gdaltransform' to wrap
> a long set of operations into a single-line command. I am trying to
> extract point data from an HDF file, and with:
>
> gdaltransform -i -t_srs EPSG:4326 HDF_FILE.hdf < points_dd.txt >
> points_xy.txt
>
> I can feed it a set of XY geographic locations, and it will spit out
> corresponding image coordinates.
>
> Now, how can I actually pull the data, just for those specific
> coordinates?
>
> I use PDL in Perl for numerics, but this seems like something I should
> be able to do with the command-line utilities.
>
> Thanks for any tips/tricks,
>
> --Edward H.
>
> Dr. Edward J. Hyer
> Post-Doctoral Researcher
> Naval Research Laboratory
> Marine Meteorology Division
> 7 Grace Hopper Avenue, Stop 2
> Monterey, California 93940
> 831-656-4023
> FAX 831-656-4769
> edward.hyer at nrlmry.navy.mil
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>


More information about the gdal-dev mailing list