On 04-06-2014 13:33, Hernán De Angelis wrote:
One option is exporting to NetCDF format and running GMT's grd2xy (http://gmt.soest.hawaii.edu/doc/latest/grd2xyz.html). If the raster is big this will be slow though.

If GMT was built with the GDAL link (nearly all the GMT5's and many of the GMT4's) you don't need to convert the grid format, just use it as is. And why you say it's slow (apart from the time taken to same a potentially big ascii file on disk)?

Joaquim


H.


On Wed, Jun 4, 2014 at 1:00 PM, Jukka Rahkonen <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    Is there a tool for converting rasters into vector grids, either
    points or
    polygons? I know gdal_polygonize but what I am after would just
    create a
    regular grid of points or polygons and write raster values into
    attributes.
    I can do that with SEXTANTE vectorization tools but I would rather
    use GDAL.

    -Jukka Rahkonen-

    _______________________________________________
    gdal-dev mailing list
    [email protected] <mailto:[email protected]>
    http://lists.osgeo.org/mailman/listinfo/gdal-dev




--
Hernán De Angelis

Glaciers & Remote Sensing | Sustainability & Environmental Science http://talesoficeandstone.blogspot.se/ | http://talesofafiniteplanet.blogspot.se/ <http://talesoficeandstone.blogspot.se/>


_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to