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

Imekamilika Ilichapishwa Miaka 3 iliyopita Kulipwa wakati wa kujifungua
Imekamilika Kulipwa wakati wa kujifungua

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

Kitambulisho cha Mradi: #25796671

Kuhusu mradi

3 mapendekezo Mradi wa mbali Ipo mtandaoni %project.latestActivity_relativeTime|badilisha%

Imetuzwa kwa:

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 kwa siku 1
(Maoni 22)
4.5

3 wafanyakazi huru wanazabuni wastani wa €73 kwa kazi hii

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 Zaidi

€90 EUR kwa siku 2
(Maoni 26)
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 Zaidi

€100 EUR kwa siku 2
(Maoni 30)
5.5