[mapserver-users] RE: Real life sample of a Mapfile for shp files on WMS

2010-11-09 Thread wildcolour
Wow Thanks guys, these where great examples, I got there straight away. Thanks for the advice on performance. This may become an issue, and sounds like it is better to deal with it early. This is a very powerful tool, with a great community base, I am very impressed Now of the fun part, making th

RE: [mapserver-users] RE: Real life sample of a Mapfile for shp files on WMS

2010-11-09 Thread Fawcett, David (MPCA)
n a more complicated expression. David. -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of wildcolour Sent: Monday, November 08, 2010 5:29 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] RE: Real life

RE: [mapserver-users] RE: Real life sample of a Mapfile for shp files on WMS

2010-11-09 Thread Lime, Steve D (DNR)
case. Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of tommaso Sent: Tuesday, November 09, 2010 5:29 AM To: wildcolour Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] RE: Real life sample of a Mapfile for shp files

Re: [mapserver-users] RE: Real life sample of a Mapfile for shp files on WMS

2010-11-09 Thread tommaso
Hi, for regular expression you need to set the parameters FILTERITEM and FILTER. >From the documentation (http://mapserver.org/mapfile/expressions.html#regular-expression-comparison) LAYER NAME "regexp-example" FILTERITEM "placename" FILTER /hotel/ ... END I think, the paramete

[mapserver-users] RE: Real life sample of a Mapfile for shp files on WMS

2010-11-08 Thread wildcolour
Thanks, this looks great. I will try it tonight, but I think is looking just right. One more related question. The column we are using is called 'Tag' and the seemed to have grouped the 'class' and the 'title' in the one column. For example all secondary roads have the tag "TVOP2" but roads with