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

2010-11-09 Thread Fawcett, David (MPCA)
Matt, It looks like Steve Lime's regular expression example will get you what you are looking for. One strategy to think about with MapServer (and any other Web map server) is that when you are looking for the best performance, you want to pre-process your data as much as possible. This me

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