PHP Algorithm for Smooth and interpolate GPS coordinates

I'm using a function in php where i send 3 (x,y) points and i get and array with interpolated middle points smoothed

The functions it's this: [url removed, login to view]

The code works pretty fine with pixels (x,y), but with GPS coordinates i get slightly different path and not as smooth at all (red line in the image), also the coordinates generated are not equidistant ( black dots) that is essential

You can improve the current function or made one from scratch, in both cases i want $tension (smooth tension) and $steps (numbers of interpolations per section) features available and the interpolations MUST BE equidistant

The reference points to test are:


11.04 , 6.39

8.40 , 8.54

8.75 , 11.96


37.893754,[url removed, login to view]

37.893701, [url removed, login to view]

37.893608,[url removed, login to view]

Compétences : Algorithme, GPS, Mathématiques, PHP, Architecture Logicielle

en voir plus : test algorithm, red black algorithm, path algorithm, line algorithm, get gps coordinates, different algorithm, black and red.com, algorithm test, algorithm's, algorithm functions, algorithm function, algorithm com, smooth, smooth and, image algorithm, coordinates , gps algorithm, algorithm array, smooth algorithm, smooth gps coordinates

Concernant l'employeur :
( 14 commentaires ) Alicante, Spain

Nº du projet : #7469388

Décerné à:


Dear sir, I've check the script and the attached image carefully. Will expertise in PHP and deep knowledge about GD/Geometry, I could be a good fit. I'll figure it out and complete work within 30 hours from now (bef Plus

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 2 jours
(12 Commentaires)

2 freelance font une offre moyenne de $125 pour ce travail


I implemented the curve smoothing on several platforms before. Let me help you with this. Best regards.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 10 jours
(7 Commentaires)

hello. I saw your description and attached files. I understand it and can do it . I have done several project like this. I'm an expert in Math, Data Structures and Algorithms. And I know PHP, Java ,C/C++ and Pytho Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(22 Commentaires)