Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer 1

Burton,

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

share|improve this answer
    
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/… –  Below the Radar Apr 12 '13 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. –  Below the Radar Apr 15 '13 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: –  Below the Radar Apr 19 '13 at 12:57
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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