[OSM-dev] mapnik

Mohamad Ali Mohamad.ali at intellitrac.com.au
Mon May 4 01:59:43 BST 2009

I tried to Redo:
user at pc1:~/mapnik$ source set-mapnik-env
user at pc1:~/mapnik$ ./customize-mapnik-map >$MAPNIK_MAP_FILE
user at pc1:~/mapnik$ ./z0_generate_tiles.py
I get This on the screen:

Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) 
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.

1.Is that mean , the rendering is under process??
If yes, how long should I wait till I get then PNG on a tiles folder?

"the tiles folder is not yet created?? "

2.Or do I have to do something?

Sorry Guys , my questions are always late due to time zone difference


-----Original Message-----
From: dev-bounces at openstreetmap.org [mailto:dev-bounces at openstreetmap.org]
On Behalf Of Richard Weait
Sent: Friday, May 01, 2009 9:34 PM
To: dev at openstreetmap.org
Subject: Re: [OSM-dev] mapnik

On Fri, 2009-05-01 at 16:31 +1000, Mohamad Ali wrote:
> Hi guys
> I have this situation:
> user at pc1:~$ cd mapnik
> user at pc1:~/mapnik$ source set-mapnik-env
>  nothing happen on the screen

That is normal

> ./customize-mapnik-map >$MAPNIK_MAP_FILE
> nothing happen on the screen

That is normal.

> sudo ./customize-mapnik-map >$MAPNIK_MAP_FILE

The "sudo" is not required and will cause this to fail because you are
running the command as the "wrong" user.

> Use of uninitialized value $ENV{"MAPNIK_DBPORT"} in string eq
> at ./customize-mapnik-map line 34, <IN> line 7008.
[ ... and more errors ]

See?  ;-)

> is it normal all of this?

Yes.  Do the first two, to set the environment variables and prepare to
run either generate_image.py or generate_tiles.py

Best regards,

dev mailing list
dev at openstreetmap.org

__________ NOD32 4048 (20090501) Information __________

This message was checked by NOD32 antivirus system.

More information about the dev mailing list