geolocation

Geolocation times out after the first couple successful times.

I'm using geo.js and Gears (tutorial here) to get a users location. The way my script works is that it checks to see if two cookies, latitude and longitude, exist. If they do, it allows the users to search for restaurants in their area. If they don't, it prompts for the user to share their location. I also added in two controls, upda...

Free database with places, parent places, latitude, longitude, etc.

Where to find free database of wolrd places with following fields: id place name in English place name in original language place type - city, region, state, country, continent, etc. latitude longitude parent id - id of place which current place belongs to, for example, San Francisco belongs to California, but California belongs to US...

Storing longitude and latitude data in a database, and query for nearby records.

I am creating a rails application which will use geolocation. One can add a longi- and latitude to a record. If there are multiple records with geolocations, one can see a Google Map with nearby records, just like Twitter geolocation. How can I store the coordinates (I don't mind to do calculations) and find nearby records? My database ...

Geolocation api/services

Currently programing C# methods to retrieve the following address information: Latitude/Longitude based upon postal address Latitude/Longitude based upon ip address Postal Address based upon ip address Postal Address based upon zip/postal code Anyone know of any geolocation services/api's I can plug in to that can help with retrieving ...

Moving 3d Model in google earth?

Hi Everyone! I'm using the Google Earth Web-plugin API and I've got a 3d model of a helicopter, I can create a 3d model using the following code: var placemark = ge.createPlacemark(''); placemark.setName('model'); // Placemark/Model (geometry) var model = ge.createModel('heli'); placemark.setGeometry(model); ...

javascript geolocation on android doesn't work

I am developing a website that relies on pulling the geolocation data of a mobile user. I am doing it the typical way via: function initialize() { if(window.google && google.gears) { var geo = google.gears.factory.create('beta.geolocation'); geo.getCurrentPosition(useLocation, errorOnLocate); } else if(navigator...

FireEagle - Retrieving current location

Hello there, I've just found about yahoo's fire eagle and it seems to be a great tool for location services But I'm struggling to find is it's indeed possible to retrieve users location without any input just like one of the apps listed on their gallery which is the http://mapme.at/ app where you can see the "We think you are here:" wor...

How to implement indoor navigation on the iPhone

I would like to locate the iPhone in a building to build an application with similar features as the iPhone app of the American Museum of Natural History. There is no good GPS reception as there are also rooms in the cellar I would like to cover. What can save me is that there is good wifi coverage in the whole area, so my idea was to t...

Country/State/City Database?

Ok, this one is a non technical question. I am creating a business directory and I'd like to categorize listings by location. Instead of giving users an option to enter the location, I am going to provide them with a list of locations which follow a Country/State/City format. I tried GeoWorldMap by GeoBytes. It looked promising in the be...

Is there any free geo database?

I want to build an location based application, and I don't know how to get some location data, like: the latitude and longitude of nearby starbucks, KFC, or pizza? Is there any free database on the internet? how does others get those data? like yelp, foursquare? ...

html5 geolocation accuracy

Hi, Just a quick question I have built the following code: http://letterpool.testmode.co.uk/map.html However with some users I am getting reports that people are getting around a 200-300 meter of their actual location. Does any one know why ? ...

Converting latitude/longitude into city name? (reverse geolocating)

Hello SO, I'm working on a job board in Codeigniter PHP + jQuery where employers enter their location and we use Google Maps API to plot it. While this has had awesome usability results, the problem is when we try to display these locations to job seekers they are muddled and hard to visually discern (they read like this: "02905, 2 mil...

iPhone: App crash in MapView after 20 min

I am working on an app that tracks a users location. After about 20 minutes it seems that the app always crashes, and I am not sure why. Device logs show: Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x069f6000 Crashed Thread: 0 Thread 0 Crashed: 0 Ride 0x00012e00 -[...

navigator.geolocation.getCurrentPosition sometimes works sometimes doesn't...

So I have a pretty simple bit of JS using the navigator.geolocation.getCurrentPosition jammy. $(document).ready(function(){ $("#business-locate, #people-locate").click(function() { navigator.geolocation.getCurrentPosition(foundLocation, noLocation); }); navigator.geolocation.getCurrentPosition(foundLocation, noLocation); f...

Show different contact info on a website based on IP Address US State geolocation?

I want to show different phone numbers / contact information on a website based on the IP address of the visitor. I want the granularity to be as fine as US states (have a unique record for each US State) and then have a catch all for all non-US IP Addresses. This is a very common task I'd imagine others have, we want to show a differe...

Android - scripting telnet session for sending GPS tracks

All, I am familiar with the ability to fake GPS information to the emulator through the use of the geo fix long lat altitude command when connected through the emulator. What I'd like to do is have a simulation running on potentially a different computer produce lat, long, altitudes that should be sent over to the Android device to fak...

iOS/Android GPS battery draw?

I'm investigating the possiblity of writing an app for Android/iOS4/both that would use GPS in the background. I found the "Receiving Location Events in the Background" section of the iphone developer documentation, which recommends that I only register for "significant location change" events. I'm not aware of any such capability in th...

What technology are they using in this Shopkick demo to achieve pinpoint geoLocation?

I know they have some hardware installed around the store but what does the hardware do and how is it interpreted by the app? (at one point they show hardware attached to the celling in one of the locations they are in) WOAH sorry forgot the link, http://techcrunch.com/2010/08/03/shopkick/ Thanks! ...

How do you do GIS queries on Heroku using the shared database?

I have a table of geocoded locations with latitude and longitude. I'd like my database query to return a filtered list of them, ordered by distance from a fixed point. There are a few options which I've explored: Postgresql's earthdistance contrib is probably closest to my needs; however, I've found no indication that this is install...

How to calculate turning direction

I have a three lat-lon coordinates that make up two line segment A to B to C. I also found a function that can return north-bearing of a line segment A-B or B-C in -180 to 180 manner. However, I'm having trouble to determine when a car reaches from A to B, should it turn right or left to continue to C. ...