[GRASS-user] error in ps.map scalebar units argument
Hamish
hamish_b at yahoo.com
Tue May 26 07:35:35 EDT 2009
maning wrote:
> GRASS 6.4.svn
....
> ERROR: units kilometers : illegal request (scalebar)
that indicates it doesn't understand "units" (as opposed to km,miles,etc
qualifier being bad).
I don't know why it doesn't work for you.
can you try putting in your script:
scalebar s
help
exit
end
end
and see if "units auto|meters|kilometers|feet|miles|nautmiles" is
there in the output?
All I can suggest is to 'make clean', 'svn update' to the latest 6.4svn
(checking for 'C'onflicts), and rebuild.
And make sure there are no invisible non-ascii chars instead of spaces
or tabs on that line.. but I doubt that. can you email me the script
or check with a hexdump program?
worst come to worst you can add the "kilometers" text in with the
text x% y% command by hand, then open the PS file in your favourite
industrial strength text editor and search for the "ZB (10000) PB",
(20000), (30000) m text and edit them to be like (10) (20) (30).
[a wonderful trick for quickly fixing typos in the hardcopy]
That should be pretty much near the end of the file.
???,
Hamish
More information about the grass-user
mailing list