Hello,

If you mean that your map output is empty (an empty rectangle of your
background colour) you may have the same trouble I had.

I the process looked a bit sensitive to projection.
I could not have anything rendered if the shape files srs was different from
map' srs, re-projection don't seemed to work. (In your case this would be
your column in DB and maybe in geometry_column table too) 

I had to specify explicitly the srs for each layer and it has to be the same
than map' srs.

I don't have the exact methods names in head but this should look like, with
your objects' names, :
lyr1.set_srs(m.srs());
lyr2.set_srs(m.srs());

Hope it helps

Nicolas.
-- 
View this message in context: 
http://old.nabble.com/Rendering-map-through-c%2B%2B-API-tp27210929p27258602.html
Sent from the Mapnik - Users mailing list archive at Nabble.com.

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to