Re: [Geoserver-users] find feature by attribute

2011-04-26 Thread Antonio Parrotta
I've fixed with var filter = "strToLowerCase(LABEL) like '%via passo%'"; now it works, thanks you all - Antonio On Tue, Apr 26, 2011 at 10:48 PM, David Winslow wrote: > The ECQL.toFilter() bit of that is Java code. GeoServer will basically > provide that for you. > > Try making your filter text

Re: [Geoserver-users] find feature by attribute

2011-04-26 Thread David Winslow
The ECQL.toFilter() bit of that is Java code. GeoServer will basically provide that for you. Try making your filter text just "isLike(strToLowerCase(LABEL), 'via passo%')" and see if that works better. -- David Winslow OpenGeo - http://opengeo.org/ On Tue, Apr 26, 2011 at 4:34 PM, Antonio Parro

Re: [Geoserver-users] find feature by attribute

2011-04-26 Thread Antonio Parrotta
Hi Andrea, I'm still trying to figure out how to play with CQL filters to query by attributes. I've found that Geoserver 2.1RC4 sould support ECQL filters but the filter I'm building is not well interpreted. what I'm doing is: var filter = "ECQL.toFilter(isLike(strToLowerCase(LABEL), 'via passo%

Re: [Geoserver-users] find feature by attribute

2011-04-14 Thread Andrea Aime
On Wed, Apr 13, 2011 at 11:16 PM, Phil Scadden wrote: > > > Using OL + WFS as Ricardo suggested is another option. It will give > > you more control,probably nice popup functionality and visual feedback as > you hover on the selection, but it won't scale up to large selections (e.g., > more than

Re: [Geoserver-users] find feature by attribute

2011-04-14 Thread Andrea Aime
On Thu, Apr 14, 2011 at 6:05 PM, Antonio Parrotta wrote: > I implemented the "find by attribute" using OpenLayers.Protocol.WFS > and cql_filter. Does geoserver supports case insensitive like? > > > there is an improvment request > Provide an option for a case insensitive > like

Re: [Geoserver-users] find feature by attribute

2011-04-14 Thread Antonio Parrotta
I implemented the "find by attribute" using OpenLayers.Protocol.WFS and cql_filter. Does geoserver supports case insensitive like? there is an improvment request Provide an option for a case insensitive like but it seems not yet implemented. Is there a

Re: [Geoserver-users] find feature by attribute

2011-04-13 Thread Phil Scadden
> Using OL + WFS as Ricardo suggested is another option. It will give > you more control,probably nice popup functionality and visual feedback as you > hover on the selection, but it won't scale up to large selections (e.g., more > than a few tens of features) whilst the approach I'm suggesting

Re: [Geoserver-users] find feature by attribute

2011-04-13 Thread Ricardo Bayley
Hi Antonio, OpenLayers is a Javascript framework, which loads geoserver tiles dynamically. best place to see examples is at the http://openlayers.org/ sample page: http://openlayers.org/dev/examples/ Good examples to select and highlight features dynamically a

Re: [Geoserver-users] find feature by attribute

2011-04-13 Thread Antonio Parrotta
Hi Andrea, I will look into filter as you suggested. thanks a lot Hi Ricardo, I'm new to both geoserver and OL, would you please give me just a direction or any example to face this using openlayer? thanks a lot - Antonio On Wed, Apr 13, 2011 at 8:58 AM, Andrea Aime wrote: > On Tue, Apr 12, 20

Re: [Geoserver-users] find feature by attribute

2011-04-13 Thread Andrea Aime
On Tue, Apr 12, 2011 at 11:52 PM, Antonio Parrotta wrote: > Hi, I'm new to geoserver, need to find feature/s by attributes. Basically I > need to query the layer searching by a set of attributes, then highlight the > returned feature on the map. Is it feasible? Add the layer twice to your map, on

Re: [Geoserver-users] find feature by attribute

2011-04-12 Thread Ricardo Bayley
Hi Antonio, I understand it is feasible. But the best tool for the job seems to be OpenLayers. Are you familiar with this ? Ricardo 2011/4/12 Antonio Parrotta > Hi, I'm new to geoserver, need to find feature/s by attributes. Basically I > need to query the layer searching by a set of attribut

[Geoserver-users] find feature by attribute

2011-04-12 Thread Antonio Parrotta
Hi, I'm new to geoserver, need to find feature/s by attributes. Basically I need to query the layer searching by a set of attributes, then highlight the returned feature on the map. Is it feasible? thanks - Antonio -- Forr