Hello,<br><br>I'm trying to connect mapserver's map with a mysql datatable like this:<br><br>id int<br>name varchar(20)<br>description varchar(100)<br>location 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 "City"<br>CONNECTION "host:user:passwd:database:bin"<br>DATA "location from city"<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>