Skip to content

Transforms a OpenCellID CSV to a new CSV with only towers from selected countries

Notifications You must be signed in to change notification settings

jwkoelewijn/go_opencellid_importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

go OpenCellID importer

Transforms a OpenCellID CSV to a new CSV with only towers from selected countries

Usage

  1. Download CSV file from opencellid.org
  2. go run importer.go (or importer when downloaded as a binary)

This will filter the input CSV (cell_towers.csv) file to only accept cell towers with the Mobile Country Codes 204, 206 and 262 (the Netherlands, Belgium and Germany) and will output them to the file 'selected_cell_towers.csv'

Advanced Usage

--help Display usage information

--inputFile Specify the file to use as input

--outputFile Specify to which file the output should be written

--countryCodes Comma separated list of MCC's (Mobile Country Code's) to filter from the input file. For a list of MCC's used, see Wikipedia

About

This little program was written in Go to easily select all mobile tower information from certain countries to avoid importing all towers from all countries.

About

Transforms a OpenCellID CSV to a new CSV with only towers from selected countries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages