[Qgis-user] Exporting a raster layer from QGis with symbology
Alister Hood
alister.hood at synergine.com
Sun Dec 4 14:05:51 PST 2011
> Date: Sat, 3 Dec 2011 08:51:15 +0100
> From: Patrice Vetsel <patrice at kagou.fr>
> Subject: Re: [Qgis-user] Exporting a raster layer from QGis with
> symbology
> To: qgis-user at lists.osgeo.org
> Message-ID: <E24EA0F9-F4BF-410E-81FC-BDCF4BE600FF at kagou.fr>
> Content-Type: text/plain; charset=iso-8859-1
>
> May be by using pdf printing.
> Is it Qgis supporting geo-pdf ?
No.
> Regards
>
> Le 3 déc. 2011 à 00:51, Nyall a écrit :
>
> > Hi all -- hoping someone can help me out here.
> >
> > Does Qgis have a way of exporting raster layers with the symbology
> > applied?
I don't think so. Not a georeferenced image or at the original resolution.
You may want to check and add a feature request for it if there isn't one already.
But I wouldn't be surprised if it was possible to do it from the Python console.
> > Since it's nice and easy to make good looking classification
> > layers through qgis, I'd like to export these layers to a
> > georeferenced image format which I can split up into TMS tiles.
> >
> >> From my hunting around, the only way I could find for exporting
> > rasters (with the symbology applied) is to create a composer window
> > and save the layout from there. However, this approach doesn't allow
> > me to maintain the original resolution and georeferencing information
> > that the original raster contains.
You can also do File>Save as Image in the main QGIS window.
If you "zoom to layer" it should be relatively easy to write a script to pan with the arrow keys (probably easiest with Autohotkey if you are using Windows), "save as image" repeatedly and then stitch the images together (which may be easiest with "Fiji"
http://fiji.sc/wiki/index.php/Stitch_and_Align_a_sequence_of_grid_images_Tutorial )
Or maybe it would be possible to use qgis-mapserver and a trick like the last post at http://ask.metafilter.com/148540/When-I-said-birds-eye-view-thats-not-quite-what-I-meant
Alister
More information about the Qgis-user
mailing list