Re: [mapserver-users] setFilter problem (c#)

2009-04-06 Thread Paul james
Hi Tamas! It´s a Postgis layer...And the extent is fine... Any ideia? Thanks On Sat, Apr 4, 2009 at 3:52 PM, Tamas Szekeres szeker...@gmail.com wrote: Paul, Which data source are you using? It highly depends on the type of the data source how the filter is interpreted by mapserver. Are you

Re: [mapserver-users] setFilter problem (c#)

2009-04-06 Thread Paul james
Thanks Tamas... I found the problem... The correct filter to postgis is : (gid='10') On Mon, Apr 6, 2009 at 12:11 PM, Tamas Szekeres szeker...@gmail.com wrote: Then the filter is passed directly to the database in the SQL WHERE clause. You might want to enable logging the SQL statements at

Re: [mapserver-users] setFilter problem (c#)

2009-04-04 Thread Tamas Szekeres
Paul, Which data source are you using? It highly depends on the type of the data source how the filter is interpreted by mapserver. Are you sure there are matching features within the extent you have? Best regards, Tamas 2009/4/3 Paul james paulj...@gmail.com Hello guys... I got a

[mapserver-users] setFilter problem (c#)

2009-04-03 Thread Paul james
Hello guys... I got a problem... My code : var _filter = ('[gid]'='10'); var _layer = _map.MapObj.getLayerByName(X); var _lC = _layer.clone(); _lC.setFilter(_filter); _lC.name = Dummy; _lC.status = 1; _lC.getClass(0).getStyle(0).color.setRGB(0, 250, 250);