Hello,
I can't succeed to scale my raster as I want in the map window with ps.map
I've tried :
...
# g.region vector=max_area_vector_map@my_dataset
maploc 1.0 1.0
...
or
...
# g.region n=7030981.0 s=6950949.0 e=755872.0 w=691504.0 rows=1067 cols=858
maploc 1.0 1.0
...
with and without scale instruction like "scale 1:300000", and The scaling when I use the command line psmap is always the same...
One thing is strange, when i use g.gui.psmap it works (the map scale is fine), but if I try to use the exported instruction file from g.gui.psmap with command line "ps.map in=myfile.txt out=myfile.ps" it does not export the same scale (see attached file). Like if g.gui.psmap do something witch is not writing in the instruction file??
Any idea from where I'm wrong ?
Thank you for your help.
Frank
(attachments)

Hello all,
I notice that the same command does not produce the same result if I run it from the shell or if I use the ps.map GUI.
From GUI, le scale/region of ps file is correct, and if I run from the shell, the region/scale setting is not respected
the psmap file begin with the region settings :
timestamp: 2018-10-23 12:18
location: France_L93
mapset: volkswind_beaurevoir
page orientation: Portrait
g.region vector=WOLKSWIND_Beaurevoir_AEE@volkswind_beaurevoir
Is anybody notice that ?
Regards,
Frank
···
Le 23/10/2018 à 13:35, Frank David a écrit :
Hello,
I can’t succeed to scale my raster as I want in the map window with ps.map
I’ve tried :
…
g.region vector=max_area_vector_map@my_dataset
maploc 1.0 1.0
…
or
…
g.region n=7030981.0 s=6950949.0 e=755872.0 w=691504.0 rows=1067 cols=858
maploc 1.0 1.0
…
with and without scale instruction like “scale 1:300000”, and The scaling when I use the command line psmap is always the same…
One thing is strange, when i use g.gui.psmap it works (the map scale is fine), but if I try to use the exported instruction file from g.gui.psmap with command line “ps.map in=myfile.txt out=myfile.ps” it does not export the same scale (see attached file). Like if g.gui.psmap do something witch is not writing in the instruction file??
Any idea from where I’m wrong ?
Thank you for your help.
Frank
_______________________________________________
grass-user mailing list
[grass-user@lists.osgeo.org](mailto:grass-user@lists.osgeo.org)
[https://lists.osgeo.org/mailman/listinfo/grass-user](https://lists.osgeo.org/mailman/listinfo/grass-user)