PHP: calculate data from a GPX file and remove unnecessary content

Completed Posted 3 years ago Paid on delivery
Completed Paid on delivery

I have a webpage where I can upload a GPX file.

I need a PHP script that:

1) calculates the positive/upwards difference in elevation between all points - summarizing each elevation gain between two trackpoimts.

2) calculates the negative/downwards difference in elevation between all points - summarizing each elevation drop between two trackpoimts.

3) removes anything from the GPX file which is not a trackpoint (header, footer)

4) saves it with a name I can choose to my server as txt

5) saves a second version of the txt file with all trackpoints in reverse order

I have the page with the upload form and a webserver to save the txt to - the php inbetween is needed.

See two examples attached. The data inside which should be retrieved is:

a) elevation up: 1045

b) elevation down: 393

PHP

Project ID: #25796671

About the project

3 proposals Remote project Active 3 years ago

Awarded to:

psharma3368

Hello sir, i can make php script to calculate elevation up and elevation down and also create text file without header and footer. please text me so we can discuss more about task. thanks

€30 EUR in 1 day
(22 Reviews)
4.5

3 freelancers are bidding on average €73 for this job

webdesignexpert1

Hi,I seen your attached file and understand very well to inform you that I have extensive experience in Web Designing,Graphics ,PHP, codeigniter, WordPress,Magento, Open Cart,prestashop,shoping Carts,shopify,(Laravel,j More

€90 EUR in 2 days
(26 Reviews)
5.7
lxitservices1

“I CAN DO” Hi there, Greetings!! We have read your project requirements and we have understood that you want to 1) calculates the positive/upwards difference in elevation between all points - summarizing each elevatio More

€100 EUR in 2 days
(30 Reviews)
5.5