Code a Perl algorithm that verifies if a coordinate is within a polygon
$30-250 USD
Selesai
Dibuat hampir 8 tahun yang lalu
$30-250 USD
Dibayar ketika dikirim
I need a small Perl function that will return either true or false upon verifying if a given parameter expressed as a lat and long coordinate, is inside or outside a given polygon.
For instance, if the following defines the area of a polygon:
Array ( [0] => Array ( [lat] => -32.805744732906874 [lng] => 146.07421875 ) [1] => Array ( [lat] => -34.361576287484176 [lng] => 148.07373046875 ) [2] => Array ( [lat] => -32.08257455954592 [lng] => 146.27197265625 ) )
...then the Perl function must then return true or false upon verifying if a coordinate such as:
Array ( [lat] => -23.508589226762282 [lng] => 142.75634765625 )
....is inside or not the polygon.
Details:
- The algorithm must be very precise, this is very important
- The polygon array can be hardcoded at the beginning of the script
- The coordinate to verify must be passed as a parameter to the function
- Source code shall contain comments
- There are plenty of examples on the web
Thank you
Hi, I can help you, I have experience with this kind of problems ( computational geometry ). please let me know if you are interested in my proposal. Cheers, F.
$55 USD dalam 2 hari
5,0 (4 ulasan)
5,1
5,1
5 freelancer menawar dengan rata-rata $141 USD untuk pekerjaan ini
Hello
I am Algorithm expert and interested in this project. I have reviewed your requirements and confident to handle this project perfectly.
Please communicate to discuss further.
Regards
Anshu
I did this type of task , while making expert system for Indain Army in C++
this system predict longitude latitude on map co-ordinate best fit for communication..
i deal with polygon with related to water body and high tension in map...
I made different security software and parsing software in perl ...
So I think , I can gave you this task 100% done with optimized algorithm and 100% bug free
in given span of time ...
Nice to see .. some one else is also working on lat long