MySQL Forums
Forum List  »  GIS

How to install mysql-5.1.35-gis
Posted by: Truong Pham
Date: March 02, 2010 08:43AM

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

Options: ReplyQuote


Subject
Views
Written By
Posted
How to install mysql-5.1.35-gis
6874
March 02, 2010 08:43AM
2604
March 03, 2010 07:52PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.