boosboos / charta
A CLI tool to add geolocations to addresses
v0.1.0
2015-04-24 08:49 UTC
Requires
- php: >=5.4.0
- ext-curl: *
- symfony/console: ~2.6
Requires (Dev)
This package is not auto-updated.
Last update: 2026-04-26 02:00:03 UTC
README
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.