[gdal-dev] OGR XYZ -> GDAL VRT?

Even Rouault even.rouault at mines-paris.org
Wed Dec 19 22:54:45 PST 2012


Le jeudi 20 décembre 2012 02:08:01, vous avez écrit :
> Hi all, does anyone know a way to put up a GDAL VRT fed by an OGR
> datasource that has data in XYZ format (regular gridded) .
> 
> It doesn't have to ultimately be a VRT, just some similar on-the-fly raster
> format method, so I can share raster data directly from the OGR
> datasource.  I've been digging around and saw wkt raster/postgis raster
> but it's really a little different than this approach as it doesn't use
> arrays.
> 
> I can share more but thought I'd keep it simple first ;-)

Tyler,

There's a GDAL XYZ driver, but it has very strict requirements : 
http://gdal.org/frmt_xyz.html

Otherwise you can use the OGR CSV driver (make sure the file extension is 
.csv), wrap it in a OGR VRT, and then ingest that in gdal_grid to produce a 
raster. But that's not really on-the-fly.

Even


More information about the gdal-dev mailing list