[Pymag-devel] invalid maps generated on windows
Status: Alpha
Brought to you by:
lhj
|
From: bp <bp...@po...> - 2009-10-28 10:40:47
|
Hi, I'm a newbee user of pymagellan. I found it great. However I'v installed it both on XP and Ubuntu. The XP version produced invalid map files. MapSend says: "Can not open map" though the linux version was ok. Datasources and rule files were the same in both cases. Than after a little search I found this topic: http://sourceforge.net/tracker/?func=detail&aid=2350976&group_id=239832&atid=1111141 and applied the patch in Layer.py changing tmplay = tempfile.NamedTemporaryFile('w') to tmplay = tempfile.NamedTemporaryFile('wb') after applying the modification, the maps created on windows were ok. I'v applied the modification on linux also. MapSend can open both the windows and the linux version of maps. So I think this patch sould be in svn. Regards Peter |