[GRASS-user] ps.map and cartographic composer

Anna Petrášová kratochanna at gmail.com
Mon Dec 8 07:10:22 PST 2014


On Mon, Dec 8, 2014 at 5:55 AM, Paulo van Breugel <p.vanbreugel at gmail.com>
wrote:

> 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 (?).
>

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:

# g.region rast=bvmeat_kg at CSIRO2005


Anna


>
> On Sun, Dec 7, 2014 at 11:35 PM, Paulo van Breugel <p.vanbreugel at gmail.com
> > wrote:
>
>> I have created a .psmap file to create a map in ps format with the
>> cartographic composer. The ps file created is about 35MB.
>>
>> 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.
>>
>> Any idea what I am doing wrong?
>>
>> The psmap file:
>>
>> # timestamp: 2014-12-07 21:57
>> # location: latlon
>> # mapset: plantspecies
>> # page orientation: Portrait
>> # g.region rast=bvmeat_kg at CSIRO2005
>>
>> maploc 0.2 0.2 11.8 4.9
>> border n
>>
>> paper
>>     width 11.2
>>     height 4.5
>>     left 0.1
>>     right 0.1
>>     bottom 0.1
>>     top 0.1
>>     end
>>
>> vareas glbl0 at PERMANENT
>>     layer 1
>>     masked n
>>     color 0:0:0
>>     width 0.2
>>     fcolor none
>>     label world_boundaries(PERMANENT)
>>     lpos 1
>>     end
>> raster bvmeat_kg at CSIRO2005
>>
>>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20141208/d86448fc/attachment.html>


More information about the grass-user mailing list