[GRASS-user] ps.map logscale colortable?

2023-06-22 Thread Hernán De Angelis
Hi all I wonder if it is possible to produce a logaritmic colortable for a raster in a map created with ps.map. I have rasters using a logaritmic scale but their colortables appear linear in the output. In the Map display it is possible to make a legend logaritmic (d.legend with option -l)

Re: [GRASS-user] ps.map: add elevation scale? [RESOLVED]

2023-05-16 Thread Markus Neteler
Rich Shepard schrieb am Di., 16. Mai 2023, 23:27: > On Tue, 16 May 2023, Markus Neteler wrote: > > > Do you mean in this manual page? > > https://grass.osgeo.org/grass-stable/manuals/ps.map.html#colortable > > > > For wording improvements, please (ideally) suggest them here: > >

Re: [GRASS-user] ps.map: add elevation scale? [RESOLVED]

2023-05-16 Thread Rich Shepard
On Tue, 16 May 2023, Markus Neteler wrote: Do you mean in this manual page? https://grass.osgeo.org/grass-stable/manuals/ps.map.html#colortable For wording improvements, please (ideally) suggest them here: https://github.com/OSGeo/grass/blob/main/ps/ps.map/ps.map.html#L214 Markus, Okay.

Re: [GRASS-user] ps.map: add elevation scale? [RESOLVED]

2023-05-16 Thread Markus Neteler
On Tue, May 16, 2023 at 3:21 PM Rich Shepard wrote: > > On Tue, 16 May 2023, Markus Neteler wrote: > > > Please suggest how to improve the documentation to make it more obvious. > > Markus, > > Reading the colortable manual page shows that it's the raster equivalent of > vlegend. Why not change

Re: [GRASS-user] ps.map: add elevation scale? [RESOLVED]

2023-05-16 Thread Rich Shepard
On Tue, 16 May 2023, Markus Neteler wrote: Please suggest how to improve the documentation to make it more obvious. Markus, Reading the colortable manual page shows that it's the raster equivalent of vlegend. Why not change 'colortable' to 'rlegend' as that's what it produces? When I saw

Re: [GRASS-user] ps.map: add elevation scale? [RESOLVED]

2023-05-16 Thread Markus Neteler
Rich, On Tue, May 16, 2023 at 2:38 PM Rich Shepard wrote: > > On Tue, 16 May 2023, Frank David wrote: > > > colortable ? : > > https://grass.osgeo.org/grass82/manuals/ps.map.html#colortable > > Frank, > > Well, I completely missed that one. Please suggest how to improve the documentation to

Re: [GRASS-user] ps.map: add elevation scale? [RESOLVED]

2023-05-16 Thread Rich Shepard
On Tue, 16 May 2023, Frank David wrote: colortable  ? : https://grass.osgeo.org/grass82/manuals/ps.map.html#colortable Frank, Well, I completely missed that one. I used r.colors to set the colors of the rater to 'elevation' and didn't notice the colortable command in ps.map. I should have

Re: [GRASS-user] ps.map: add elevation scale?

2023-05-16 Thread Frank David
Hello Rich, colortable  ? : https://grass.osgeo.org/grass82/manuals/ps.map.html#colortable Regards, Frank Le 16/05/2023 à 00:33, Rich Shepard a écrit : On Mon, 15 May 2023, Rich Shepard wrote: Is there a way to add the elevation color bar for a DEM map to a ps.map? Since I can add a

Re: [GRASS-user] ps.map: add elevation scale?

2023-05-15 Thread Rich Shepard
On Mon, 15 May 2023, Rich Shepard wrote: Since I can add a raster elevation legend using the GUI map window (see attached), why can't I add in in a .psmap file? I stopped writing C code >20 years ago so I am not qualified to create a ps_rlegend.c based on ps_vlegend.c and integrate it into

[GRASS-user] ps.map: add elevation scale?

2023-05-15 Thread Rich Shepard
Is there a way to add the elevation color bar for a DEM map to a ps.map? TIA, Rich ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] ps.map: specifying colors

2023-05-15 Thread Rich Shepard
On Mon, 15 May 2023, Vaclav Petras wrote: The r:g:b format supports 0-255, not the hexadecimal colors, so that's why ff does not work. With display commands, you can also use #rrggbb (#RRGGBB). I would have to check if that works with ps.map or not. Vaclav, I should know that. Perhaps need

