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.
/250k_layout.map
+ REGION=surigao_test_reg
+ TITLE=SURIGAO
+ PCGS=2535
+ g.region region=surigao_test_reg res=100
+ ps.map out=surigao_test_reg.ps
where x y
length length
height height
segment no_segemnts
numbers no_labels
fontsize fontsize
background [Y|n]
enter 'end' when done, 'exit' to quit
+ echo 'finished generating postscript map of SURIGAO'
finished generating postscript map of SURIGAO
[Raster MASK present]
I'll try a new grass version then.
On Tue, May 26, 2009 at 7:35 PM, Hamish <hamish_b@yahoo.com> wrote:
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
--
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------