<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<font style="font-size: 12pt;" color="#1F497D" face="Arial" size="3"><br>Hello,<br><br>I'm testing this very nice example: http://ian01.geog.psu.edu/geoserver/www/search/gazetteer.html (congratulations to the author btw) but using in the protocol geojson (without geojson) instead of the default configuration using WFS and XML (loaded in geoserver). It works </font><font style="font-size:12pt" color="#1F497D" face="Arial" size="3">actually </font><font style="font-size:12pt" color="#1F497D" face="Arial" size="3">nicely, the results appear in the map and the grid, but the problem is that once I look for one feature, it just appears the whole geojson in the map, so I understand that the code (formPanel and name_like) doesn't "fetch" actually the feature I searched for. I've read somewhere that this problem is either a filter in the geojson output or the geojson deserialization, but not sure if this is right. This is basically the part I changed in the original code:<br><br> // define the data source<br>    var protocol = new OpenLayers.Protocol.HTTP({<br>        url: 'http://localhost/postgis_geojson.php?geotable=boreholes_point_wgs84&geomfield=geom',<br>        format: new OpenLayers.Format.GeoJSON({<br>            ignoreExtraDims: true,<br>            'internalProjection': new OpenLayers.Projection("EPSG:900913"),<br>            'externalProjection': new OpenLayers.Projection("EPSG:4326")<br>        })<br>    });<br><br>BTW, I'm using the cool script postgis_geojson.php to get my postgis table as geojson.<br><br>Any help is appreciated, thanks in advance,<br><br>Best regards,<br><br>Gery<br><br><br><br><br>__________________________________________________________________________________________<br>Piensa en el medio ambie<font style="" face="Arial">nte - mantenlo en la pantalla. NO lo imprimas si NO es necesario.</font></font><font style="font-size:12pt" color="#1F497D" face="Arial" size="3"><br></font><font style="font-size:12pt" color="#1F497D" face="Arial" size="3">Think green - keep it on the screen. Do NOT print if it is NOT necessary.</font><font style="font-size:12pt" color="#1F497D" face="Arial" size="3"><br></font><font style="font-size:12pt" color="#1F497D" face="Arial" size="3"><span id="ecxresult_box" class="ecxshort_text" lang="de"><span class="ecxhps">Denken Sie an</span> <span class="ecxhps">die Umwelt</span></span></font><font style="font-size:12pt" color="#1F497D" face="Arial" size="3"><span id="ecxresult_box" lang="de"><span class="ecxhps"></span> <span class="ecxhps">-</span> <span class="ecxhps">bewahren Sie es</span> <span class="ecxhps">auf dem Bildschirm.</span> <span class="ecxhps">Drucken Sie NICHT</span><span>, wenn</span> <span class="ecxhps">es NICHT notwendig ist</span><span>.</span></span></font><br>                                         </div></body>
</html>