Latest win32 binaries (r638)

Here are the latest win32 binaries (r638) including bindings for Python 2.5. They will be in the 0.5.0 release, which is imminent. So, give it a try and report any problems. Have fun!

Posted by artem on February 5, 2008

Comments

2008-02-06 10:19:45 - Envy

Hi, How do we use these binaries. There is no documentation. Please guide.

2008-02-06 10:43:09 - Artem Pavlenko

1. install Python 2.5 (win32 installer from python.org) into C:\Python2.5 2. install Postgresql (optional) 3. unzip mapnik binaries into c:\mapnik_20080205 ( you should end up with directory structure like: c:\mapnik_20080205\include c:\mapnik_20080205\lib .... 4. copy content of c:\mapnik_20080205\site-packages\mapnik to c:\Python2.5\Lib\site-packages\mapnik 5. Ensure c:\mapnik_20080205\lib is in your PATH - use System preferences or on command prompt: set PATH=%PATH%;c:\mapnik_20080205\lib 6. cd c:\mapnik_20080205\demo\python 7. C:\Python2.5\Python.exe rundemo.py Enjoy!

2008-02-07 04:08:58 - Envy

Hi again, I followed your instructions as above but I get the following error: The mapnik library and python bindings must have been compiled and installed successfully before running this script. ImportError: No module named mapnik Please advise.

2008-02-07 09:09:25 - Artem Pavlenko

>> mportError: No module named mapnik Looks like Python bindings didn't make it to the right location. I suggest you post to mapnik-users and/or ping me on #osm IRC Thanks

2008-02-11 07:41:16 - Envy

I'm still getting an error that the mapnik module is not there. I've done everything as listed above. Any idea why I'm getting this. The Path was set ok too.

2008-02-11 08:59:00 - Artem Pavlenko

Zordious, thanks for sharing your experience. There were two DLLs missing in mapnik 0.5.0 win32 binaries (iconv and iostreams). It is fixed, so no need to install boost. Envy, it looks like some path/missing library issue. Could you try downloading mapnik again from : http://prdownload.berlios.de/mapnik/mapnik_win32_py25-0.5.0.zip If you're still having trouble find me on #osm

2008-03-08 11:34:22 - Adrian

I get the following error when running generate_tiles: python.exe generate_tiles.py render_tiles( (-180.0, -90.0, 180.0, 90.0) osm.xml tiles/ 0 5 world ) got exception ... Traceback (most recenet call last): File "generate_tiles.py", line 126, in <module> render_tiles(bbox, mapfile,tile_dir, 0, 5, "World") File "generate_tiles.py",line 53 in render tiles load_map(m,mapfile) RuntimeError: failed opening file: The handle is invalid. I am running Cygwin under Windows XP. Any assistance would be appreciated. Thanks, Adrian.

2008-04-17 19:20:28 - George

I am getting the same error as Adrian

2008-04-17 19:34:42 - George

Got it... wrong file paths in XML. Seems that the osm.xml downloaded from their site contains a lot of hard-coded paths and the env params dont take effect

2008-04-19 00:02:09 - Alex @ www.cubicom.ch

This should definitely be in the wiki ^^

2008-10-04 14:26:13.920904 - e119188

Hi, I am using mapnik-0_5_1 binaries on winxp,i want to use gdal plug-in but, default binaries doesnt include that one and i dont know how to compile from source files, can you help me on this issue?

Post a comment

Comments are closed...