Re: [GRASS-user] ps.map grids

2014-03-27 Thread Tyler Smith


On March 27, 2014 12:25:52 AM EDT, Hamish hamis...@yahoo.com wrote:
Tyler wrote:

 I'm trying to make a ps make, which I'll then tweak in Inkscape. The
 basic map looks almost correct, but the geogrid labels are placed
 slightly off the page. Is there a way to instruct GRASS to move the
 labels inwards so they are readable?
 
 The map is here: https://www.flickr.com/photos/carex/13433924714/

Hi,

it falls off the screen in map projections where the angle between grid
north and true north becomes large. This was recently fixed for
d.grid's
version of geo-grids, but it seems ps.map still needs similar
treatment.


Thanks Hamish.

I discovered the labels are present in the output, even if they aren't 
initially visible, and I can reposition them by hand in Inkscape. That will do 
for now.

Best,

Tyler

For now your best bet is to open the resulting .ps file in your
favourite
industrial strength text editor and search near the end of the file for
the line with the ZB (50N) PB text. The line after it starts with two
numbers. These are points (1/72) from the left side of the paper.
Changing the number by 10 will move it the same distance on the page as
the size of a 10 pt font. So try reducing the first number (x coord)
by about 10 and check the results. For the 80W on the bottom you'll
have
to change the second number of course.


Hamish

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] ps.map grids

2014-03-26 Thread Tyler Smith
Hi,

I'm trying to make a ps make, which I'll then tweak in Inkscape. The
basic map looks almost correct, but the geogrid labels are placed
slightly off the page. Is there a way to instruct GRASS to move the
labels inwards so they are readable?

The map is here: https://www.flickr.com/photos/carex/13433924714/

The script I'm using is:

g.region n=935000 s=-75 e=180 w=67

ps.map input=inputscript output=cranberry-map.ps

where 'inputscript' contains the following:

vlines provinces_ca
type boundary
color black
end

vlines usa
type boundary
color black
end

vpoints cranberry_ONQU
type point
color red
fcolor red
symbol basic/point
end

geogrid 5 d
color grey
numbers 1 black
end

paper
width 3.5
height 5
left 0.1
right 0.1
top 0.1
bottom 0.1
end

Thanks!

Tyler
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] ps.map grids

2014-03-26 Thread Hamish
Tyler wrote:

 I'm trying to make a ps make, which I'll then tweak in Inkscape. The
 basic map looks almost correct, but the geogrid labels are placed
 slightly off the page. Is there a way to instruct GRASS to move the
 labels inwards so they are readable?
 
 The map is here: https://www.flickr.com/photos/carex/13433924714/

Hi,

it falls off the screen in map projections where the angle between grid
north and true north becomes large. This was recently fixed for d.grid's
version of geo-grids, but it seems ps.map still needs similar treatment.

For now your best bet is to open the resulting .ps file in your favourite
industrial strength text editor and search near the end of the file for
the line with the ZB (50N) PB text. The line after it starts with two
numbers. These are points (1/72) from the left side of the paper.
Changing the number by 10 will move it the same distance on the page as
the size of a 10 pt font. So try reducing the first number (x coord)
by about 10 and check the results. For the 80W on the bottom you'll have
to change the second number of course.


Hamish

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user