[OSM-dev] mapnik rendering last step

Mohamad Ali Mohamad.ali at intellitrac.com.au
Thu Apr 30 02:08:12 BST 2009


Hi Guys,

 In the final step of tutorial

 

user at PC1:~$ cd mapnik
user at PC!:~/mapnik$ source set-mapnik-env

 nothing happen on the screen

 

 

Then


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

 

 

sudo ./customize-mapnik-map >$MAPNIK_MAP_FILE

then the screen displays:
Use of uninitialized value $ENV{"MAPNIK_DBPORT"} in string eq at ./customize-mapnik-map line 34, <IN> line 7008.
Use of uninitialized value $ENV{"MAPNIK_DBUSER"} in string eq at ./customize-mapnik-map line 17, <IN> line 7009.
Use of uninitialized value $ENV{"MAPNIK_DBPASS"} in string eq at ./customize-mapnik-map line 23, <IN> line 7009.
Use of uninitialized value $ENV{"MAPNIK_DBHOST"} in string eq at ./customize-mapnik-map line 29, <IN> line 7009.
Use of uninitialized value $ENV{"MAPNIK_DBPORT"} in string eq at ./customize-mapnik-map line 34, <IN> line 7009.
Use of uninitialized value $ENV{"MAPNIK_DBUSER"} in string eq at ./customize-mapnik-map line 17, <IN> line 7010.
Use of uninitialized value $ENV{"MAPNIK_DBPASS"} in string eq at ./customize-mapnik-map line 23, <IN> line 7010.
Use of uninitialized value $ENV{"MAPNIK_DBHOST"} in string eq at ./customize-mapnik-map line 29, <IN> line 7010.
Use of uninitialized value $ENV{"MAPNIK_DBPORT"} in string eq at ./customize-mapnik-map line 34, <IN> line 7010.
Use of uninitialized value $ENV{"MAPNIK_DBUSER"} in string eq at ./customize-mapnik-map line 17, <IN> line 7011.
Use of uninitialized value $ENV{"MAPNIK_DBPASS"} in string eq at ./customize-mapnik-map line 23, <IN> line 7011.
Use of uninitialized value $ENV{"MAPNIK_DBHOST"} in string eq at ./customize-mapnik-map line 29, <IN> line 7011.
Use of uninitialized value $ENV{"MAPNIK_DBPORT"} in string eq at ./customize-mapnik-map line 34, <IN> line 7011.
Use of uninitialized value $ENV{"MAPNIK_DBUSER"} in string eq at ./customize-mapnik-map line 17, <IN> line 7012.
Use of uninitialized value $ENV{"MAPNIK_DBPASS"} in string eq at ./customize-mapnik-map line 23, <IN> line 7012.
Use of uninitialized value $ENV{"MAPNIK_DBHOST"} in string eq at ./customize-mapnik-map line 29, <IN> line 7012.
Use of uninitialized value $ENV{"MAPNIK_DBPORT"} in string eq at ./customize-mapnik-map line 34, <IN> line 7012.
Use of uninitialized value $ENV{"MAPNIK_DBUSER"} in string eq at ./customize-mapnik-map line 17, <IN> line 7013.
Use of uninitialized value $ENV{"MAPNIK_DBPASS"} in string eq at ./customize-mapnik-map line 23, <IN> line 7013.
Use of uninitialized value $ENV{"MAPNIK_DBHOST"} in string eq at ./customize-mapnik-map line 29, <IN> line 7013.
Use of uninitialized value $ENV{"MAPNIK_DBPORT"} in string eq at ./customize-mapnik-map line 34, <IN> line 7013.

….

…

 

 

Finally I tried ( maybe doesn’t have  any sense ):

 

user at PC1:~/mapnik$ ./z0_generate_tile1s.py
./z0_generate_tile1s.py: line 1: /user/bin/python: No such file or directory
from: can't read /var/mail/math
from: can't read /var/mail/subprocess
./z0_generate_tile1s.py: line 6: DEG_TO_RAD: command not found
./z0_generate_tile1s.py: line 7: RAD_TO_DEG: command not found
./z0_generate_tile1s.py: line 9: syntax error near unexpected token `('
./z0_generate_tile1s.py: line 9: `def minmax (a,b,c):'

 

 

 

Any suggestions

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090430/c1cf4474/attachment.html>


More information about the dev mailing list