geolocation

How to get client's Geolocation (Latitude & Longitude) extremely QUICKLY ?

I am using Google Map's ClientLocation to retrieve the users geolocation (via their IP address). This is very slow because you first have to download and then load Google Maps, before it can even begin to geolocate the users IP address. Then I came across http://fwix.com/. They are doing exactly what I want, but super fast without havin...

Unable to use Facebook Places after manually setting Geolocation in Firefox

I am having a play with Facebook Places but don't want to publish my current location for privacy reasons. I therefore changed the geo.wifi.uri in the about:config in Firefox to point to a file containing JSON of my location with the lat and long. This works great and if I test by using Google Maps or the Mozilla Geolocation test I get t...

How do I change the location of a iPhone UITabBar?

I'm fairly new to iPhone development and have built a UITabBar application but would like to change the location of the TabBar from it's default location at the bottom to the top of screen. Anyone know how to do this? ...

Douglas-Peucker - Shortest arc from a point to a circle, on the surface of a sphere

Hi there, I have seen many examples in various programming languages that are using the Douglas-Peucker polyline simplification algorithm to produce a GPolyline to be used on Google Maps. The algorithm, when expressed for polylines on a plan, involves the calculation of the distance between a point and a line (passing through two other ...

MySQL: Is it better to have an index and a small filesort or no index and no filesort?

I have a large database (180k+ rows and growing fast) of location data and am plotting them on a google map. For a given view port, I just want to serve up a sample of 100 applicable points. The database is therefore queried by lat/lng, but if I put an index on these rows the problem is that the sample of 100 points will be either at t...

Are the W3C geolocation API accuracy parameter in diameter or radius of your position?

Maybe i got my head around this wrong, after stfw i could not find any info on this. When the geolocation api returns your position with latitute, longitude and accuracy (p.coords.accuracy), does the accuracy parameter return diameter or radius of your position? For instance, if accuracy of my position is 24 meters, does that mean i coul...

How to base64 encode inside of javascript

I am trying to implement a simple script on a site that will return base64 encoded information from google's ajax API. This is what I am playing with so far: <html> <head> <script src="http://www.google.com/jsapi?key=ABQIAAAA0duujonFsEX871htGWZBHRS76H0qhS7Lb-D1Gd0Mnaiuid8Z7BQIyz2kMpojKizoyiCQA4yRkKAKug" type="text/javascript"></script>...

Building a database of local venues/businesses

Does anybody have any experience or suggestions for building a database of local venues/businesses to be used in a web app? Would scraping Yelp/Facebook Places/Foursquare or any similar websites with locations be the best way to go about it? ...

where deos foursquare or gowalla, get thier location data from?

i know foursquare uses google maps api, but how do they retrieve all the business location from google maps, do they save every location on thier database or just access it when a user checks in? sorry if i have confused you, but im so curious!! :)) ...

How to write/get latitude longitude with image in uiimagepickercontroller?

Currently I am saving and image with the following method in "saved photos album". UIImageWriteToSavedPhotosAlbum(image, self, @selector(image:didFinishSavingWithError:contextInfo:), nil); Now I want to associate the current latitude and longitude with that image. How can I do so ? Can I do with its mediaInfo dictionary (metadata). ...

On which Android version can I start using the geolocation feature for an application I develop?

On which Android version can I start using the geolocation feature for an application I develop? ...

Suggestions for API to list places / businesses around you using GPS

I'm looking for an API that would provide me a JSON list of businesses or places around me after I pass lat/long coordinates to it. Google Places API seems to fit the bill, but they're in a semi-open beta release right now. Does anyone know anything else that would fit the bill? ...

Communicating location between mobile devices

I am just brainstorming here. Let's say I have 2 mobile devices, iPhone, Android, WinPhone7, BlackBerry, Palm, whatever. I'd like to communicate my location (latitude/longitude) from my device to another one. What is the best way of doing this? The assumption that each device has either built-in mapping capabilities or a custom-built...

How to get Json Data from IPinfodb.com with MVC WebService/Method

Hi I want to get User's Location based on IP. When user enters website I used to do it with XMLHTTPREquest in classic asp how to do it with .net MVC. I am new to .net ...

Geolocation in Safari 5

Hi all, I have a application which reports my location using HTML5 geolocation. The application works correct on Firefox and Chrome, but on Safari 5, it says that Safari does not support Geolocation. From what I read, Safari 5 does support Geolocation. What am I missing? Thanks for your time. Sunil ...

finding same locations in a database

Consider an app that stores geocode data for photos. I want to be able to return albums of photos from within a city, within a state or within a country. Currently the database uses location strings for matching (location_name = "London, UK"). This is a very simple calculation compared to actively querying through map geometry, but has...

Php/Joomla: filter geolocation-tagged data, send in personalized email

Hi! You might have seen that MailChimp has new features to GeoTag users (mark their location) and send a newsletter to all users within 0-50 miles of a fixed point. Their system knows where users are located (via reverse IP lookup), and you can send a newsletter to all people within 50 miles of Downtown Los Angles (for example). I'm int...

latitude & longitude as coordinates adequate for point in polygon algorithm

Given a database of long/lat coordinates representing targets and a series of lat/long representing the bounding coordinates of polygons representing "zones". Using a simple ray casting algorithm is it safe to treat the lat/long as cartesian coordinates for determining if the target is within the zone? ...

Ideas for location based medical service with android

Hello all, I have developed some simple apps on android like pushing notifications and use of Bluetooth to approximately find the location of the device.I have been toying with idea of providing location based medical services kind of a app for android which can be used in hospitals by doctors,nurses or maybe patients. But I am not abl...

Reset user geo location on page load. Delete & set a cookie.

I'm running a geo-location-javascript (http://code.google.com/p/geo-location-javascript/) to find and set the users latitude and longitude to a cookie. I'm running this to try and update the cookie on each page load. <script> function del_cookie(name) { document.cookie = name + '=; expires=Thu, 01-Jan-70 00:00:01...