New answers tagged mapserver
With PHP-MapScript, you can get all layer names as an array. You can make an array of the layers wish to enable, using the layer name. This is not the most elegant solution, and there is likely a better method supported through the API, but quick and dirty you can just step through the entire list of layers and disable them and only enable the ones you ...
If you want to cache tiles from the backend WMS without having to know the layer names beforehand use either "combined_mirror" or "split_mirror" mode. This doesn't seem to be properly documented, but it is mentioned in this issue "combined_mirror" makes a tileset for each combination of layers encountered. "split_mirror" will make a tileset for each layer ...
Moving from mapserver 6.0.3 to 6.4.1 solved the problem. The output now is as it was expected.
I not an expert on the internal workings of MapServer, but basically as I understand it you use a single .map configuration file as the basis of multiple service types; so you can in theory have one input data source, one .map file and from this provide a WMS, WFS, SOS, WCS (in multiple different versions) and also use the CGI variables to provide some ...
Try the ANCHORPOINT property of SYMBOL object (You will need mapserver >=6.2) I use this to align symbols that have their tip at middle bottom. SYMBOL NAME "symbol_name" TYPE PIXMAP IMAGE "icons/photo-marker.png" ANCHORPOINT 0.5 1 END see: http://mapserver.org/mapfile/symbol.html
Top 50 recent answers are included