Eduardo, Yes, this is possible.
Every request to MapServer is made against the latest version of your data. To draw only points with a value of 'yes' in the column named 'visible': - add a layer to your map file that connects to your data source. - add a class to the layer - add a style to your layer that defines how the points will be symbolized - Now, test the map file at this point to see if your data works correctly. You can do this by using the shp2img utility that comes with MapServer or even easier, make a URL request to MapServer using mode=map. - once the layer works, add an filter to your layer. The syntax may vary based on the database that you are using, but it should be something like FILTER "visible = 'yes'". I think that the simplest strategy for you is to: - get the layer working as a simple CGI MapServer call. - then apply your expression to limit the points to only the ones that you want - finally, modify your map file to server the layer as a WMS David. -----Original Message----- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Eduardo de la Montaña Sent: Tuesday, February 09, 2010 4:00 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Refresh changes on map Hi, I'm using mapserver with a layer stored on a data base with a lot of points, which I updated with other application. I would like that Mapserver draw this points depending on an atribute "visible". Can Mapserver update the layer on the next wms request with the points updated? How I should set up my mapfile to do this? Thanks in advance, _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users