Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.17 KB

README.md

File metadata and controls

61 lines (43 loc) · 1.17 KB

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.