[Mapnik-users] No attribute Map

2011-10-27 Thread Espen Isaksen
Hi! I am guessing I am doing something really stupid :-) I have installed mapnik2 through Tilemill on Ubuntu. I start a python shell and run the following commands in the shell(no file called mapnik.py as others having the same problem): import mapnik2 as mapnik mapfile = 'kart.xml' map_output

Re: [Mapnik-users] Oracle/MapNik and Windows

2011-10-27 Thread Ben Crane
Hi all, I'm now completely confused. I have MapNik installed, Python2.6, OSGeo4W and still have no idea how to install the Oracle OCI driver for use in Python/MapNik...I have tried using the OGR library but when I reference OCI as part of the OGR setup within my XML scripts for MapNik it cannot

Re: [Mapnik-users] out of memory

2011-10-27 Thread Torsten Mohr
Hello, Mapnik's postgis plugin has an option called 'cursor_size'. It is default set to 0 which mean no cursors are used, but it you set it to some value over 0 then results will be fetched in chunks. Try that and let us know how it works for you. thanks for that hint. In the XML files i

Re: [Mapnik-users] [Mapnik-devel] Oracle/MapNik and Windows

2011-10-27 Thread Dane Springmeyer
Hi Ben, If you are using the mapnik windows binaries (as per [1]), then these do not support oracle. It is our hope and intention to support more features in the windows binaries (and make it easier to build them yourself), but at this point this effort is stalled [2]. So, we do not have a

Re: [Mapnik-users] No attribute Map

2011-10-27 Thread Dane Springmeyer
Espen, You are hitting a problem with the python bindings based on how they are packaged. It should be able to be solved with this odd hack: sudo cp /usr/lib/pyshared/python2.6/mapnik2/* /usr/lib/pymodules/python2.7/mapnik2/ If not let us know. For background on the issue see:

Re: [Mapnik-users] out of memory

2011-10-27 Thread Dane Springmeyer
On Oct 27, 2011, at 10:40 AM, Torsten Mohr wrote: Hello, Mapnik's postgis plugin has an option called 'cursor_size'. It is default set to 0 which mean no cursors are used, but it you set it to some value over 0 then results will be fetched in chunks. Try that and let us know how it