Re: [GRASS-user] ps.map: specifying colors

2023-05-15 Thread Rich Shepard
On Mon, 15 May 2023, Rich Shepard wrote: The input file for a ps.map vareas has a color specified as: color 33:00:00 When I run the ps.map command I'm told this is an invalid color for vareas. Here's the exact output of one try: color ff:ff:ff : illegal border color request color 33:f:0 :

[GRASS-user] ps.map: specifying colors

2023-05-15 Thread Rich Shepard
The input file for a ps.map vareas has a color specified as: color 33:00:00 When I run the ps.map command I'm told this is an invalid color for vareas. When I chage it to: color 3:0:O I get the same error. This format worked in the past and according to the ps.map manual page it should work

Re: [GRASS-user] ps.map: vlines use of attributes [UPDATE]

2020-07-06 Thread Rich Shepard
On Fri, 3 Jul 2020, Rich Shepard wrote: I'm preparing maps of fish distributions within a river network. For a couple of species there are two stocks of interest, i.e., green and white sturgeon and fall and spring chinook salmon. For both pairs some parts of their distributions overlap and I

[GRASS-user] ps.map: vlines use of attributes

2020-07-03 Thread Rich Shepard
I'm preparing maps of fish distributions within a river network. For a couple of species there are two stocks of interest, i.e., green and white sturgeon and fall and spring chinook salmon. For both pairs some parts of their distributions overlap and I want to display both the distinct and

[GRASS-user] ps.map fonts issue

2019-09-19 Thread Rich Shepard
Earlier today I entered a ps.map bug in trac; I don't know how to find that and add more information so I ask your indulgence for my proving that additional information here. Running ps.map on a *.psmap file produces a *.ps file with no errors. However, displaying the file (which is correctly

[GRASS-user] ps.map with interactive map instructions using python

2019-03-04 Thread Johannes Radinger
Hi all, I want to use ps.map in python to create *.eps maps from a GRASS vector line using some interactive mapping instructions, i.e. I don't want to save my mapping instructions into a *.txt file but rather provide the instructions as a python string. For example my mapping instructions:

[GRASS-user] ps.map: vlegend and text keywords questions

2018-11-23 Thread Rich Shepard
Two questions: one about the vlegend keyword, the other about the text keyword: 1) The attached image is the map legend. How can I insert a title for the points section that identifies what the points represent? Do I need a custom legend with text and the legend images/descriptions for each

[GRASS-user] ps.map: vlegend and text keywords questions

2018-11-22 Thread Rich Shepard
Two questions: one about the vlegend keyword, the other about the text keyword: 1) The attached image is the map legend. How can I insert a title for the points section? Do I need a custom legend with text and the legend images/descriptions for each element in the legend? 2) The text

Re: [GRASS-user] ps.map read

2018-11-13 Thread Frank David
Hi all, I reply to myself. In psmap file, "read" instruction should be placed at the end of the file, and the "end" instruction in the read file itself. This makes possible to create ps and pdf in a shell loop and avoid ERREUR message. Cheers Frank Le 07/11/2018 à 18:28, Frank David a

[GRASS-user] ps.map read

2018-11-07 Thread Frank David
Hello all, If I use instruction inside my psmap file the command > ps.map input=myfile.psmap output=myfile.ps does not work and the exit message is : enter 'help' for help, 'end' when done, 'exit' to quit But if I execute inside a shell loop, like > ls 01*.psmap |while read fic;do ps.map

Re: [GRASS-user] ps.map

2018-10-24 Thread Frank David
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

[GRASS-user] ps.map fails to create PDF; .ps OK

2018-08-21 Thread Rich Shepard
Running 7.5svn here. When ps.map is fed a *.psmap file and asked to produce a .pdf output, attempts to open that file with xpdf and mupdf fail: $ mupdf dubois-creek.pdf error: cannot recognize version marker warning: trying to repair broken xref warning: repairing PDF document error: invalid

Re: [GRASS-user] ps.map/g.gui.psmap: comments and a request

2018-08-17 Thread Rich Shepard
On Fri, 17 Aug 2018, Rich Shepard wrote: One request for enhancing g.gui.psmap when someone has the time and inclination to do so. When ctrl-shift-e is pressed to export the script as a text file it would be great if the behavior was that of 'save file' commands. That is, the currently open

[GRASS-user] ps.map/g.gui.psmap: comments and a request

