geocoding

Android server load advice

Hi, I'd like a bit of advice on how to retrieve, process and store data. I'm building an app which gets finds the nearest laser tag site to where you are. The adderss data is stored (due to some bad design) in one field in an external database, with it's country coming from another table (told you it was a bad design). I may change whe...

Google/Yahoo alternatives to geocoding?

Does anyone know of a good and accurate alternative web API for geocoding an address that is not Google or Yahoo? I want to input an address/city/state/zip and have it return to me the latitude and longitude. Ideally, I would involve it via a simple HTTP GET, e.g. http://example.com/?location=123 Main St, New York, NY and it would r...

Geocode an IP address?

Does anyone know of any open RESTful API that I can call to geocode a user's IP to the latitude and longitude? Ideally, it would be something like: http://google.com/geocode_api/?IP=1.2.3.4 and it would return the latitude and longtitude. ...

How to load Google ClientLocation API without loading the whole Google Maps API?

All I want to do is find out the person IP address so that I can reverse geocode it to find out their latitude and longitude from which they are viewing my web site from. I can do that using Google ClientLocation API but it's unclear to me if I have to load the huge Google Map framework just to use it. Is it possible to simply use the ...

Converting address from database to lat/lng json

I have a database with addresses in which need to be converted to geocode to work with Google Maps API, i was thinking of bringing in the entries via JSON. Is there an easy way to get the addresses from the database convert them to geocode and create and JSON feed? There are about 4000-5000 entires. I know Google offer the Geocoding AP...

Google's GeoCode Convert City, STATE into Latitude Longitude

The following code works asynchronously. I only have it set up to convert a City, State into latitude and longitude. That value is then alerted. How can I write a function that actually returns these values? var map; var geocoder; function initialize() { geocoder = new GClientGeocoder(); } // addAddressToMap() is called when th...

Use MKReversegeoCoder with native application

Hi, I have used MKReverseGeocoder from iPhone sdk for my application without using mapview of iphone sdk,but my application has map view which i am getting from google api passing Address. But in order to get address i am doing as follows : Current location(Latitude/Longitude) with CLLocation library MKReversegeocoder API of iphone s...

Geocoding in R with Google Maps

I've tried running the code to geocode locations in R via Google Maps and the XML package from this blog post: http://www.r-chart.com/2010/07/maps-geocoding-and-r-user-conference.html Here are his functions: getDocNodeVal=function(doc, path){ sapply(getNodeSet(doc, path), function(el) xmlValue(el)) } gGeoCode=function(str){ librar...

NoMethodError (set_result) in SQLite3 when running Geocommons Geocoder using irb on Mac OS X 10.5.8

Has anyone here ever encountered the following error after installing and attempting to run the Geocommons geocoder on Mac OS X 10.5.8? This is my exact output from the Terminal window from the point at which I started irb: $ irb >> require 'geocoder/us' => true >> db = Geocoder::US::Database.new("/opt/tiger/orangeca.db") => #<Geocoder...

Convert northng/easting to lat/long

Hi, I have a bunch of northing and easting figures stored in a mysql database. Is anyone aware of a webservice that will easily allow me to convert a northing and easting to lat / long? ...

latitude and longitude bounding box for C#?

I just want to find a straightforward, C# class that takes in a starting latitude and longitude and a distance and finds the bounding box (max lat, min lat, max lon, min lon). There are other, similar, questions here on SO but none of them really answer this and the ones that do are not in C#. Help. ...

Geocoder getFromLocationName is not finding address

Geocoder getFromLocationName is not returning anything if I'm searching for business places. Here are my finding so far: grocery places, commercial buildings -> no result schools -> finding results, but only returning Latitude and Longitude. I have to do reverse geocoding in order to get the address based on the coordinates, but the ad...

Convert Zip code to Google Metro Code?

I know that Google publishes its "metro areas" for adwords. Is there a converter from ZIP code to metro area code available? The metro list I'm referring to is at: http://code.google.com/apis/adwords/docs/developer/adwords_api_us_metros.html ...

How can I find shp2pgsql?

I'm working on a Debian machine with postgresql installed. I need to find shp2pgsql (a utility that converts shapefiles into SQL, as the name suggests). I've seem suggestions that it's located in the bin directory of postgresql, however I don't know where to find this. I can't locate shp2pgsql through a simple find (probably much too si...

Adapt code to my mySQL tables

I have a table, "jos_ezrealty" that has address, city, state fields and declat & declong for latitude and longitude. I need to adapt the code below (provided by google - http://code.google.com/apis/maps/articles/phpsqlgeocode.html) to work with my table. All of my address fields are filled, and half of my lat & long fields are filled. I ...

Full Screen Google Map

How can I use Google Maps API to show me a full screen map with no sidebars or search bar? I just need it to show a specific location in a mobile app, users don't need to search. Is this possible? Also if I provide a street address how can it put a push-pin at the location? ...

rewrite fopen into curl - script

I have no idea where to begin - my web host does not allow fopen, but my geocoding script below uses it. So, since no fopen - no lat & long - so no google maps on my pages. Can anyone redo this in curl? http://paste.ly/4HU (since the code is breaking up below) $mapaddress=str_replace(' ', '%20', $_REQUEST['street_num'] . ' ' . $_R...

GeoDjango setup: ERROR: could not access file "$libdir/postgis-1.5": No such file or directory

Update: thought I'd solved it, but I hadn't... please see below. I'm installing GeoDjango on Mac OSX. I've followed the Mac install instructions, which all went smoothly, and am now creating a spatial database template for PostGIS. However, when I try to load the PostGIS SQL routines, I get ERROR: could not access file "$libdir/post...

Geocoding an IP Address in Rails

Hello all, I have GeoKit setup and in general I'm really happy with it. But I recently tried Geocoding IP Addresses with it and its default results (provided by hostip.info it looks like) don't seem very accurate or complete. Has anyone else had bad results from this? Is there a better way to GeoCode IPs in Rails? ...

convert the Address into Latitude and Longitude for Google Maps in iPhone

How to convert the Address into Latitude and Longitude in Objective C? I want to use Google Maps over there i iPhone. ...