Skip to content

hugoboos/charta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Charta

Software License Quality Score SensioLabsInsight

Charta is a CLI tool to add geolocations to address.

Installation

Install the dependencies:

$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar install

Usage

$ bin/carta convert <input file> <output file>

Currently only a CSV as <input file> is supported, and a JSON file as <output file>.

CSV file format

<Name>;<Street>;<Postal code>;<City>

JSON file format

{
  "Name": "<Name>",
  "Address": {
    "Street": "<Street>",
    "PostalCode": "<Postal code>",
    "City": "<City>",
    "Geo": {
      "Lat": 123,
      "Lng": 456
    }
  }
}

License

Charta is released under the MIT License.

About

Utility to add geolocations to addresses.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages