<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-9" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>

<font size="2"><b>Dear Greg and friends;
<br />
<br />Finally I have solved to read data form mysql database than draw map by using
<br />those data.
<br />I have created Peag Ground Acceleration map for the earthquake which data are
<br />stored in MySql. But I would like to display map for all earthquake which are
<br />described in the Mysql table as eq-id column.
<br />I have querid mysql database by using ovf file as following 
<br />
<br />&lt;OGRVRTDataSource&gt;
<br />    &lt;OGRVRTLayer name=&quot;acceleration&quot;&gt;
<br />       
<br />&lt;SrcDataSource&gt;MYSQL:database,user=user,password=pass_wd,host=100.00.00.21,port=3306,tables=d_pgadata1&lt;/SrcDataSource&gt;
<br />        &lt;SrcSQL&gt;SELECT eq_id,latitude,longitude,acceleration from d_pgadata1
<br />where eq_id like '%200006060242%' &lt;/SrcSQL&gt;
<br />        &lt;GeometryType&gt;wkbPoint&lt;/GeometryType&gt;
<br />        &lt;GeometryField encoding=&quot;PointFromColumns&quot; x=&quot;longitude&quot; y=&quot;latitude&quot;/&gt;
<br />    &lt;/OGRVRTLayer&gt;
<br />&lt;/OGRVRTDataSource&gt;
<br />
<br />As you see when I create map by layer OGR this will just the eq_id like
<br />'%200006060242%'.
<br />But I would like to change this eq_id by interactively for example who will
<br />like to see 200609151300 earthquake PGA map he/she can change sql statement in
<br />ovf file by using php or html commands fromweb...
<br />
<br />Do you have any idea is it possible or not.
<br />
<br />Please I wellcome any kind of information about it..
<br />Thank you 
<br />Murat
<br />But I would like to make php file for displaying other 
<br />
<br />
<br />
<br />On Fri, 15 Sep 2006 08:21:43 +1000, Greg Luker wrote
<br />&gt; Hi Murat,
<br />&gt; 
<br />&gt; Have you found a solution to your problem yet? I'm a beginner 
<br />&gt; mapserver user and I'm using mapserver with MySQL. I am reading 
<br />&gt; point locations from a MySQL database using OGRVRT  and drawing 
<br />&gt; those points on a map. Is this what you want to do. I could send my 
<br />&gt; mapfile to you if that would help.
<br />&gt; 
<br />&gt; Thanks,
<br />&gt; Greg.
<br />&gt; 
<br />&gt; Greg Luker
<br />&gt; GIS Lab Manager, Southern Cross University
<br />&gt; Lismore, AUSTRALIA.
<br />&gt; gluker@scu.edu.au
<br />&gt; phone 61 2 66203026
<br />&gt; 
<br />&gt; -- 
<br />&gt; This message has been scanned for viruses and
<br />&gt; dangerous content by MailScanner, and is
<br />&gt; believed to be clean.
<br />
<br />
<br />--
<br />Open WebMail Project (http://openwebmail.org)
<br /></b>
<br />
</font>
</BODY>
<br />-- 
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.
</HTML>