<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.5730.11" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Oliver,</FONT></DIV>
<DIV><FONT face=Arial size=2>I added:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT size=2>if (isset($request['selection_coords']) {</FONT></DIV>
<DIV><FONT size=2> $this->coordinates =
$request['selection_coords'];</FONT></DIV>
<DIV><FONT size=2>}</FONT></DIV>
<DIV> </DIV>
<DIV>in handleHttpPostRequest in coreplugins/query/client/ClientQuery.php
file (is the right file?)</DIV>
<DIV> </DIV>
<DIV>How can I call coordinates string from tables.tpl file if I want to
display them with other query results?</DIV>
<DIV> </DIV>
<DIV>Thank you</DIV>
<DIV> </DIV>
<DIV>Valerio</DIV>
<DIV> </DIV></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>/*<BR>Valerio Noti<BR><A
href="mailto:valerionoti@yahoo.it">valerionoti@yahoo.it</A><BR>*/</DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=oliver.christen@camptocamp.com
href="mailto:oliver.christen@camptocamp.com">Oliver Christen</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=valerionoti@yahoo.it
href="mailto:valerionoti@yahoo.it">Valerio Noti</A> ; <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, February 08, 2007 7:42
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Cartoweb-users] retrieve
map coordinates with query tool</DIV>
<DIV><BR></DIV>
<DIV><FONT size=2>Hi Valerio,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>yes, each query return the coordinate of the point or
selection on the map.</FONT></DIV>
<DIV><FONT size=2>you can retrieve the data from the
handleHttpPostRequest ( or filterPostRequest, depending what you want to do
with the values)</FONT></DIV>
<DIV><FONT size=2>the variable name is "selection_coords"</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>for exemple, in handleHttpPostRequest :</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>if (isset($request['selection_coords']) {</FONT></DIV>
<DIV><FONT size=2> $this->coordinates =
$request['selection_coords'];</FONT></DIV>
<DIV><FONT size=2>}</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>or in filterPostRequest :</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>if ($request->getValue('selection_coords') &&
!empty($request->getValue('selection_coords'))) {</FONT></DIV>
<DIV><FONT size=2> this->coordinates =
$request->getValue('selection_coords');</FONT></DIV>
<DIV><FONT size=2>}</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>the coordinates are a string like this 'x,y' for point or
'xmin,ymin;xmax,ymax;...' for box</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=valerionoti@yahoo.it href="mailto:valerionoti@yahoo.it">Valerio
Noti</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, February 07, 2007 3:23
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] retrieve map
coordinates with query tool</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>hello,</FONT></DIV>
<DIV><FONT face=Arial size=2>is it possible to retrieve map coordinates
where user clicked with query tool?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Valerio</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>/*<BR>Valerio Noti<BR><A
href="mailto:valerionoti@yahoo.it">valerionoti@yahoo.it</A><BR>*/</DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing list<BR><A
href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</A><BR><A
href="http://lists.maptools.org/mailman/listinfo/cartoweb-users">http://lists.maptools.org/mailman/listinfo/cartoweb-users</A><BR></BLOCKQUOTE>
<P>
<HR>
<P></P>No virus found in this incoming message.<BR>Checked by AVG Free
Edition.<BR>Version: 7.5.432 / Virus Database: 268.17.29/673 - Release Date:
06/02/07 17.52<BR></BLOCKQUOTE></BODY></HTML>