On Nov 22, 2010, at 4:33 AM, Reinout van Rees wrote: > On 11/19/2010 05:35 PM, Dane Springmeyer wrote: >> Application logic like permissions to certain datasets, custom styles of >> certain users, etc. Stuff like django might handle. I've done some R&D on >> deeper integration between GeoDjango spatial types and Mapnik (see [4]), so >> you can pass - in pure python - spatial querysets to be rendered by mapnik. >> But, in general if you want highly scalable and performant tile services >> then you likely DONT want to mix your tiles with your application, so that >> they can be separate concerns, on separate machines. > > That deeper integration with django: I'm a bit tired of writing sql by hand > for the mapnik database queries :-) Django's ORM does sql just fine for all > other tasks, so having django create mapnik queries would be great. > > Any pointers to start looking?
http://bitbucket.org/springmeyer/djmapnik/ Still needs work, but the basics are here: http://bitbucket.org/springmeyer/djmapnik/src/eb5e0745c0b1/djmapnik/adapter.py#cl-119 > > > Reinout > > -- > Reinout van Rees - [email protected] - http://reinout.vanrees.org > Collega's gezocht! > Django/python vacature in Utrecht: http://tinyurl.com/35v34f9 > > _______________________________________________ > Mapnik-users mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/mapnik-users _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

