geocoding

Finding City and Zip Code for a Location

Given a latitude and longitude, what is the easiest way to find the name of the city and the US zip code of that location. (This is similar to http://stackoverflow.com/questions/23572/latitude-longitude-database, except I want to convert in the opposite direction.) Related question: http://stackoverflow.com/questions/158557/get-stree...

Timezone lookup from latitude longitude

Is there any library (or even better, web service) available which can convert from a latitude/longitude into a time zone? ...

SQL query to calculate coordinate proximity

I'm using this formula to calculate the distance between entries in my (My)SQL database which have latitude and longitude fields in decimal format: 6371 * ACOS(SIN(RADIANS( %lat1% )) * SIN(RADIANS( %lat2% )) + COS(RADIANS( %lat1% )) * COS(RADIANS( %lat2% )) * COS(RADIANS( %lon2% ) - RADIANS( %lon1% ))) Substituting %lat1% and %lat2% a...

How to convert an address to a latitude/longitude?

How would I go about converting an address or city to a latitude/longitude? Are there commercial outfits I can "rent" this service from? This would be used in a commercial desktop application on a Windows PC with fulltime internet access. ...

TIGER shapefiles - using and interpreting

I know of the US GIS TIGER file format from years ago, but have never used it. I'm very shortly going to need to very quickly implement simple geocoding and vector graphics of roads and other features. Where do I go for information - are there tutorials, example queries, etc? Are there other ways to include geocoding and basic mappi...

Working with latitude/longitude values in Java

Does anyone know of any free utility jars for java that assist with longitude/latitude manipulation in Java? I am wanting to find the distance between two different points. This I know can be accomplished with the great circle distance. http://www.meridianworlddata.com/Distance-calculation.asp Also, given a point and a distance I would...

How to obtain longitude and latitude for a street address programmatically (and legally)

Supposedly, it is possible to get this from Google Maps or some such service. (US addresses only is not good enough.) ...

Get street address at lat/long pair

I've seen that it's possible to get the latitude and longitude (geocoding, like in Google Maps API) from a street address, but is it possible to do the reverse and get the street address when you know what the lat/long already is? The application would be an iPhone app (and why the app already knows lat/long), so anything from a web ser...

Address Standardization/Correction/Geocoding

My place of employment is looking into buying a third party tool, for batch based US and Canadian Address correction, with Geocoding. What Products have you used? What do you Like about them? What do you not like about them? We are a C/C++ Unix Shop. Thanks in advance. ...

How to calculate the bounding box for a given lat/lng location?

I have given a location defined by latitude and longitude. Now i want to calculate a bounding box within e.g. 10 kilometers of that point. The bounding box should be defined as latmin, lngmin and latmax, lngmax. I need this stuff in order to use the panoramio API: http://www.panoramio.com/api/ Does someone know the formula of how to g...

Is there a formula to convert from Thomas Bros Map page & grid to a latitude/longitude?

I'm working on a project that contains Thomas Brothers Map page and grid numbers. Is there a way to programatically convert from this map page to a latitude & longitude? An Example would be for the intersection of the US101 & I405 freeways. ThomasBrothers: 561-3G (page-grid) ...

Most efficient way for storing geolocations in a database.

I know postgres has a datatype for storing geographical coordinates. But I'm looking for a RDBMS agnostic solution. Currently I'm using Decimal(25,20) in MySQL. I may be using this data to lookup these locations based on a given distance from a given location later. Which would be the best approach to store this kind of data? ...

How to determine a zip code and city from an IP address?

I am looking for advice for open API or 3d party products which will help to convert an IP address to a zip code and city, to make geo-specific web site content. ...

Geocoding libraries

Hi, I'm using python and I need to map locations like "Bloomington, IN" to GPS coordinates so I can measure distances between them. What Geocoding libraries/APIs do you recommend? Solutions in other languages are also welcome. Best, Bruno ...

Calculate longitude/latitude

Given the following input: known longitudes/latitudes of 1..n locations known distance between locations 1..n and another location "m" How can I calculate the longitude/latitude of the location "m"? ...

Geocode multiple addresses

I need to geocode around 200 addresses per request and do around 3,000 request per day. I will be doing this server side using PHP. I have looked at http://stackoverflow.com/questions/98449/how-to-convert-an-address-to-a-latlon, but could not find a way for either Google Maps HTTP Request API or the Yahoo Geocoding REST API (cannot use J...

Finding a dealer area via google maps API

I have a national customer who are currently recruiting dealers by selling each dealer an area for a set fee. They want a 'find a dealer' feature on their website which should point customers to the dealer who has purchased the area the visitor enters. At first we were going to list major cities with the hope that the visitor would cli...

The Google Maps Wikipedia Layer

Is there a way to programmatically list all geo-tagged Wikipedia entries within a radius of a long/lat point? I'm thinking this is possible with the google maps API but I am interested in any method. NOTE: I do not want to display a googlemap. ...

Is there an API that I can use to duplicate the "Places" functionality of iPhoto '09?

I saw the Apple keynote address and was very impressed by the new Places functionality that's been added to iPhoto '09. In short, it takes the geocode information from a photo and translates it into a real place. So instead of -41.51.2 or whatever, it says "Empire State Building." It looks fun to use but it also is similar to a feature ...

Android: Reverse geocoding - getFromLocation

I am trying to get an address based on the long/lat. it appears that something like this should work? Geocoder myLocation = Geocoder(Locale.getDefault()); List myList = myLocation.getFromLocation(latPoint,lngPoint,1); The issue is that I keep getting : The method Geocoder(Locale) is undefined for the type savemaplocation Any ass...