hi,

I have seen some mapnik reply mails :

http://lists.berlios.de/pipermail/mapnik-users/2007-July/000339.html
https://lists.berlios.de/pipermail/mapnik-users/2007-June/000300.html

and the page : http://trac.mapnik.org/wiki/OptimizeRenderingWithPostGIS

My question is as follows:

I have added the following code to rundemo.cpp !

{
parameters p;
p["type"]="postgis";
p["host"]= "abc";
p["port"]=5432;
p["dbname"]="gis";
p["user"]="anisha";
p["password"]="";

p["table"]="tree";

Layer lyr("Roads");
lyr.set_datasource(datasource_cache::instance()->create(p));
lyr.add_style("roads");
}

I have installed the postgis plugin through this command :


Que 1: Now how i am supposed to check whether a table tree has been created or 
not ?

Que 2: Where should write the query "select * from tree", in rundemo.cpp ? This 
query is supposed to be independent of table creation !!

Thanks ,

_anisha

-------------------------------------
Hi-Tech Gears Limited, Gurgaon, India

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

Reply via email to