[OSM-dev] Tirex Installation
Gero Kriependorf
gkriependorf at umidev.de
Wed Feb 20 16:12:12 UTC 2013
Hello everybody,
now I have tirex (SVN latest) and mapnik (v2.0.2 out of ppa from mapnik
team) up and running. But rendering does still not work correctly.
Tiles without fonts are okay and rendered. But tiles with fonts I get
the following error:
-- SNIP --
tirex-backend-mapnik[4062]: read: id=1361370596_16039968
map=osm
prio=1
type=metatile_render_request
x=1056
y=696
z=11
tirex-backend-mapnik[4062]: >> NetworkMessage::parse
tirex-backend-mapnik[4062]: << NetworkMessage::parse
tirex-backend-mapnik[4062]: >> MetatileHandler::handleRequest
tirex-backend-mapnik[4062]: >> MetatileHandler::render
tirex-backend-mapnik[4062]: rendering area 626172.135712,6261721.357122
- 782715.169640,6418264.391050 in SRS 3857 to 2048x2048 px
tirex-backend-mapnik[4062]: width: 2048, height:2048
tirex-backend-mapnik[4062]: Mapnik config error: Unable to find
specified font face ''
tirex-backend-mapnik[4062]: << MetatileHandler::render
tirex-backend-mapnik[4062]: >> NetworkMessage::build
tirex-backend-mapnik[4062]: << NetworkMessage::build
tirex-backend-mapnik[4062]: sending: errmsg=renderer internal error
id=1361370596_16039968
result=error
type=metatile_render_request
-- SNAP --
I don't know what could be wrong. I checked the font things a thousand
times.
Rendering via "render" works without problems, using the same style.
Does anyone know if tirex needs something special? I tried every font
directory i can imagine and checked it twice with recursive on and off.
Greetings
Gero
On 20.02.2013 14:23, Martin Tesar wrote:
> I have the same python.input error. Setting
> font-directory="/usr/share/fonts/truetype/ttf-dejavu" worked.
> Hope this helps,
> Martin
>
>
> 2013/2/20 Gero Kriependorf <gkriependorf at umidev.de>
>
>> Hello Martin,
>>
>> thank you for your answer.
>>
>> I tried setting both parameters, but nothing changed. I'm sure i set it
>> to the right directory. It's confusing because I don't know if the font
>> error or the python.input error is more worse.
>>
>> Greetings
>> Gero
>>
>> On 20.02.2013 13:39, Martin Tesar wrote:
>>> Hi Gero,
>>>
>>> make sure you have edited configuration file
>>> /etc/tirex/renderer/mapnik.conf according to your mapnik installation.
>>>
>>> If the problem with fonts remains, try to add attribute
>>> font-directory="/path/to/your/fonts" to your Map element in your mapnik
>>> style.
>>>
>>> Cheers,
>>> Martin
>>>
>>>
>>> 2013/2/20 Gero Kriependorf <gkriependorf at umidev.de>
>>>
>>>> Hello everybody,
>>>>
>>>> I have problems getting Tirex up and running. Rendering maps with mapnik
>>>> and render works fine.
>>>>
>>>> I use tirex from svn and mapnik version 2.1.0.
>>>>
>>>> I described the problem in detail on the irc channel:
>>>> http://pastebin.com/Zn2KMZQw
>>>>
>>>> Even if you can't help me with the errors perhaps you can say me which
>>>> versions you run and which you recommend. I am pleased for every help.
>>>>
>>>> I tried a lot until now but the errors remain. Just mapnik0.7 makes a
>>>> difference, errors disappear but rendering is still not possible. The
>>>> Wiki pages are so old and deprecated.
>>>>
>>>> Greetings
>>>> Gero
>>>>
>>>> _______________________________________________
>>>> dev mailing list
>>>> dev at openstreetmap.org
>>>> http://lists.openstreetmap.org/listinfo/dev
>>>>
>>>
>>
>
More information about the dev
mailing list