Extract data from csv and export to json

Befejezett Kiadva: 7 évvel ezelőtt Kiszállításkor fizetve
Befejezett Kiszállításkor fizetve

Need small code in php to extract follow from the file attached

name|state|from_dt|to_dt|Points|from_point|to_point|total_time|total_distance|Avg_speed|maximum_speed

here name = vehicle name

state= move/stop

from_dt= start datetime of state

to_dt = end datetime of state

points=inbetween points, separated by ;

from_point=lat,lon of start point

to_point=lat,lon of end point

total_time=to_dt-from_dt

total_distance=inbetween points distance calculated by formula provided below

Avg_speed=sum all speed values and divide by number

maximum_speed= highest speed

Distance formula

JavaScript:

var R = 6371e3; // metres

var φ1 = [login to view URL]();

var φ2 = [login to view URL]();

var Δφ = (lat2-lat1).toRadians();

var Δλ = (lon2-lon1).toRadians();

var a = [login to view URL](Δφ/2) * [login to view URL](Δφ/2) +

[login to view URL](φ1) * [login to view URL](φ2) *

[login to view URL](Δλ/2) * [login to view URL](Δλ/2);

var c = 2 * [login to view URL]([login to view URL](a), [login to view URL](1-a));

var d = R * c;

MySQL PHP

Projektazonosító: #11566204

A projektről

13 ajánlat Távolról teljesíthető projekt Utoljára aktív: 7 évvel ezelőtt

Odaítélve:

ramoncho

Hi , i can help you with this small script . Thanks! ------------------------------------------------------------ More than 10 years as FullStack WebDeveloper (Back/Frontend) Grade in computer engineering My Továbbiak

$20 USD 1 napon belül
(42 értékelés)
4.8

13 szabadúszó tett átlagosan 22$ összegű árajánlatot erre a munkára

mahamadali

Hello sir , Waiting for your positive response , so we can start the work soon. Thank you.

$30 USD 1 napon belül
(404 vélemény)
7.3
saad2038

Hi, I can help you to extract data from csv and export to json. I can easily make it. Contact me for quality work and quick services. Thanks!

$25 USD 1 napon belül
(47 vélemény)
5.9
LadoraIT

Hello, Hope you are doing well ! I will help you to extract data from a CSV to JSON, I have complete this type of jobs many times. I have over 3 years experience in software development. Have a nice day. R Továbbiak

$35 USD 1 napon belül
(57 vélemény)
5.6
iliyanz

I can develop php script that you need. I will need an hour or so to make it. The script will display just JSON so you can use it on your project.

$20 USD 0 napon belül
(6 vélemény)
3.0
techomsai

Hi, We can create script to extract the data from csv and convert into json format in one day. -Thanks

$15 USD 1 napon belül
(2 vélemény)
1.9
KleinMaximus

Hello. I'll do this simple task in several hours. Are there any additional comments? When I can start? Best Regards, Nikolay Maksimov

$20 USD 1 napon belül
(0 vélemény)
0.0
anson418

My name is Anson, and I'm a Computer Science major from the University of California. I specialize in Python and do web scraping professionally, so I know how to work with csv files. I can deliver this for you with a Továbbiak

$30 USD 1 napon belül
(0 vélemény)
0.0