[OSM-dev] mapnik
Richard Weait
richard at weait.com
Fri May 1 12:34:00 BST 2009
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,
Richard
More information about the dev
mailing list