How to get accurate latitude and longitude in Android?

From where I can get latitude and longitude datasets?

  • Let's say I need the latitude and longitude of all the streets in the US, along with distances between nodes and other information that I can get of (I would need all the intersections as nodes of all the streets in the city. I just want latitude, longitude for each intersection, even the smallest intersection possible). From where I can get all these, preferably free or with low money? Maybe Navteq has something like this but I bet it's not cheap...

  • Answer:

    The definitive source for US data is the Tiger line database from the US census bureau. It's free at: http://www.census.gov/geo/www/tiger/ You'll also find products on http://census.gov that are derived from Tiger, for example the ZCTA boundary data (zip code boundaries): http://www.census.gov/geo/ZCTA/zcta.html And cartographic boundary files: http://www.census.gov/geo/www/cob/bdy_files.html Another great source is the National Geospatial Intelligence Agency or NGIA. They provide a massive database of named and classified features world-wide: http://earth-info.nga.mil/gns/html/cntry_files.html

Mark Maunder at Quora Visit the source

Was this solution helpful to you?

Other answers

How many queries do you think you'll need?  I use Google's Geocoding API: http://code.google.com/apis/maps/documentation/geocoding/ You get up to 2,500 daily requests for free.  A Google Maps Premier API account gives you 100k daily requests. Starts at $10k a year for that level of access.  But I guess this price goes up depending on how many map page views you display.

Ralph Barbagallo

Since we're talking about "all of the street in the US", this be a huge number of requests.  There is no free (or even cheap) data source for this.  Question -- what specifically are you looking for? "All of the streets" is a bit vague since a lat+long pair is a single point. For Chewsy (http://www.chewsy.com) we have several scenarios for Geocoding and integrate with Yahoo Placefinder (http://developer.yahoo.com/geo/placefinder/) to do geocoding on demand. Yahoo PlaceFinder's daily limit is 50,000 requests per day which absolutely dwarf's Google's 2500 limit.  So you could write an app that just calls into Yahoo PlaceFinder and spread it over multiple days.

Trevin Chow

You can try cloudmade data export for open street map project http://downloads.cloudmade.com/, it might not be complete or of high quality as it was crowd-sourced but remember it is free.

Walied Albasheer

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.