2018-08-17 Thread Rich Shepard
I wanted to write a script to create a map using ps.map. Referring to the extensive ps.map manual page and the scripts on the wiki's ps.map.scripts page my attempt failed, throwing a python traceback. The sample scripts are long out of date (from grass5 days) and there are no examples of, e.g.,

Re: [GRASS-user] ps.map vlegend name

2016-10-05 Thread Nikos Alexandris
Conrad Bielski: Hi, Hi Conrad, I looked around but couldn't find the answer to my particular problem. I'm generating PS maps using the ps.map functionality and use the vlegend to add a legend. However, each layer name also includes PERMANENT. How can I remove this from the name? For

[GRASS-user] ps.map vlegend name

2016-10-05 Thread Conrad Bielski
Hi,I looked around but couldn't find the answer to my particular problem. I'm generating PS maps using the ps.map functionality and use the vlegend to add a legend. However, each layer name also includes PERMANENT. How can I remove this from the name? For example, my layer name is roads but

Re: [GRASS-user] ps.map and cartographic composer

2014-12-08 Thread Paulo van Breugel
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 (?). On Sun, Dec 7, 2014 at 11:35 PM, Paulo van Breugel

Re: [GRASS-user] ps.map and cartographic composer

2014-12-08 Thread Anna Petrášová
On Mon, Dec 8, 2014 at 5:55 AM, Paulo van Breugel p.vanbreu...@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

[GRASS-user] ps.map can't find python imaging library

2014-03-30 Thread Terry Duell
Hello All, My apologies if this post turns up twice. After initially sending it and not seeing it turn up here on the mailing list, it occurred to me that I may have cancelled my subscription to the list some time ago (I have been away from GIS work for a while), so I re-subscribed, and

Re: [GRASS-user] ps.map can't find python imaging library

2014-03-30 Thread Anna Petrášová
Hi, On Sun, Mar 30, 2014 at 8:54 PM, Terry Duell tdu...@iinet.net.au wrote: Hello All, My apologies if this post turns up twice. After initially sending it and not seeing it turn up here on the mailing list, it occurred to me that I may have cancelled my subscription to the list some

Re: [GRASS-user] ps.map can't find python imaging library

2014-03-30 Thread Terry Duell
Copy of my reply to Anna. On Mon, 31 Mar 2014 13:41:15 +1100, Terry Duell tdu...@iinet.net.au wrote: Hello Anna, On Mon, 31 Mar 2014 12:32:14 +1100, Anna Petrášová kratocha...@gmail.com wrote: [snip] There are 2 versions of PIL, the original one (development stopped) which is not

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

