boosboos/charta

A CLI tool to add geolocations to addresses

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/boosboos/charta

v0.1.0 2015-04-24 08:49 UTC

This package is not auto-updated.

Last update: 2026-01-18 00:35:37 UTC


README

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.