Hello,<br><br>I'm trying to connect mapserver's map with a mysql datatable like this:<br><br>id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int<br>name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; varchar(20)<br>description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; varchar(100)<br>location&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; point
<br><br>I'd like to create a shape with the points and the labels of the name. Is it possible? I've tried many ways but I have errors.<br>I'd like to do something like this example:<pre><br>LAYER<br></pre>CONNECTIONTYPE mygis
<br>NAME &quot;City&quot;<br>CONNECTION &quot;host:user:passwd:database:bin&quot;<br>DATA &quot;location from city&quot;<br>TYPE POINT<br>STATUS ON<br>.<br>.<br>.<br>END<br><br>It fails. I've tried with some mysql functions like AsBinary(point), but it doesn't work.
<br>I must use sh2mysql structure to store data in my database? Is not possible make my simply case?<br><br>Thanks and sorry for my english :p<br>