<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Pje and Lorenzo.<br>
<br>
I added this line to my map file, but unsuccessful. Finally works with
this changes in the code:<br>
<br>
1) In config.php, make sure the row 108 is a full path to the map:<br>
'path' => 'C:/ms4w/apps/gmap/htdocs/Cabezas_Rubias.map',<br>
<br>
2) Modify in xsearch.php the row 55: <br>
<br>
$searchstring= $_REQUEST['searchstring'];<br>
<br>
3) Comment in this file the row 259:<br>
/*<br>
* $m=iconv("ISO-8859-13", "UTF-8", $key_val[$szSearchfield]);<br>
*/<br>
<br>
<blockquote cite="mid200607171601.k6HG19ai018275@duke.maptools.org"
type="cite">
<pre wrap="">Lorenzo Becchi wrote:
</pre>
<blockquote type="cite">
<pre wrap=""><a class="moz-txt-link-freetext" href="http://www.ominiverdi.org/ka-map/ka-map/htdocs/index_query.html">http://www.ominiverdi.org/ka-map/ka-map/htdocs/index_query.html</a>
Improvement:
query system integrated with search system.
it's a first step but that's the direction.
Lorenzo
_______________________________________________
ka-Map-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a>
<a class="moz-txt-link-freetext" href="http://lists.maptools.org/mailman/listinfo/ka-map-users">http://lists.maptools.org/mailman/listinfo/ka-map-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
------------------------------
Message: 3
Date: Mon, 17 Jul 2006 12:20:13 +0200
From: Jos? Manuel Cerrej?n Gonz?lez <a class="moz-txt-link-rfc2396E" href="mailto:gis@mapas-sll.com"><gis@mapas-sll.com></a>
Subject: [ka-Map-users] fail in search function
To: <a class="moz-txt-link-abbreviated" href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:44BB645D.80307@mapas-sll.com"><44BB645D.80307@mapas-sll.com></a>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
I don't know if the search function is 100% implemented, but when I
input "COSO" (a street name in the shape), no string is found:
--------------------
Mon, 17 Jul 2006 10:07:13
Search string: COSO
No results for all layers with query string: "//"
--------------------
This is the layer in the map file:
--------------------
LAYER
NAME "Nombre Calles"
TYPE POINT
STATUS ON
GROUP "Nombre Calles"
DATA nombres_calles-urb-txt # shp name
LabelItem "TEXTSTRING" # column name in the shape
LABELANGLEITEM "TEXT_ANGLE" # rotation
CLASSITEM "TEXTSTRING"
TEMPLATE ttt_query.html
CLASS
NAME "Nombre Calles"
LABEL # label
COLOR 0 0 0
FONT sans-italic
TYPE truetype
SIZE 8
PARTIALS FALSE
ANTIALIAS TRUE
OUTLINECOLOR 255 255 255
END
COLOR 0 0 0
END
METADATA
"queryable" "true"
END
END # Nombre Calles
--------------------
Obviously there are a row with the column TESTSTRING called COSO
What's wrong?
------------------------------
Message: 4
Date: Mon, 17 Jul 2006 08:34:11 -0300
From: Pje <a class="moz-txt-link-rfc2396E" href="mailto:pjebra@gmail.com"><pjebra@gmail.com></a>
Subject: Re: [ka-Map-users] fail in search function
Cc: <a class="moz-txt-link-abbreviated" href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a>
Message-ID:
        <a class="moz-txt-link-rfc2396E" href="mailto:e04e26f70607170434t34b7916atc1d3833377f5f5f0@mail.gmail.com"><e04e26f70607170434t34b7916atc1d3833377f5f5f0@mail.gmail.com></a>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
You need to add in your layer metadata this string:
searchfield "TEXTSTRING"
On 7/17/06, José Manuel Cerrejón González <a class="moz-txt-link-rfc2396E" href="mailto:gis@mapas-sll.com"><gis@mapas-sll.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
I don't know if the search function is 100% implemented, but when I
input "COSO" (a street name in the shape), no string is found:
--------------------
Mon, 17 Jul 2006 10:07:13
Search string: COSO
No results for all layers with query string: "//"
--------------------
This is the layer in the map file:
--------------------
LAYER
NAME "Nombre Calles"
TYPE POINT
STATUS ON
GROUP "Nombre Calles"
DATA nombres_calles-urb-txt # shp name
LabelItem "TEXTSTRING" # column name in the shape
LABELANGLEITEM "TEXT_ANGLE" # rotation
CLASSITEM "TEXTSTRING"
TEMPLATE ttt_query.html
CLASS
NAME "Nombre Calles"
LABEL # label
COLOR 0 0 0
FONT sans-italic
TYPE truetype
SIZE 8
PARTIALS FALSE
ANTIALIAS TRUE
OUTLINECOLOR 255 255 255
END
COLOR 0 0 0
END
METADATA
"queryable" "true"
END
END # Nombre Calles
--------------------
Obviously there are a row with the column TESTSTRING called COSO
What's wrong?
_______________________________________________
ka-Map-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a>
<a class="moz-txt-link-freetext" href="http://lists.maptools.org/mailman/listinfo/ka-map-users">http://lists.maptools.org/mailman/listinfo/ka-map-users</a>
</pre>
</blockquote>
<pre wrap=""><!----></pre>
</blockquote>
</body>
</html>