Hello Bryn,<br>I was also facing the same problem , but my side data is PostGIS .<br>So , when I tried to find the the problem ,I got that layer connectiontype does <br>matter in this thing. <br>So, when I tried with the extra code as 
<br>if ($oLayer->connectiontype==6) (i.e. for postgis )  <br>created some array of postgis layer and included that  in the <br>search code, now  I could  search in both shape file  and  postgis  data. <br> If you could find that connection type for your data then it might work for 
<br>your side also.<br> <br>Regards<br><br><div><span class="gmail_quote">On 2/2/07, <b class="gmail_sendername"><a href="mailto:bryn@brynr.ath.cx">bryn@brynr.ath.cx</a></b> <<a href="mailto:bryn@brynr.ath.cx">bryn@brynr.ath.cx
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi All,<br><br>I have a question with regards to the ka-map search system.
<br>I have been able to successfully use it to search on a layer where the<br>data source is a shapefile, however it doesn't seem to work on layers<br>where the data source is an oracle database. I have no problems in
<br>actually showing the data with labels, I am just unable to search it!<br><br>The relevant section of my map file is shown below in case it is something<br>I'm not doing correctly here:<br><br>LAYER<br>        GROUP "Provcoupe"
<br>        NAME oracle_test<br>        TYPE POLYGON<br>        CONNECTIONTYPE oraclespatial<br>        CONNECTION "*****/*****@*****"<br>        DATA "SHAPE FROM PC_A USING UNIQUE FEATUREID"<br>        DUMP TRUE
<br>        STATUS ON<br>        TRANSPARENCY ALPHA<br>        LABELITEM "Provcoupe"<br>        PROJECTION<br>                "init=epsg:28355"<br>        END<br>        CLASS<br>                Name "Provcoupe"
<br>                MAXSCALE 50001<br>                STYLE<br>                        OUTLINECOLOR 0 0 0<br>                        COLOR 0 128 128<br>                        ANTIALIAS TRUE<br>                END<br>                LABEL
<br>                        ANTIALIAS TRUE<br>                        COLOR 255 255 255<br>                        SHADOWCOLOR 0 0 0<br>                        SHADOWSIZE 1 1<br>                        FONT "verdana"
<br>                        TYPE TRUETYPE<br>                        POSITION AUTO<br>                        PARTIALS FALSE<br>                        SIZE 10<br>                        BUFFER 1<br>                END<br>
        END<br>        TEMPLATE "query_template.html"<br>        METADATA<br>                opacity "65"<br>                queryable "true"<br>                searchfield "Provcoupe"
<br>                fields "Provcoupe:Provcoupe"<br>        END<br>END<br><br>Ultimately what I would like to be able to do is search for a feature,<br>then by hitting the 'zoom to' button automatically highlight the selected
<br>feature.<br>However, my attempts to highlight features only work with the query tool<br>and then all I can get to (intermittently) work is having *only* the<br>queried feature render on the QueryLayer (which is what I want), but the
<br>background colour is not transparent (ie I can't see the underlying<br>layers).<br><br>Any pointers or tips would be much appreciated.<br><br>Regards,<br>Bryn Roberts<br><br>_______________________________________________
<br>ka-Map-users mailing list<br><a href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a><br><a href="http://lists.maptools.org/mailman/listinfo/ka-map-users">http://lists.maptools.org/mailman/listinfo/ka-map-users
</a><br></blockquote></div><br><br clear="all"><br>-- <br>              (((())))<br>              (@ @)<br>                 (_)<br>+----oOO------------Ooo----------+<br>|      Gupteshwar D Joshi            |<br>|                                              |
<br>+------------------------------------+  <br>              |___|___|  <br>                 | | | |<br>              ooO Ooo