Hello everyone,
I'm a newbie with mysql gis functionary.
Now i using MySQL Server: MySQL 5.1.37-1ubuntu5.1
MySQL Client MySQL Client Version 5.0.83
OS: Ubuntu 9.10
I have a database with tow table, one point an one pollygon. I try to find what polygon which the point inside by query:
"Select ID from jos_mapdistrict WHERE ((within(GeometryFromText('POINT(X Y)'), ogc_geom)=1)"
AND(within(GeometryFromText('POINT (X Y)'), Envelope(ogc_geom))=1))"
but the result always is 2 polygon. It's should be 1 polygon.
I found result on internet and knew that may be i should install mysql-5.1.35-gis
http://forge.mysql.com/wiki/GIS_Functions
i have just download it.
My question is how to install it in ubuntu?
Or is there any tutorial about install it in ubuntu?
Please help me. It very importance with me.
Thanks for your attention and sorry about my poor skill in englist