Charta is a CLI tool to add geolocations to address.
Install the dependencies:
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar install
$ bin/carta convert <input file> <output file>
Currently only a CSV as <input file>
is supported, and a JSON file as <output file>
.
<Name>;<Street>;<Postal code>;<City>
{
"Name": "<Name>",
"Address": {
"Street": "<Street>",
"PostalCode": "<Postal code>",
"City": "<City>",
"Geo": {
"Lat": 123,
"Lng": 456
}
}
}
Charta is released under the MIT License.