[Mapbender-dev] [Mapbender] #419: too many hits in gazetteer because of built-in *

Mapbender mapbender_dev at lists.osgeo.org
Tue Mar 24 07:30:28 EDT 2009

#419: too many hits in gazetteer because of built-in *
 Reporter:  kolaloka          |       Owner:  dev        
     Type:  enhancement       |      Status:  new        
 Priority:  minor             |   Milestone:  2.6 release
Component:  tools             |     Version:  2.6 rc1    
 Keywords:  gazetteer search  |  
 Suppose a layer with 100000 polygon features, numbered from 1 to 1000. I
 want to search for the number 2, (approximately 100 hits if distribution
 is even) but as search is performed for *2* I get all features whose
 number contains the digit 2 which is far more than I wanted. Moreover, the
 old (2.5) Gazetteer had problems even for 700 hits, I don't think the new
 one would be much more efficient. I suggest to remove those built-in *
 from the Literal tag. User could put * where and when really needed.

 file: http/javascripts/mod_wfs_gazetteer_client.php

Ticket URL: <http://trac.osgeo.org/mapbender/ticket/419>
Mapbender <http://www.mapbender.org/>

More information about the Mapbender_dev mailing list