I am using Mapnik 2.0.1rc0 on a Windows 7 with python 2.7 32bits inside a GeoDjango App using xml. The datasource come from spatialite 4.0. My tiling script can render polygon and point features correctly but linestring are just not displayed. The tiles are empty, without error. I can see the background of the tiles, but no trace of any lines when zooming in and out.

Does anybody have an idea what could be the problem?

1 Answer 1



Never seen anything like that. Can you post a link to a sample of your data so I can try to replicate?

  • Thank you, if you can test the data (simple lines drawn in QGIS) I will know if the problem is in the code or the data. docs.google.com/file/d/0B9lmo_x3K3OkcHE0RHVCSy1qRFU/… Commented Apr 12, 2013 at 14:06
  • I have tested the same data and code with PosGis 2.0 instead and it works normally. I think there is something wrong in the way mapnik makes its queries in spatialite. Commented Apr 15, 2013 at 14:57
  • I have noticed that Mapnik creates a file such sql3.db.index in the folder of the spatialite db. When this file is deleted the features are well rendered in the tiles. Please see this post for more details on this issue: Commented Apr 19, 2013 at 12:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.