[GRASS5] ps.map problem

Radim Blazek blazek at itc.it
Thu Oct 24 05:25:07 EDT 2002


On Thursday 24 October 2002 10:56 am, Michael Ash wrote:
> I am using GRASS 5.0pre3 on Cygwin/Windows
>
> I gave ps.map the following mapping instruction file
>
> sites censusbg
>   color red
>   size 1
>   end
> raster onsitegridlogscore
> end
>
> ps.map rejects the file with the following message:
>
> PS-PAINT: using default configuration values.
>
>  : illegal color request
>
> If I remove the color instruction from the mapping
> instruction file, then there is no complaint and the map is
> produced (without the desired color).
>
> If I give the instructions interactively, then there is no
> complaint and the map is produced (with the desired color)

It could be problem with line endings. If the file is written on
windows, try to remove <CR> by "tr -d '\015'"

Radim




More information about the grass-dev mailing list