[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:

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:

Re: [GRASS-user] ps.map - eps frame affect/hide border and legend

2014-03-07 Thread Domenico Giusti
Hi, The frame is inside the map region. I cleaned the eps frame with eps2eps. But now I think it is a ps reader problem: * with gv no problems with the eps frame (clean and no-clean) * with evince problems only with the no-clean eps frame. No stderr differences between clean and no-clean ps,

Re: [GRASS-user] ps.map - eps frame affect/hide border and legend

2014-03-07 Thread Hamish
Domenico wrote: The frame is inside the map region. I cleaned the eps frame with eps2eps. But now I think it is a ps reader problem: * with gv no problems with the eps frame (clean and no-clean) * with evince problems only with the no-clean eps frame. No stderr differences between clean and

[GRASS-user] ps.map - eps frame affect/hide border and legend

2014-03-06 Thread Domenico Giusti
Dear all, I'm trying to output a ps file with ps.map (GRASS 6.4.2). Results from the psmap.def are good, with border, colortable, vlegend, etc.. http://osgeo.codepad.org/NtM3oJy0 (pasted def file) But when I add an eps frame border, colortable and vlegend disappear. I changed the order, putting

Re: [GRASS-user] ps.map - eps frame affect/hide border and legend

2014-03-06 Thread Hamish
Domenico wrote: I'm trying to output a ps file with ps.map (GRASS 6.4.2). Results from the psmap.def are good, with border, colortable, vlegend, etc.. http://osgeo.codepad.org/NtM3oJy0 (pasted def file) But when I add an eps frame border, colortable and vlegend disappear. I changed the

Re: [GRASS-user] ps.map: rectangle over map border?

2013-03-12 Thread Moritz Lennert
On 11/03/13 15:25, Anna Kratochvílová wrote: Hi, On Mon, Mar 11, 2013 at 2:18 PM, Nikos Alexandris n...@nikosalexandris.net wrote: Moritz L: AFAIK, just give the rectangle map coordinates that are outside the map frame. Ex: raster elevation@PERMANENT rectangle 637375 211190 643918

Re: [GRASS-user] ps.map: rectangle over map border?

2013-03-12 Thread Nikos Alexandris
Vincent Bain wrote: Not sure to understand your issue, so my answer might be off-target : Nikos Alexandris wrote: Reading the following, I think you do. perhaps you can have a look at the output ps file. If it's only a matter of display order, you can rearrange successive instructions

[GRASS-user] ps.map: rectangle over map border?

2013-03-11 Thread Nikos Alexandris
Hi list! In ps.map, is it (not) possible to overlay a color-filled rectangle, which exceeds the map frame/border, and by doing so, it should be on top of the border? Currently, no matter what I try, the map border is drawn on top of the rectangle (within which I have placed a color

Re: [GRASS-user] ps.map: rectangle over map border?

2013-03-11 Thread Moritz Lennert
On 11/03/13 12:36, Nikos Alexandris wrote: Hi list! In ps.map, is it (not) possible to overlay a color-filled rectangle, which exceeds the map frame/border, and by doing so, it should be on top of the border? Currently, no matter what I try, the map border is drawn on top of the rectangle

Re: [GRASS-user] ps.map: rectangle over map border?

2013-03-11 Thread Nikos Alexandris
Hi Moritz :-) It doesn't work for me :-(. Nikos A: In ps.map, is it (not) possible to overlay a color-filled rectangle, which exceeds the map frame/border, and by doing so, it should be on top of the border? That is my English is pretty bad :-/ because I mean(t) that the rectangle

Re: [GRASS-user] ps.map: rectangle over map border?

2013-03-11 Thread Vincent Bain
Hello Nikos, Not sure to understand your issue, so my answer might be off-target : perhaps you can have a look at the output ps file. If it's only a matter of display order, you can rearrange successive instructions within the file in order to have your background laying over the border. V. Le

Re: [GRASS-user] ps.map: rectangle over map border?

2013-03-11 Thread Anna Kratochvílová
Hi, On Mon, Mar 11, 2013 at 2:18 PM, Nikos Alexandris n...@nikosalexandris.net wrote: Hi Moritz :-) It doesn't work for me :-(. Nikos A: In ps.map, is it (not) possible to overlay a color-filled rectangle, which exceeds the map frame/border, and by doing so, it should be on top of the

Re: [GRASS-user] ps.map: rectangle over map border?

2013-03-11 Thread Nikos Alexandris
Vincent Bain wrote: Not sure to understand your issue, so my answer might be off-target : Reading the following, I think you do. perhaps you can have a look at the output ps file. If it's only a matter of display order, you can rearrange successive instructions within the file in order to

Re: [GRASS-user] PS.MAP order of layers

2012-06-14 Thread Anna Kratochvílová
Hi, On Thu, Jun 14, 2012 at 7:27 AM, Hamish hamis...@yahoo.com wrote: Timothy wrote: I am using rasters, areas, borders, and points in an eps file using ps.map.  I want the points to be placed under an area layer, because I only want the relevant points to a specific country to be seen.  Not

Re: [GRASS-user] PS.MAP order of layers

2012-06-14 Thread Thomas, Timothy (IFPRI)
Kratochvílová [mailto:kratocha...@gmail.com] Sent: Thursday, June 14, 2012 3:18 AM To: Hamish Cc: Thomas, Timothy (IFPRI); grass-user@lists.osgeo.org Subject: Re: [GRASS-user] PS.MAP order of layers Hi, On Thu, Jun 14, 2012 at 7:27 AM, Hamish hamis...@yahoo.com wrote: Timothy wrote: I am using

[GRASS-user] PS.MAP order of layers

2012-06-13 Thread Thomas, Timothy (IFPRI)
I am using rasters, areas, borders, and points in an eps file using ps.map. I want the points to be placed under an area layer, because I only want the relevant points to a specific country to be seen. Not matter what order I put the commands in (vpoints before or after varea), the points

Re: [GRASS-user] PS.MAP order of layers

