Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distance Extension for SQLite

Dave Addey's SQLite extension for calculating distance using two pairs of latitude/longitude coordinates for use with the sqlite cli.

Building

Linux

$ make

Usage

$ sqlite3 -cmd '.load ./distance' example.sqlite
sqlite> SELECT name FROM location ORDER BY DISTANCE(latitude, longitude, 33.8120742,-117.9188774) LIMIT 10;

Credits

Dave Addey wrote the SQLite extension. I just wrapped it up for use on the command line.

About

Dave Addey's SQLite extension for calculating distance using two pairs of latitude/longitude coordinates for use with the sqlite cli.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages