Hi indeed, the mapOverlay would be perfeclty fine, as you would simply have to set on the fly the DATA parameter of your layer depending of the user choice.
if there is only one dataset displayed at once, you only need one layer in your mapfile and use mapOverlay to change the DATA. if the user can select an undefined quantity of dataset, the easiest way is to duplicate an existing layer (where you have set default CLASS and STYLE), set its name and data and insert it. all the actions of mapOverlay are explained in http://www.cartoweb.org/doc_head/docbook/xhtml/dev.mapoverlay.html and you have a basic example there http://lists.maptools.org/pipermail/cartoweb-users/2007-March/002236.html regards Oliver ----- Original Message ----- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: cartoweb-users@lists.maptools.org Sent: Thursday, March 06, 2008 4:45 PM Subject: postGIS dataset Hello, my cartoweb project involves mapping information from a postGIS dataset, I would like the user to be able to select the dataset to be maped, each data set has a unique identifiyer eg: http://quake/calculationSession.xsp?id=23 http://quake/calculationSession.xsp?id=24 and so on. Whats is the best way to do this? I have been looking into the MapOverlay plugin using a filter pluging? or are there other options? Thank you, Ben Wyss
_______________________________________________ Cartoweb-users mailing list Cartoweb-users@lists.maptools.org http://lists.maptools.org/mailman/listinfo/cartoweb-users