2012-06-13 Thread Hamish
Timothy wrote: I am using rasters, areas, borders, and points in an eps file using ps.map.  I want the points to be placed under an area layer, because I only want the relevant points to a specific country to be seen.  Not matter what order I put the commands in (vpoints before or after

Re: [GRASS-user] ps.map rotatecolumn argument

2012-02-06 Thread Vincent Bain
No way to reproduce the problem. I am wondering if there could be something wrong with cat values that obviously can differ from one layer to another. In my case, the point map used to draw rotated symbols was obtained via v.to.points. I use layer 2 which contain a 'cat' key field that is

Re: [GRASS-user] ps.map rotatecolumn argument

2012-02-05 Thread Vincent Bain
Hello Hamish, thank you for your reply, I knew you were the author of this feature ;-), read this in a former post. (I had to cope the whole day with ice in pipes, so sorry for the late reaction...) I run grass on a 64bit linux system (debian), freshly updated 6.4 version from svn. Angles are

[GRASS-user] ps.map rotatecolumn argument

2012-02-04 Thread Vincent Bain
Hi list, Has anyone experienced the ability of ps.map's vpoints instruction to choose from a rotatecolumn to orient symbols on a map ? Here's the concerned part of my ps.map instruction file : vpoints arrow layer 2 color black eps

Re: [GRASS-user] ps.map rotatecolumn argument

2012-02-04 Thread Hamish
Vincent wrote: Has anyone experienced the ability of ps.map's vpoints instruction to choose from a rotatecolumn to orient symbols on a map ? yes, I add that code. In my case, map arrow contains about 50 points but ps.map  only displays a few ones at correct angle. The database field is

[GRASS-user] ps.map arrow head

2011-10-27 Thread Vincent Bain
Hi list, a bit of squeezed with ps.map : is there a simple way to draw arrowheads on top of vector lines in a map composition ? I did not find any option in vlines instruction. Did I miss it ? Perhaps should I extract tnodes (or fnodes) from the source lines vector, then print arrowheads as

Re: [GRASS-user] ps.map arrow head

2011-10-27 Thread Hamish
Vincent wrote: a bit of squeezed with ps.map : is there a simple way to draw arrowheads on top of vector lines in a map composition ? you mean like 'd.vect disp=dir' ? if so, not that I know of. I did not find any option in vlines instruction. Did I miss it ? Perhaps should I extract

Re: [GRASS-user] ps.map arrow head

2011-10-27 Thread Vincent Bain
Thank you Hamish for these suggestions, I'll probably dig in the database direction, in order to create a labels layer, easy to add in the postscript composition. Bye, Vincent Le jeudi 27 octobre 2011 à 21:51 -0700, Hamish a écrit : Vincent wrote: a bit of squeezed with ps.map : is there a

Re: [GRASS-user] ps.map: include eps (path to file), PS-interpreter

2011-05-03 Thread Hamish
Johannes wrote: I just wanted to include a eps-logo in the ouput of ps.map but it isn't displayed, so I guess that this has something to do with the path to the file. It seems correct but there is a space included which my not be accepted by the PS-interpreter. Now fixed in all branches,

[GRASS-user] ps.map: include eps (path to file), PS-interpreter

2011-05-02 Thread Johannes Radinger
Hello, I just wanted to include a eps-logo in the ouput of ps.map but it isn't displayed, so I guess that this has something to do with the path to the file. It seems correct but there is a space included which my not be accepted by the PS-interpreter. Is there a way to set a path with space

Re: [GRASS-user] ps.map: include eps (path to file), PS-interpreter

2011-05-02 Thread Hamish
Johannes wrote: I just wanted to include a eps-logo in the ouput of ps.map but it isn't displayed, so I guess that this has something to do with the path to the file. It seems correct but there is a space included which my not be accepted by the PS-interpreter. Is there a way to set a path

Re: [GRASS-user] ps.map: include eps (path to file), PS-interpreter

2011-05-02 Thread Hamish
Hamish wrote: sscanf()'s %s stops scanning the buffer at a space so just the first part was picked up. I'm a little rusty on my formatting codes but I believe %*s will keep going to the end of the line. would %[^\n] be better? Hamish ___

SV: [GRASS-user] Ps.map vlegend

