Giter Site home page Giter Site logo

Comments (4)

eda-abec avatar eda-abec commented on August 28, 2024

Hello,
it looks like you are using old Python - like 2.7 or so. You need Python 3, I'll mention it in readme 😁 . Revert to original version (without removed comma etc.) and try running it as
python3 os_gps_merge.py stored.csv Wigle.csv stored_gps.csv

or just
./os_gps_merge.py stored.csv Wigle.csv stored_gps.csv
after giving it execution right (chmod +x os_gps_merge.py)

Let me know if it fixed that πŸ˜ƒ

from oneshot-gps-merge.

jevgenyonegin avatar jevgenyonegin commented on August 28, 2024

I know about v3

"/data/data/com.termux/files/usr/lib/python3.9/csv.py", line 97, in fieldnames

it is used by default in my termux. About syntax error correct, got it when was tryed everything. Anyway, the same result. And the same result on PC.
P.S. omg, I didn't extracted wigle *.csv.gz but simply renamed itπŸ˜… Now look's like script working fine, thanks a lot!
P.S.S. Have a nice Christmas and Happy NY🌲
P.P.S. Google mymaps doesn't like output! It want's to be:

Name,CurrentLatitude,CurrentLongitude

and same format data:

Data,Latitude,Longitude

So I simply changed symbols ";" to "," :

sed -i 's/;/,/g' stored_gps.csv

and now I can choose every column I want to see, search working fine as well

from oneshot-gps-merge.

eda-abec avatar eda-abec commented on August 28, 2024

Glad to hear you fixed it!

Maybe I could add an option to choose delimiter
I am already thinking of making use of WiGLE Companion, which would add the model name and so on. I'm not yet sure how to organize it, whether one script collecting everything and then outputting only required columns, or few small scripts...

Anyway, Merry Christmas and a happy New Year to you and everybody! β˜ƒοΈ

from oneshot-gps-merge.

eda-abec avatar eda-abec commented on August 28, 2024

Delimiter option implemented, closing now.

from oneshot-gps-merge.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.