[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-users] location lookup
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-users] location lookup |
Date: |
Tue, 20 Mar 2012 12:46:15 -0700 |
Yo Yan!
On Tue, 20 Mar 2012 12:37:03 -0700 (PDT)
"Yan Seiner" <address@hidden> wrote:
> > And how are you gonna ask google when in a car near Silver Lake, OR?
> > No cell, no internet, hardly any POTS in that area.
>
> Exactly. There's a reason it's called the Oregon Outback. :-)
City folk just have no idea...
> > The reinvention is trivial with the USGS place names DB, and it will
> > actually work when/where you need it.
>
> Can you provide more info on this?
Just download the flat file from the link I gave you.
http://geonames.usgs.gov/domestic/download_data.htm
It has lat/lons and place names. Just search the file for the nearest
lat/lon and take the associated place name. Place names are tagged by
type (city, mountain, etc.) so you can limit your search to just cities.
I would be tempted to blow the flat file into an sqlite DB for fast
searches.
The flat file is 80MB for the whole US, but it has silly duplications
like all lat/lon is both DMS and decimal formats.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
address@hidden Tel:+1(541)382-8588
signature.asc
Description: PGP signature
- [gpsd-users] location lookup, Yan Seiner, 2012/03/20
- Re: [gpsd-users] location lookup, Tomalak Geret'kal, 2012/03/20
- Re: [gpsd-users] location lookup, Yan Seiner, 2012/03/20
- Re: [gpsd-users] location lookup, Tomalak Geret'kal, 2012/03/20
- Re: [gpsd-users] location lookup, Tomalak Geret'kal, 2012/03/20