use a geonames extract to generate testing geocodes, tiles, and bounding boxes

npm install generate-geo-testing-data
12 downloads in the last day
18 downloads in the last week
32 downloads in the last month

Build Status



var generator = require('generate-geo-testing-data')({
    mode: 'tiles'

function request() {
    generator(function(uri) {
        // do request


generator(options, formatter)

valid options:

  • mode can be tiles, batch, latlon, place, jsonp, or replay
  • minzoom
  • maxzoom

formatter takes a function that takes the data, like xyz coordinates or placenames, and turns them into output

npm loves you