On Thu, May 20, 2010 at 9:14 AM, arnauld ndefo <[email protected]> wrote:
> hello everybody, > i have downloaded the folder mapnik > > svn export http://svn.openstreetmap.org/applications/rendering/mapnik > > .Before the download of this folder, i have already installed python and > other thing which allow mapnik > to work without problem. > > When i do python set-mapnik-env into the shell command of windows, i have > this error > > File "set-mapnik-env", line 33 > export MAPNIK_MAP_FILE = C:\mapnik\osm.xml > ^ > SyntaxError: invalid syntax > > I don't know how to solve this problem. > > Also, when i > do > > python customize-mapnik-map > $MAPNIK_MAP_FILE i have also this error. > > File "customize-mapnik-map", line 6 > use strict; > ^ > SyntaxError: invalid syntax > > How to solve all this problem to generate my own tile for my map > You may be following old documentation. Use generate_xml.py to create your local style. generate_xml.py --help # for instructions. then something like this to make my-os.xml generate_xml.py osm.xml --dbname gis --accept-none > my-osm.xml Edit generate_tiles.py near line 184 to find your my-osm.xml
_______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

