[GRASS-user] Raster kml export script?

G. Allegri giohappy at gmail.com
Sun Jan 6 10:50:37 EST 2008


Obviously, before exporting with r.out.png you have to set ther region
with the input raster.

2008/1/6, G. Allegri <giohappy at gmail.com>:
> I don't know how to avoid the use of convert... I've found my way to
> produce georeferenced transparent images:
>
> export the raster with r.out.png, create the pgw world file
> (extracting the values from r.info), and convert the outpu.png with
> "convert -transparent white output.png output_transp.png"
>
> I works fine for me.
>
> 2008/1/5, Moritz Lennert <mlennert at club.worldonline.be>:
> > On 05/01/08 02:23, David Finlayson wrote:
> > > Here is a link to my web site with the latest version:
> > >
> > > http://david.p.finlayson.googlepages.com/grasstogoogleearth
> > >
> > > I have something that works for me, but I was forced to use image
> > > magick to clip the nodata collar off of the exported png file. If I
> > > can figure out how to get a one-to-one correspondence between raster
> > > cells and image pixels, I fix it again.
> >
> > Have you checked out gdal2tiles [1]? I have no idea if this is in anyway
> > close to what you are trying to do, but maybe there are some ideas in there.
> >
> > Also CC'ing Rainer as this might also be something useful for him.
> >
> > Moritz
> >
> > [1] http://www.gdal.org/gdal2tiles.html
> > _______________________________________________
> > grass-user mailing list
> > grass-user at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/grass-user
> >
>


More information about the grass-user mailing list