create mysql table with point in polygon lookup

เสร็จสมบูรณ์ โพสต์แล้ว 5 ปีที่ผ่านมา ชำระเงินเมื่อจัดส่ง
เสร็จสมบูรณ์ ชำระเงินเมื่อจัดส่ง

I have MySQL running with MyIsam which supports Spatial indexes. I have a number of areas defined by large polygons with a set of lat, lon points for each polygon. My objective is to save each area with the polygon in a table and subsequently send a query to search which areas have a point (lat, lon) inside the polygon. The query needs to be super fast ( < 0.05 sec), inserting doesn't need to be so fast.

You have the following tasks:

1) Create a query to build the table. The table will have following columns: id, name, polygon (polygon defined by latitude, longitude coordinates like: lat1 lon1, lat2 lon2, ...

2) An example query to insert 3 rows into the table. which also updates the index from 3).

3) Create a spatial index on the table on for fast point in polygon search.

4) Provide two example sql queries: 1 to get rows for 1 point (provided by latitude, longitude) and 2 to get rows for multiple points where each returned row has the original points in it so that we know which point returned wich rows.

Please provide sql statements needed for each task above.

การบริหารฐานข้อมูล MySQL SQL

หมายเลขโปรเจค: #17715924

เกี่ยวกับโปรเจกต์

6 ข้อเสนอ โปรเจกต์ระยะไกล ใช้งาน %project.latestActivity_relativeTime|แทนที่%

มอบให้กับ:

MzHashmi

Assalamo alaikum Sir...I can make these queries in quick manners and update you as soon as possible ..thank's

$52 USD ใน 10 วัน
(2 รีวิว)
2.4

freelancer 6 คน กำลังเสนอราคาในงานนี้ โดยมีราคาเฉลี่ยอยู่ที่ $67

royalwebraisers

HI, I can help you in creating the spatial mysql query to find the point within polygon. Let me know when we can discuss in details. Looking forward for your response. Thanks.

$100 USD ใน 2 วัน
(79 รีวิว)
6.1
gursukh

can I help you.

$72 USD ใน 1 วัน
(36 รีวิว)
5.2
mohamedmssouda

Hello Sir I am professional database administrator with experience more than 5 years in multinational companies and I am ready to start the work now and finish ASAP

$52 USD ใน 10 วัน
(15 รีวิว)
3.6
sudipkhan

Hello, I have designed and developed vehicle tracking system and area calculation system and some other gis application. I can do it.

$50 USD ใน 1 วัน
(0 รีวิว)
0.0