[Geoserver-devel] How to develp "search" function and the syntax of CQL

Hi ALL,

I’m studying how to implement “search” function based on Gerserver. But I
suffered server problems as follow. Before I posted my questions, I had
searched the forum without helpful responds.
1. The Syntax of CQL. Though there is a guideline about CQL on the website,
it doesn’t provide enough in my views. My questions: how to filter by a
street name (a string, like “E 66th St”)? In the tiger-ny map, the CQL
filer: tiger_roads.NAME "is" E 66th St, but it is wrong.
2. I just want to develop “map search” like Google map, MS Live map, as my
further study platform. Unluckily, I don’t know how to start the work. Could
you give some cues or steps? Of course, if there are some examples, it
should be better.

Cheers,
Vincent

--
View this message in context: http://www.nabble.com/How-to-develp-"search"-function-and-the-syntax-of-CQL-tp23490764p23490764.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

Hi Vincent:

The CQL thing has an offical specification (part of the catalog 2.0
specification from OGC). However this format is very limited - you can
using he "like" filter to perform some basic wildcard searches.

Your bigger question of how to google like searches is of course a bit
larger then CQL.

In udig table view we provide a "full text search"; but we do that by
going through features in memory and doing just that - full text
search. If the user tells us a specific attribute to search (from a
drop down list) we can use the like filter and go faster; or if they
give us a CQL expression (in the same drop down list) we can go
faster.

Other then that you may want to deploy a search engine (GeoNetwork
uses one for search metadata) and reference each feature id from each
block of text.

Jody
On Tue, May 12, 2009 at 6:20 AM, Vincent2009
<limin.zeng@anonymised.com> wrote:

Hi ALL,

I’m studying how to implement “search” function based on Gerserver. But I
suffered server problems as follow. Before I posted my questions, I had
searched the forum without helpful responds.
1. The Syntax of CQL. Though there is a guideline about CQL on the website,
it doesn’t provide enough in my views. My questions: how to filter by a
street name (a string, like “E 66th St”)? In the tiger-ny map, the CQL
filer: tiger_roads.NAME "is" E 66th St, but it is wrong.
2. I just want to develop “map search” like Google map, MS Live map, as my
further study platform. Unluckily, I don’t know how to start the work. Could
you give some cues or steps? Of course, if there are some examples, it
should be better.

Cheers,
Vincent

--
View this message in context: http://www.nabble.com/How-to-develp-"search"-function-and-the-syntax-of-CQL-tp23490764p23490764.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Thank you.
I will check the specification of CQL. And Mr. Gabriel Roldan responded
helpful documents to set up a web
map app step by step,
(http://docs.codehaus.org/display/MAP/Building+A+Web+App ). It is indeed a
good
introduction to teach how to develop a search function with MapBuild and
Geoserver. Thanks.

Jody Garnett-3 wrote:

Hi Vincent:

The CQL thing has an offical specification (part of the catalog 2.0
specification from OGC). However this format is very limited - you can
using he "like" filter to perform some basic wildcard searches.

Your bigger question of how to google like searches is of course a bit
larger then CQL.

In udig table view we provide a "full text search"; but we do that by
going through features in memory and doing just that - full text
search. If the user tells us a specific attribute to search (from a
drop down list) we can use the like filter and go faster; or if they
give us a CQL expression (in the same drop down list) we can go
faster.

Other then that you may want to deploy a search engine (GeoNetwork
uses one for search metadata) and reference each feature id from each
block of text.

Jody
On Tue, May 12, 2009 at 6:20 AM, Vincent2009
<limin.zeng@anonymised.com> wrote:

Hi ALL,

I’m studying how to implement “search” function based on Gerserver. But I
suffered server problems as follow. Before I posted my questions, I had
searched the forum without helpful responds.
1. The Syntax of CQL. Though there is a guideline about CQL on the
website,
it doesn’t provide enough in my views. My questions: how to filter by a
street name (a string, like “E 66th St”)? In the tiger-ny map, the CQL
filer: tiger_roads.NAME "is" E 66th St, but it is wrong.
2. I just want to develop “map search” like Google map, MS Live map,
as my
further study platform. Unluckily, I don’t know how to start the work.
Could
you give some cues or steps? Of course, if there are some examples, it
should be better.

Cheers,
Vincent

--
View this message in context:
http://www.nabble.com/How-to-develp-"search"-function-and-the-syntax-of-CQL-tp23490764p23490764.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks
to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
View this message in context: http://www.nabble.com/How-to-develp-"search"-function-and-the-syntax-of-CQL-tp23490764p23500807.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.