Hi Stefan,<br><br>On Wednesday, January 25, 2012, SBL <Stefan> wrote:<br>> Recently, I wrote my first Python-Plugin for QGIS ("GarminCustomMap").<br><br>Interesting plugin. It used to be quite a hassle to make the custom maps for our Garmin Colorado 400t. I currently can't get your plugin to function properly and will contact you about that. You don't seem to have a repo or issue tracker set up for your plugin yet at <a href="http://planet.qgis.org">planet.qgis.org</a>.<br>
<br>After looking at your code for creating the initial TIFF with world file via Composer, it struck me that that technique could be repurposed to make an 'Export to High-Resolution Georeferenced Raster' plugin, solving the difficulty of quickly getting quality high-res geo-ref'd output from QGIS [1]. (Unless I haven't heard of some new feature in QGIS, or plugin, to do so.)<br>
<br>Couple of things the plugin could need for input:<br><br>1) Output parameters (file format, dpi, scale, pixel area, rotation, etc), some need to be Composer-specific.<br><br>2) Area of interest, referenced from a map layer, or entered extents. Would set the map item's viewport extent. Page size can be interpreted from that, scale and dpi.<br>
<br>3) QGIS Project CRS (and maybe a particular layer's nodata or alpha channel settings) can be embedded in output using GDAL.<br><br>4) Optionally reproject the output.<br><br>5) Optionally create overviews or TMS tiles. gdaladdo and gdal2tiles, tilecache, or mapproxy could be leveraged for this.<br>
<br>May I repurpose that code from your plugin to start testing these ideas out?<br><br><br>[1] <a href="http://underdark.wordpress.com/2010/11/30/creating-high-resolution-images-using-qgis/">http://underdark.wordpress.com/2010/11/30/creating-high-resolution-images-using-qgis/</a><br>
<br>Best regards,<br><br>Larry Shaffer<br>Dakota Cartography<br>Black Hills, South Dakota<br><br>