Find Jobs
Hire Freelancers

Code a Perl algorithm that verifies if a coordinate is within a polygon

$30-250 USD

Completed
Posted almost 8 years ago

$30-250 USD

Paid on delivery
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
Project ID: 10975755

About the project

5 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
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 in 2 days
5.0 (4 reviews)
5.1
5.1
5 freelancers are bidding on average $141 USD for this job
User Avatar
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
$200 USD in 3 days
4.7 (58 reviews)
5.5
5.5
User Avatar
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
$250 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$100 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CANADA
Lachine, Canada
5.0
41
Payment method verified
Member since Feb 25, 2008

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.