Jalcock501 has asked for the wisdom of the Perl Monks concerning the following question:
I need a little nudge in the right direction, I have two different .csv files one contains GPS co-ordinates and a matching address, whilst the other contains various other bits on information as well as the GPS co-ordinates.
What I need is to take the address from the first .csv and match it to the GPS co-ordinates in the second .csv file.Here is some example info
This block contains the .csv with various info, but the last 2 columns contain the latitude and longitude.And this is the cross reference file for the addressesSeq#,TransType,LocnNum,TankNum,Date,TimeStart,TimeEnd,TktVol,AltVol,To +talSrt,TotalEnd,Driver,Trip,Route,MeanDegC,MaxDegC,ColCd,Ccode,TestTy +pe,TrpSdate,GPSlat,GPSlon 174,0,291061000,59,141130,104945,105755,3355,0,255094551,255094551,500 +5,2,505,3.0,3.5,00,00,00,141130,5140596,645572 175,0,250401500,133,141130,110343,110858,760,0,255102140,255102140,500 +5,2,505,3.0,3.2,00,00,00,141130,5141449,647452 176,0,250400800,29,141130,115529,120130,1695,0,255119079,255119079,500 +5,2,505,3.7,4.2,00,00,00,141130,5147668,656139
Being GPS co-ordinates there is some margin of difference -/+10LocnID,Lat,Lon,TestCo#,LastVol,LocnName,LocnAdr 291061000,5140598,645573,205,3568,Evans Marcross, 250401500,5141451,647444,205,857,Thomas And Ptns Somerset, 250400800,5147664,656137,205,1727,Thomas J Newton House,
Any help would be greatly appreciated
ThanksJim
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CSV Cross Referencing
by Tux (Canon) on Dec 03, 2014 at 12:42 UTC | |
|
Re: CSV Cross Referencing
by hippo (Archbishop) on Dec 03, 2014 at 11:53 UTC | |
|
Re: CSV Cross Referencing
by gerangelov (Sexton) on Dec 03, 2014 at 13:00 UTC | |
|
Re: CSV Cross Referencing
by ww (Archbishop) on Dec 03, 2014 at 12:19 UTC | |
by hippo (Archbishop) on Dec 03, 2014 at 12:34 UTC | |
by ww (Archbishop) on Dec 03, 2014 at 13:00 UTC | |
|
Re: CSV Cross Referencing
by james28909 (Deacon) on Dec 03, 2014 at 10:47 UTC | |
|
Re: CSV Cross Referencing
by KurtSchwind (Chaplain) on Dec 03, 2014 at 14:55 UTC | |
by SuicideJunkie (Vicar) on Dec 03, 2014 at 15:33 UTC | |
by RonW (Parson) on Dec 03, 2014 at 18:22 UTC | |
by SuicideJunkie (Vicar) on Dec 03, 2014 at 18:43 UTC | |
|
Re: CSV Cross Referencing
by kevbot (Vicar) on Dec 04, 2014 at 06:29 UTC | |
|
Re: CSV Cross Referencing
by i5513 (Pilgrim) on Dec 07, 2014 at 20:56 UTC | |
by choroba (Cardinal) on Dec 07, 2014 at 21:46 UTC | |
by i5513 (Pilgrim) on Dec 07, 2014 at 23:31 UTC |