Find Jobs
Hire Freelancers

MySQL geo-lookup query needed

£250-750 GBP

Cancelled
Posted over 7 years ago

£250-750 GBP

Paid on delivery
This is all simplified, but should be enough to complete the task :- I have a primary table; `providers` id (bigint) name location (point) radiusKm (int) I use a stored procedure to retrieve any providers within catchment (simplified); SELECT id, name, location, degToMeter(st_distance(@checkPoint, location)) AS distance FROM providers WHERE degToMeter(st_distance(@checkPoint, location)) < radiusKm However, I have now needed to add an additional table to account for additional depots; `depots` id (bigInt) providerId (bigint) location (point) radiusKm (smallint) The procedure must now return all providers that have a depot within the vicinity of a given point. The resulting fields I will need are :- id - The provider ID name - The provider name depotId - ID of the provider's closest depot location - location of the provider's closest depot distance - The distance of the checkPoint to the selected depot So we need a grouping of the depots for each provider, ordered by distance, with only the closest one being returned. i.e. If two depots of a single provider are within catchment, the returned provider would only show the closest one, and not return the same provider twice. I'm looking for something efficient and elegant. Many thanks.
Project ID: 11354412

About the project

19 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
19 freelancers are bidding on average £436 GBP for this job
User Avatar
A proposal has not yet been provided
£322 GBP in 1 day
5.0 (49 reviews)
5.7
5.7
User Avatar
Hello, I understood the initial scope of this project. Although i want to discuss further this job in order to prepare the final concept for this project. After Complete discussion over the call or in chat, i will prepare following things for you - Technical Project Proposal - Flow chart for this Project - Execution plan (Step by step procedure with explanation how and at what that we are going to execute a particular task)
£773 GBP in 20 days
4.9 (12 reviews)
6.1
6.1
User Avatar
Highly skilled backend web developer with GEO experience, i have not taken time to estimate the right fee, so just reply if you're interested ######################################################
£555 GBP in 10 days
5.0 (10 reviews)
4.0
4.0
User Avatar
Hello, I am interested in your project. I am a software engineer with experience with MySQL. I can make it for 150 GBP if you provide a data sample. Thank you, Best regards, David
£250 GBP in 1 day
5.0 (18 reviews)
3.5
3.5
User Avatar
Hello Sir, Thank you for this wonderful opportunity. I'm a Web Developer, and I'm very interested in your job post “MySQL geo-lookup query needed” you recently posted. I have been a working as WordPress PHP Developer for 2 years, and I am very familiar with WordPress and Codeigniter. I believe my abilities would be perfect for your venture. I can finish this job within the necessary time frame. I have 2+ years of experience in this field. I am expert in the following website designing languages. HTML PHP Codeigniter CSS Joomla WordPress Java Script/JQuery/AJAX Responsive Web Designing Iam waiting for your response Thanks Arindam
£444 GBP in 10 days
0.0 (0 reviews)
0.0
0.0
User Avatar
hi ! I have read your requirements and i can help you with it. As a software engineering student i have a good experience and knowledge of database development using mysql, so you need not to worry. Your satisfaction would be my top priority and i hope you will admire my work. Although i am a new but give me a shot and i will not let you disappoint you. Thanks
£250 GBP in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello! I'll charge you for one hour, but you have chosen the wrong budget category. Please use the "Hire me" button on my profile https://www.freelancer.com/u/marinescuradu.html I have written queries more complex than this. PS You will need a JOIN, a GROUP BY and a HAVING
£250 GBP in 0 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello! System didn't allow to make price lower than 225£, can you correct a budget, please? (Please enter a value greater than or equal to £225 GBP.) To be clear, you just need a new stored procedure (or query) to select proper providers, not all backend work around it?
£250 GBP in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
London, United Kingdom
5.0
2
Payment method verified
Member since Aug 10, 2016

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.