geolocation

Geolocation assisted ATM monitoring

hi there, we would like to write a web based application to monitor the ATM machines in the bank to have the following functionality: Display location of each terminal Display general status of the terminal in color coding or simple icon (ATM up/Down/needs attention, low cash, etc.) Have a facility to drill down on the status of the...

Can iphone send gps coordinates to a website painlessly?

Is there an easy way to design a website to facilitate an iphone user providing gps coordinates to the site? I am wondering if there might be a naming convention for form fields for example, to let the user input in an automated way. I am considering building a location based website and would like to tailor it for iphone (and other m...

Looking at location with Google Earth API

I am trying to use the Google Earth API to create a simple view of the globe with a search field in which the user can type a location. When they hit go, the globe will zoom in on the location they typed in. I would like the view to be looking straight down on the location they specified. I have tried the following code: var lookAt = g...

Using the geolocation API to set a form input.

I'm kind of a javascript noob, and I'm trying to use the new geolocation API in Firefox 3.5 to get an estimation of the user's coordinates and put that into a text box in a form. What I have doesn't seem to be working; it seems like the boxes are filled before the location is actually retreived. Here's what I have so far: <html> <head> ...

NSSortDescriptor for comparing CLLocation objects in Cocoa/iPhone

I have an array of CLLocation objects and I'd like to be able to compare them to get distance from a starting CLLocation object. The math is straight forward but I'm curious if there is a convenience sort descriptor to go about doing this? Should I avoid NSSortDescriptor and write a custom compare method + bubble sort? I'm usually compar...

Any way to get the location of a cell phone?

Is there any way to get the location of a cell phone (i.e. latitude/longitude) automatically when the user views a web page? This will primarily be used outside of the United States, so if there is some international standard that the US may or may not follow, that's what I'd need to know. ...

How do I lock the country down in Google Maps

How would I make it so you cant drag outside of the UK in google maps? Can you lock it down to a certain area, as I'd like to be able to drag around the UK but not outside. Ta Chris ...

Finding a coordinate in a circle

I am doing a mashup using Google Maps under Grails where users can create geofences by selecting a point on the map and a radius. This get stored on my database and the application receives constantly a set of coordinates from a GPS device. I would like to compare the received coordinates with the area stored in the circles. If the poin...

Using Yahoo Fire Eagle on Grails / Java

Hi everyone! Has anyone implemented the Yahoo Fire Eagle API in a Java / Grails application? How did you do it? I want to poll their REST web service with my Grails application. Yahoo offers some API Kits for various programming languages such as PHP, Ruby, etc. Unfortunately, there is nothing similar available for Java / Groovy (there...

How to simulate browsing from various locations?

I want to check a particular website from various locations. For example, I see a site example.com from the US and it works fine. The colleague in Europe says he cannot see the site (gets a dns eror). Is there any way I can check that for my self instead of asking him every time? ...

Converting latitude and longitude to decimal values

I have GPS information presented in the form: 36°57'9" N 110°4'21" W I can use the javascript functions of Chris Veness to convert degrees, minutes and seconds to numeric degrees, but first need to parse the GPS info into the individual latitude and longitude strings (with NSEW suffixes). I have read related posts on stackoverflow, but...

Google analytics to track support for navigator.geolocation API?

The navigator.geolocation api for user positioning is now also supported by Firefox and not just Safari/Iphone. I suspect it will become a well suported api as more devices support positioning. Anyone know how to detect support of this api so that google analytics can chart it? ...

Geolocation with IPv6?

I'm working on an IP geolocation library that uses the first three octets of an IPv4 address to determine a user's country, city, lat, lon, etc. Works like a charm. But it doesn't handle IPv6 addresses, and I'd like it to do so. Is there any way to transform an IPv6 address to get the equivalent of the first three octets of an IPv4 add...

wsg 1984 - calc distance between 2 geo points

i need a peace of code in C# that can calc the distance between 2 points in a map that has a wsg1984 format ...

Identifying the country of visitor to my website

I want to identify the country my visitors come from using php. How can I do this? ...

Possible to calculate closest locations via lat/long in better than O(n) time?

I'm wondering if there is an algorithm for calculating the nearest locations (represented by lat/long) in better than O(n) time. I know I could use the Haversine formula to get the distance from the reference point to each location and sort ASC, but this is inefficient for large data sets. How does the MySQL DISTANCE() function perform...

Open source alternatives to meetup.com / Geolocation meetings enabler

Hi, Am looking to create a site similar to meetup.com for a local geography - does anyone have any suggestions on what frameworks I can use or can point to open-source software that work similarly? Thanks! Steve ...

finding clients location in asp.net page.

How to find clients location in my asp.net page. Infact i used System.Globalization.RegionInfo.CurrentRegion but it is showing the setting in the control panel. So can i find exact location using any method. ...

Is it possible to get GPS information in a mobile device through APIs without having any GPRS connectivity?

Is it possible to get GPS information in a mobile device through APIs without having any GPRS connectivity? Edited Yes, for example on the Java ME platform or Apple iPhone ...

Geolocation web service recommendations

Does anyone have any recommendations on geolocation web services (preferably free!)? Planning on using it in an asp.net app, I'd heard Google might have something. ...