<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 8, 2014 at 5:55 AM, Paulo van Breugel <span dir="ltr"><<a href="mailto:p.vanbreugel@gmail.com" target="_blank">p.vanbreugel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">To answer my own question, to control the resolution of the output image one need to set the region resolution (using g.region) to match the desired image resolution. I guess the cartographic composer does this somehow automatically (?).<br></div></blockquote><div><br></div><div>yes, it does, in Map frame settings you can choose from different options (fit frame to match selected map, selected region, current region, fixed scale and map center). To do so, it sets different region. There is a hint in the header of the created .psmap file, in your file it's the line:</div><div><br></div><div><span style="font-size:13px"># g.region rast=bvmeat_kg@CSIRO2005</span><br></div><div><br></div><div><br></div><div>Anna</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br></div><div class=""><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 7, 2014 at 11:35 PM, Paulo van Breugel <span dir="ltr"><<a href="mailto:p.vanbreugel@gmail.com" target="_blank">p.vanbreugel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div>I have created a .psmap file to create a map in ps format with the cartographic composer. The ps file created is about 35MB.<br><br></div>When using the same .psmap file in in the ps.map function, the ps file created is > 1GB (basically the size of the raster file used for the map.<br><br></div>Any idea what I am doing wrong?<br><br>The psmap file:<br><br># timestamp: 2014-12-07 21:57<br># location: latlon<br># mapset: plantspecies<br># page orientation: Portrait<br># g.region rast=bvmeat_kg@CSIRO2005<br><br>maploc 0.2 0.2 11.8 4.9<br>border n<br><br>paper<br>    width 11.2<br>    height 4.5<br>    left 0.1<br>    right 0.1<br>    bottom 0.1<br>    top 0.1<br>    end<br><br>vareas glbl0@PERMANENT<br>    layer 1<br>    masked n<br>    color 0:0:0<br>    width 0.2<br>    fcolor none<br>    label world_boundaries(PERMANENT)<br>    lpos 1<br>    end<br>raster bvmeat_kg@CSIRO2005<br><br></div>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br></blockquote></div><br></div></div>