TransparencyToolkit / JSONToMap

Converts a JSON with locations into a map with points.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This converts a JSON with location data into a GeoJSON and a map with points. To use, install 'jsontomap' then-

To get GeoJSON:
g = JSONToMap(input JSON, "field to geocode", "image field (or nil)", "name/title field")
g.genmap

To geocode starting point:
g.geocodestart("location")

About

Converts a JSON with locations into a map with points.

License:GNU General Public License v3.0


Languages

Language:Ruby 82.3%Language:JavaScript 17.7%