geolocation

get latitude longitude based on address api

Hi all, I am using http://code.google.com/apis/maps/documentation/geocoding/ api from google to get geolocation based on address. I put an address like this :"1600 Amphitheatre Parkway, Mountain View, CA", and getting the needed results, and I just need from here latitude and longitude. It works well from my localhost, but then I try to ...

Zipcodes & Distance

Hi, I have a list of zipcoded in a MySQL Database together with their Latitude & Longitude data (Column names: ZipCode, Lat, Lon). Now I have to make a search requests (search for the zipcode) to extract information from a website. When I make this search requests the results include all information within a radius of 50km of the zipco...

How to validate geographic locations (like on careers.stackoverflow.com)?

On http://careers.stackoverflow.com, the edit page under http://careers.stackoverflow.com/cv/edit – section Where do you want to work? – has the neat property, that it validates geographic locations and gives them some canonical name. E.g. I enter Subotica and it will complete to Zubotica, Severna Bachka, Serbia Does it use any...

getCurrentPosition on a G1

I have the following code on a website being developed for mobile browsers. For some reason, the G1 phone doesn't run the getCurrentPosition (neither the foundLocation nor the noLocation). Does anyone have any idea why??? I tried to paste it in here, but it got all messed up. here it is on Pastie: http://pastie.org/1104458 ...

US and UK based site how to handle

We have 2 sets of prices, $ and £'s. How best can I handle this. Should I have a folder with the US site in so when users click on the US flag they go to mydomain.com/us and then navigate from there. Or is there something simpler I can do? The HTML site passes users over to our client system when ordering so currency conversion etc i...

ViaMichelin.com city hashes

Hello, I need to calculate route between 2 cities (1 dynamic,1 static) via www.viamichelin.com (because they cover my area, eastern europe). AFAIK api calls are not free, so I must find other solution. Each city (place) has it's own unique hash (which I manually entered in DB)... eg Sarajevo, Bosnia. http://pokit.etf.ba/upload/pokit09b...

How do you get lat long info using navigator.geolocation when connected via Network cable

navigator.geolocation.getCurrentPosition returns the approx lat/long information if I connect to the internet via Wireless. However the method call fails when connected via Network cable. Is this by design or am I missing something? Below is the sample html page and I am using Chrome 5 to test it. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTM...

Using Gears for Geolocation in Webview? (for 1.5 phones)

I was able to setup geolocation accessibility in my webview for any android phone running 2.0 and up easily. However I really need to get this feature working on 1.5 and 1.6 phones as well. From what i've read it seems like this feature used to be accomplished with "Gears" and apparently there is a way to use addJavascriptInterface to im...

Open alternatives to Google-maps?

I'm looking for an alternative to Google-maps with all the richness of their API but more open. Does such a thing exist? ...

Find location on Windows Mobile 5

Hi, I'm trying to get a Windows Mobile 5 PDA to give me its location. It doesn't have GPS but I found this MSDN article that explains how to do it using cell tower information. The example does a p/invoke to RIL.DLL, but I'm not sure if that is available on WM5, if it is I'm not sure where to find it? Any good hints or links would ...

Does html5 gelocation method position.address.city only work in Firefox

Does the city method only work in Firefox? for example if I wanted to print the city of the user: if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(function(location) { document.write(location.address.city); }); } If this is true, what's the best way to find a users city? Take the lat and long a...

Geolocations using google gears

I am unable to get the correct location using geolocations and google gears. Can any one help me how to work with google gears using php. ...

what does twitter use for geolocation?

what does twitter use for "add location" ...

Facebook graph api search results depends on location?

Hi there, I've tried to fetch results using Graph search API and I've notice that the results when executed in my computer (Argentina) are different from the results when I run it in a server (France). Is this like this? How can I force a location for a search? ...

Cross Domain GeoLocation Tracking

Hi everyone, I am trying to track user location (HTML5 GeoLocation) on multiple domains, by asking user permission for once. For example: User gives permissions on example.com example2.com adds a script/iframe from example.com User enters on example2.com User location is tracked by example.com and location specific content is shown to...

is there a web service that can detect the country of a visitor in PHP?

I use PHP and I want to know if there's a free web service that can detect the countries of my visitors. Right now i can get their IPs and I have downloaded some IPtables that relate some locations but i don.t think they're quite accurate. So if you are aware of some free webservice it would be just great. Thanks! ...

Extending HTML5 geolocation with custom access points

Hi, I'm experimenting with HTML5 geolocation, and would like to improve the accuracy, by assigning the exact GPS coordinate of some custom access points. How can I add these access points, and their exact position to the current database? If I cannot add custom APs to the database, can I view the source code used by Google (and others)...

Ruby geocoding library compatible with latest Google maps, Yahoo maps, Bing APIs

What Ruby / Rails geocoding library is compatible with (can fetch data from): latest Yahoo PlaceFinder api latest Google V3 API Bing maps API Please also comment on the compatibility with Rails 3 and Ruby 1.9 ...

PHP MySql and geolocation

I am writing a site that basically looks for places within a 25 mile radius of a lat and long using php and mysql. I am wondering how something like this would work? I would pass a lat and long to the scrip and have it pull out only locations that are within 25 miles of the lat and long from my Database of locations. What is the best ...

Developing Geo-location apps for the iPhone

How does one build a directory of 'Spots' for users to check-in to in a native iPhone app? Or, does the developer borrow data from, let's say, Google Maps? ...