[Geonetwork-devel] Fuzzy search demo & Harvest info from WMS

Hi dev-list, a simple demo to promote some ideas

One month ago, I sent an email about fuzzy search on Lucene and GeoNetwork … now you could test the demo : http://sandre.eaufrance.fr/geonetworktest/ . Play with the similarity parameter and search for “éàçùèöî” on your keyboard. As Jeroen said, a simple (javascript) slider control could be put in here to be more user friendly … And maybe keep this parameters to the advanced search interface only.
Did you have time to test if this fuzzy search has an impact on other GN search ?

One other idea is to get information from WMS such as BBOX (projection, layer id, Layer structure (WFS) … ). I create a simple service to get the bbox of a layer from a capability file and call this service from the Edit interface if a WMS is available. This allow user to automatically fill Geographic extent in a clic.
To test,

The serviceinfo return this kind of message :
http://sandre.eaufrance.fr/geonetworktest/srv/en/util.serviceinfo?URL=http://services.sandre.eaufrance.fr/geo/ouvrage?&LAYER=STEP&OP=BBOX - http://sandre.eaufrance.fr/geonetworktest/srv/en/util.serviceinfo?URL=http://193.43.36.137/ows/296?&LAYER=hydrological_basins&OP=BBOX - you could try with your own WMS services (URL must be terminated by a ?).

This is just to show the principles but it could be useful to think of such a generic interface to havest info from services to have an easier interface …

Enjoy :wink:

Francois


Ce message a ete verifie par MailScanner pour des virus ou des polluriels et rien de suspect n’a ete trouve.

Les donnees et renseignements contenus dans ce message sont personnels, confidentiels et privés.Toute publication, utilisation ou diffusion, meme partielle, doit etre autorisee.
Any data and information contained in this electronic mail is personal, confidential and private. Any total or partial publication, use or distribution must be authorized.

Hi Francois,
That’s nice work!

On the fuzzy search, did you ensure the fuzzy is not applied to the BBox? The geographic search criteria are most likely not working any more if fuzzy is introduced.

On the WMS harvesting: There are multiple solutions to this, and we will have to define the most appropriate. Yours can provide a quick start :slight_smile:

  • Your approach, on a field by field basis using Javascript.
  • An XSL transformation on a WMS Capabilities document could generate the new metadata record. This could likely be applied to WFS and WCS too (as well as others).
  • Based on a template from GeoNetwork, that template could be updated in business logic with the contents from a capabilities document. Again using an XSL transformation.

Ciao,
Jeroen

On Jul 4, 2006, at 9:37 AM, François Prunayre wrote:

Hi dev-list, a simple demo to promote some ideas

One month ago, I sent an email about fuzzy search on Lucene and GeoNetwork … now you could test the demo : http://sandre.eaufrance.fr/geonetworktest/ . Play with the similarity parameter and search for “éàçùèöî” on your keyboard. As Jeroen said, a simple (javascript) slider control could be put in here to be more user friendly … And maybe keep this parameters to the advanced search interface only.
Did you have time to test if this fuzzy search has an impact on other GN search ?

One other idea is to get information from WMS such as BBOX (projection, layer id, Layer structure (WFS) … ). I create a simple service to get the bbox of a layer from a capability file and call this service from the Edit interface if a WMS is available. This allow user to automatically fill Geographic extent in a clic.
To test,

The serviceinfo return this kind of message :
http://sandre.eaufrance.fr/geonetworktest/srv/en/util.serviceinfo?URL=http://services.sandre.eaufrance.fr/geo/ouvrage?&LAYER=STEP&OP=BBOX - http://sandre.eaufrance.fr/geonetworktest/srv/en/util.serviceinfo?URL=http://193.43.36.137/ows/296?&LAYER=hydrological_basins&OP=BBOX - you could try with your own WMS services (URL must be terminated by a ?).

This is just to show the principles but it could be useful to think of such a generic interface to havest info from services to have an easier interface …

Enjoy :wink:

Francois


Ce message a ete verifie par MailScanner pour des virus ou des polluriels et rien de suspect n’a ete trouve.

Les donnees et renseignements contenus dans ce message sont personnels, confidentiels et privés.Toute publication, utilisation ou diffusion, meme partielle, doit etre autorisee.
Any data and information contained in this electronic mail is personal, confidential and private. Any total or partial publication, use or distribution must be authorized.Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
<mime-attachment.txt>