Skip to content

VBaczynski/IP2JSON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

IP2JSON

Generate JSON data file from a list of IPs

  1. Prepare a list of IP addresses in a file, one IP address per line.
  2. Run the following command:
sh IP2JSON.sh IPs.txt > points.json
  1. Check the file character set, for example:
file -bi points.json

If the character set of your file is not us-ascii or utf-8 you can convert it to UTF-8, for example:

iconv -f iso-8859-1 -t utf-8 points.json > utf-points.json
  1. Now you are ready to go. You can upload your map points on http://2geojson.com/ or a similar service.

About

Generate JSON data file from a list of IPs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages