Sorry my search.xml is wrong, I mean :

<searchlist version="1.0">
        <dataroot>$</dataroot>

        <searchitem name="crash" description="crash">
        <layer type="postgis" name="crash">
                        <field type="s" name="location" description="location" 
wildcard="2">
                                <definition type="suggest" 
connectiontype="postgis" sort="asc"
minlength="1" startleft="1" >
                                        <dsn 
encoding="UTF-8">pgsql://xxx:x...@localhost:5432/data_web</dsn>
                                        <sql>SELECT DISTINCT location FROM 
crash WHERE location IS NOT
NULL ORDER BY gid</sql>
                                </definition>
                        </field>
        </layer>
        </searchitem>

</searchlist>
------------------------------------------------------------------------------
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to