2011-03-03 Thread Martin Album Ytre-Eide
@lists.osgeo.org; Martin Album Ytre-Eide Emne: Re: [GRASS-user] Ps.map vlegend Martin Album Ytre-Eide wrote: When using area fill patterns (http://grass.osgeo.org/wiki/AreaFillPatterns#Example_Pattern_files) together with vlegend in ps.map trouble appears when customising the patterns to my need. You

Re: SV: [GRASS-user] Ps.map vlegend

2011-03-03 Thread Hamish
Martin Album Ytre-Eide wrote: I started making my own legend, but I can't seem to make one with pattern :( The rectangle function does not accept a pat command. Any workaround or ideas? one idea: try adding clone vareas, but with smaller pwidth and an impossible SQL where clause so nothing is

Re: SV: [GRASS-user] Ps.map vlegend

2011-03-03 Thread Hamish
Hamish wrote: one idea: try adding clone vareas, but with smaller pwidth sorry, use scale*2 with that, not pwidth (pattern line width) and an impossible SQL where clause so nothing is ever drawn to the map. Then use those mini-patterns in the vlegend. Use 'lpos 0' for the real areas so that

Re: [GRASS-user] Ps.map vlegend

2011-03-02 Thread Hamish
Martin Album Ytre-Eide wrote: When using area fill patterns (http://grass.osgeo.org/wiki/AreaFillPatterns#Example_Pattern_files) together with vlegend in ps.map trouble appears when customising the patterns to my need. You can pretty much get the patterns you desire with the aid of pwith and

[GRASS-user] Ps.map vlegend

2011-03-01 Thread Martin Album Ytre-Eide
Hello. When using area fill patterns (http://grass.osgeo.org/wiki/AreaFillPatterns#Example_Pattern_files) together with vlegend in ps.map trouble appears when customising the patterns to my need. You can pretty much get the patterns you desire with the aid of pwith and scale option, but the

[GRASS-user] ps.map issues

2010-12-01 Thread David Kindem
Hi, I've run into a problem using ps.map. I'm trying to output maps that have printed successfully before. The map files overlay several vector layers on a fairly large raster image. In the past, the eps files were created in about a minute, and were about 120 mb in size. Now, the

Re: [GRASS-user] ps.map issues

2010-12-01 Thread Markus Metz
David Kindem wrote: Hi, I've run into a problem using ps.map.  I'm trying to output maps that have printed successfully before.  The map files overlay several vector layers on a fairly large raster image.  In the past, the eps files were created in about a minute, and were about 120 mb in

Re: [GRASS-user] ps.map issues

2010-12-01 Thread David Kindem
Thanks Markus, I had check to see that the region extents matched the area I wanted to map, but I didn't check the resolution. I see now that I have many more rows and columns than I need. I'll make and adjustment, and try again. Dave David Kindem dkin...@gmail.com 616.402.0864 On

Re: [GRASS-user] ps.map issues

2010-12-01 Thread Hamish
David Kindem wrote: I had check to see that the region extents matched the area I wanted to map, but I didn't check the resolution.  I see now that I have many more rows and columns than I need. I'll make and adjustment, and try again. (in older versions of GRASS we used to automatically

[GRASS-user] ps.map in wxpython

2010-03-29 Thread Francesco Mirabella
Hi all, I have a problem with ps.map in wxpython. I am trying to tell it to use a script with mapping instructions which is very simple and contains only paper format, raster name and scale. It appears that ps.map does not read the current monitor view and I get and empty map. This does not

Re: [GRASS-user] ps.map: One Script Works, One Doesn't

2010-03-10 Thread Glynn Clements
Hamish wrote: text 77% 30% Slope (Degrees) ( and ) need to be quoted like \( and \). see the documentation for the comments instruction, I guess it applies to text as well. PostScript uses () as the beginning/end delimiter for text strings. PostScript recognises balanced

Re: [GRASS-user] ps.map: One Script Works, One Doesn't

2010-03-10 Thread Hamish
Hamish: ( and ) need to be quoted like \( and \). see the documentation for the comments instruction, I guess it applies to text as well. PostScript uses () as the beginning/end delimiter for text strings. Glynn: PostScript recognises balanced parentheses within strings (making

Re: [GRASS-user] ps.map: One Script Works, One Doesn't

2010-03-10 Thread Rich Shepard
On Tue, 9 Mar 2010, Dave Kent wrote: I am having a similar, perhaps related problem. I have a raster image overlain by a series of vectors. ps.map fails erratically. If I remove the raster, it works. Dave, Try re-creating the raster map. That fixed the problem for me. Rich

[GRASS-user] ps.map: One Script Works, One Doesn't

2010-03-09 Thread Rich Shepard
This has been wasting my time this morning and I'd sure like to learn why. I have two ps.map input scripts called 'flowlinedensity.psmap' and 'slopes.psmap'. They both compile, but when I view the latter I get a ghostscript error box, no colortable, and no points legend in the v.legend area.

Re: [GRASS-user] ps.map: One Script Works, One Doesn't

2010-03-09 Thread Rich Shepard
On Tue, 9 Mar 2010, Rich Shepard wrote: I have two ps.map input scripts called 'flowlinedensity.psmap' and 'slopes.psmap'. They both compile, but when I view the latter I get a ghostscript error box, no colortable, and no points legend in the v.legend area. I should mention that of the 5

Re: [GRASS-user] ps.map: One Script Works, One Doesn't

2010-03-09 Thread Rich Shepard
On Tue, 9 Mar 2010, Rich Shepard wrote: I should mention that of the 5 maps in the report, the slopes map is the only one that balks at displaying properly. More testing reveals the problem is with the slope raster map. What in that particular map might cause an issue with vlegend? Rich

Re: [GRASS-user] ps.map: One Script Works, One Doesn't

2010-03-09 Thread Rich Shepard
On Tue, 9 Mar 2010, Rich Shepard wrote: This has been wasting my time this morning and I'd sure like to learn why. Fixed it. I re-created the slopes map (r.slope.aspect) and that did the trick. No idea what was wrong with the original, but something definitely was. Rich

Re: [GRASS-user] ps.map: One Script Works, One Doesn't

2010-03-09 Thread Hamish
Rich wrote:   I have two ps.map input scripts called 'flowlinedensity.psmap' and 'slopes.psmap'. They both compile, but when I view the latter I get a ghostscript error box, no colortable, and no points legend in the v.legend area.   Running diff on the two scripts shows only this:

Re: [GRASS-user] ps.map: One Script Works, One Doesn't

2010-03-09 Thread Rich Shepard
On Tue, 9 Mar 2010, Hamish wrote: text 77% 30% Slope (Degrees) ( and ) need to be quoted like \( and \). Hamish, Actually, they don't. Originally I had the string in quotes and those printed, too. The above prints quite well. As I wrote to the list, I isolated the problem to the base

Re: [GRASS-user] ps.map: One Script Works, One Doesn't

2010-03-09 Thread Dave Kent
I am having a similar, perhaps related problem. I have a raster image overlain by a series of vectors. ps.map fails erratically. If I remove the raster, it works. If I remove v.legend, it works. (legend only for vector features) If I make one specific item in the legend as -- lpos 0 -- it

Re: [GRASS-user] ps.map: One Script Works, One Doesn't

2010-03-09 Thread Hamish
Dave wrote: I am having a similar, perhaps related problem. If you can make a simplified test case (minimal location and ps.map instruction file) available to me I can have a look. Off-list is fine. The problem appears to be associated with the legend. i have no idea why there is any link

Re: [GRASS-user] ps.map legend with rgbcolumn colors

2010-03-05 Thread Hamish
Luigi: I am impressed with ps.map results (never used before): it does look a lot more like a printed map. that's the idea! :) where column_name = 'zonename' On my system it needs to be unquoted (at least in my case, where values were integers) -- I mean, no quotes at all. right,

Re: [GRASS-user] ps.map legend with rgbcolumn colors

2010-03-04 Thread Luigi Ponti
Dear Hamish, It definitely helped! On 04/03/2010 03:21, Hamish wrote: Luigi Ponti wrote: I haven't been able to find this in previous discussions but it seems like a trivial yet impossible (for me) to solve thing. (Running grass6.4-svn windows standalone installer win7.) (it needs

[GRASS-user] ps.map legend with rgbcolumn colors

2010-03-03 Thread Luigi Ponti
Hi there, I haven't been able to find this in previous discussions but it seems like a trivial yet impossible (for me) to solve thing. (Running grass6.4-svn windows standalone installer win7.) I am trying to get a ps.map using an input file like the following: # ps.map input file border y

Re: [GRASS-user] ps.map legend with rgbcolumn colors

2010-03-03 Thread Rich Shepard
On Wed, 3 Mar 2010, Luigi Ponti wrote: I haven't been able to find this in previous discussions but it seems like a trivial yet impossible (for me) to solve thing. Luigi, I think you missed my question on the same subject from late last week. raster shadedRelief I would like to print

Re: [GRASS-user] ps.map legend with rgbcolumn colors

2010-03-03 Thread Hamish
Luigi Ponti wrote: I haven't been able to find this in previous discussions but it seems like a trivial yet impossible (for me) to solve thing. (Running grass6.4-svn windows standalone installer win7.) (it needs to be explained better in the docs.) I am trying to get a ps.map using an

Re: [GRASS-user] ps.map legend with rgbcolumn colors

2010-03-03 Thread Hamish
Hamish: (this exposes a bug in the ps.map categorical legend though! the fill colors get rearranged!) fixed in svn. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] ps.map issue

2010-03-02 Thread Hamish
Rich wrote: This is for my information only now as I don't need an answer right away. I have a ps.map script that uses a raster map, two boundary vline maps, and a vpoints map. There are also clauses for text, colortable, and vlegend. It make for a pretty map. However, if I add

[GRASS-user] ps.map issue

2010-03-01 Thread Rich Shepard
This is for my information only now as I don't need an answer right away. I have a ps.map script that uses a raster map, two boundary vline maps, and a vpoints map. There are also clauses for text, colortable, and vlegend. It make for a pretty map. However, if I add one more vline map

[GRASS-user] ps.map: Adding Raster Legend

2010-02-28 Thread Rich Shepard
When displaying a raster map in the console monitor (d.mon) I can specify d.rast.leg to have the color legend displayed. How do I do display the raster map's color legend within ps.map? The 'label' command works on vector maps (lines, areas, points) but I cannot find the equivalent command

Re: [GRASS-user] ps.map: Adding Raster Legend

2010-02-28 Thread Hamish
Rich wrote: When displaying a raster map in the console monitor (d.mon) I can specify d.rast.leg to have the color legend displayed. How do I do display the raster map's color legend within ps.map? colortable The 'label' command works on vector maps (lines, areas, points) but I cannot

Re: [GRASS-user] ps.map: Adding Raster Legend

2010-02-28 Thread Rich Shepard
On Sun, 28 Feb 2010, Hamish wrote: colortable Hamish, Ah! That's what it is. I'll go read the man page. The 'label' command works on vector maps (lines, areas, points) but I cannot find the equivalent command for raster maps. Would the 'read' command work; the example on the man page

Re: [GRASS-user] ps.map: Error Using Fill Patterns

2010-02-27 Thread Hamish
Rich Shepard wrote: In an input file to ps.map I have a vareas section with this: vareas house_basin pat $GISBASE/etc/paint/patterns/diag_down6.eps fcolor magenta end The module runs, but when I try to display the map using gv I get the raster displayed, but no vector maps.

Re: [GRASS-user] ps.map: Error Using Fill Patterns

2010-02-27 Thread Rich Shepard
On Fri, 26 Feb 2010, Hamish wrote: I'm not sure why but the quick fix is to just spell out the full path to the file and not use the variable. Hamish, Thank you. That's what I'll do. Rich ___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] ps.map: Error Using Fill Patterns

2010-02-27 Thread Rich Shepard
On Sat, 27 Feb 2010, Hamish wrote: (no idea) Hamish, I suspect this is the result of the same issue: file location. I'll replace $GISBASE with the actual path and see if that makes a difference. Thanks, Rich ___ grass-user mailing list

Re: [GRASS-user] ps.map: Error Using Fill Patterns

2010-02-27 Thread Glynn Clements
Hamish wrote: so r_vareas.c scans the filename string for $GISBASE and expands it to G_gisbase() if needed. For some reason in yours it gets past that expansion somehow. That feature is in 6.5 and 7.0 but not in 6.4. -- Glynn Clements gl...@gclements.plus.com

[GRASS-user] ps.map: Area Fill Color Transparency

2010-02-26 Thread Rich Shepard
Using the vareas section of ps.map, is it possible to specify transparency in the fcolor specification? Rich ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] ps.map: Area Fill Color Transparency

2010-02-26 Thread Glynn Clements
Rich Shepard wrote: Using the vareas section of ps.map, is it possible to specify transparency in the fcolor specification? fcolor none should result in the areas be unfilled. If you want translucency, PostScript doesn't support that. However, you can use the pat option to specify a

  1   2   >