So I recently started running mapnik 0.7.1 on Windows xp and I am trying
to find a way to save and access the layers I load using python. To
start, I use the code below to create the layer from a database table
and I have access to it.
lyr = Layer(t)
lyr.datasource = PostGIS(host=h,port=p,user=u,password = pw,
dbname=dbn,table=t)
I was wondering how I should save the layer so that after I close Python
and reopen it, I can get access to the layer without having to remake
the layer from the database. Any advice or providing links to relevant
documentation would be greatly appreciated.
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users