Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hiddentao/us_latlng_json

JSON dataset of latitude and longitude co-ordinates for USA state counties and cities
https://github.com/hiddentao/us_latlng_json

Last synced: 8 days ago
JSON representation

JSON dataset of latitude and longitude co-ordinates for USA state counties and cities

Awesome Lists containing this project

README

        

A JSON dataset of latitude and longitude co-ordinates for USA state counties and cities.

Original sources:

* http://en.wikipedia.org/wiki/User:Michael_J/County_table
* https://github.com/deremer/Cities/blob/master/countries/unitedstates.js
* http://dev.maxmind.com/geoip/legacy/codes/state_latlon/

## Usage

**Node.js**

Install:

```bash
$ npm install us_latlng_json
```

Code:

```js
var usaStates = require('us_latlng_json');
```

**Bower**

Install:

```bash
$ bower install us_latlng_json
```

Then load the `us_state_cities.json` from within your code.

## License

Public domain