[GRASS-user] Icelandic / international characters in databases and ps.map - SOLVED

John A Stevenson john.stevenson at manchester.ac.uk
Wed Jun 3 12:46:04 EDT 2009


Hi,

Solved.  Firstly, I had to compile grass with freetype (which I didn't 
have) and freetype includes.

./configure ... --with-freetype 
--with-freetype-includes=/usr/include/freetype2/

I backed up my vector (as peaks_iso), then, as described in the thread, 
I opened the its dbf file in Open Office using character encoding 
ISO-8859-1.  I had to retype the Icelandic characters into the database, 
and saved it.

I remade the labels using peaks_iso and it worked fine.

Thank you.

John



Miha Staut wrote:
> This thread might help (see the ending comment by Glynn). 
>
> http://n2.nabble.com/Character-encoding-problem-td2185961.html#a2191493
>
> Miha
>
>
> --- On Wed, 3/6/09, John A Stevenson <john.stevenson at manchester.ac.uk> wrote:
>
>   
>> From: John A Stevenson <john.stevenson at manchester.ac.uk>
>> Subject: [GRASS-user] Icelandic / international characters in databases and ps.map
>> To: "GRASS user list" <grass-user at lists.osgeo.org>
>> Date: Wednesday, 3 June, 2009, 10:44 AM
>> Hi,
>>
>> After initially being put off by seeing complicated
>> scripts, I've started to use psmap.  I wanted to use
>> the postscript fill patterns to create a geological map that
>> would reproduce in black and white.  It's really good -
>> the commands are pretty easy and the results look clear and
>> excellent.
>>
>> Anyway.  I have digitised some of the main peaks in
>> the region, whose names contain Icelandic characters. 
>> Their names contain Icelandic characters.  Using
>> v.db.select, they appear to have stored correctly. 
>> When I use labels created from the vector, the characters
>> appear as gaps with d.labels and as nonsense symbols using
>> ps.map.
>>
>> I read on the psmap g.manual page about character encoding,
>> but don't know how it applies to the labels/database.
>>
>> Can anyone help?
>>
>> Cheers
>>
>> John
>>
>> -- 
>>
>> Dr John Stevenson
>> Postdoctoral Research Associate
>> School of Earth, Atmospheric and Environmental Sciences
>> Williamson Building (Room 2.42)
>> University of Manchester
>> Manchester M13 9PL, UK
>> tel. +44(0)161 306 6585; fax. +44(0)161 306 9361;
>> john.stevenson at manchester.ac.uk
>>
>> _______________________________________________
>> grass-user mailing list
>> grass-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>
>>     
>
>
>       
>
>   


-- 


Dr John Stevenson
Postdoctoral Research Associate
School of Earth, Atmospheric and Environmental Sciences
Williamson Building (Room 2.42)
University of Manchester
Manchester M13 9PL, UK
tel. +44(0)161 306 6585; fax. +44(0)161 306 9361;
john.stevenson at manchester.ac.uk 




-- 


Dr John Stevenson
Postdoctoral Research Associate
School of Earth, Atmospheric and Environmental Sciences
Williamson Building (Room 2.42)
University of Manchester
Manchester M13 9PL, UK
tel. +44(0)161 306 6585; fax. +44(0)161 306 9361;
john.stevenson at manchester.ac.uk 



More information about the grass-user mailing list