I'm using various functions from the earthdistance module in PostgreSQL, one of those being ll_to_earth. Given a latitude/longitude combination, I'm trying to retrieve the nearest point from my database via CakePHP 1.2.5 Stable.
// set dummy data
$latitude = 30.4393696;
$longitude = -97.6200043;
// create a simple bounding box in the...
Hello
I am curious how hard it would it be to detect current coordinates by mobile phone? I am planning to write a mobile application which will focus on phones that can run java (ie Samsung Omina) and it will be based on the location of the user so I can do some Google map action using the coords.
Using GPS sounds like an idea, howev...
So I am trying to think of a way to facilitate two things. It may end up being a two step process in the end but I was looking for input.
The first thing I need to do is accommodate locations with the same address. The two scenarios that come to mind are businesses that share a location and apartment buildings.
The second thing I nee...
I'm losing some hair over Google's AJAX API currently. What I do is turning structured location data into a Google local search API query in order to give users an alternative result list of places.
ex.:
http://ajax.googleapis.com/ajax/services/search/local?v=1.0&key=XXX&hl=en_US&mrt=localonly&rsz=large&q=pizza+Neus...
I'm guessing that the units it uses is meters (m), but it doesn't seem clear from the documentation I've found. Is this correct?
If so, just to verify, in order to convert between miles/meters, I presume these functions should do the trick:
public static function mi2m($mi) { // miles to meters
return $mi * 1609.344;
}
public stat...
How write code in ASP to get website visitors IP address and Country ID ?
Plz help me,
Alex
...
I have an application that uses the Google Maps API to geocode distances between lat/long pairs as a way of displaying people near to you on your phone (currently Android, working on iPhone). The issue is that even with a test group of 40 users, we are taking upwards of 10 seconds to do our calculations and send the results back to the u...
I'm developing an application on Google App Engine and needs to find all the points that are in a box.
A basic SQL search would be:
minlatitude < latitude AND maxlatitude > latitude AND minlongitude < longitude AND maxlongitude > longitude
But, this request is both inefficient and forbidden (you cannot use inequality on 2 differe...
I’m doing some research into the capabilities of Windows Azure for an European company. One of their concerns is that data will be processed/stored by servers in the USA. (Regarding the patriot act)
Microsoft does provide the option to select a geo-location, but I have yet to find them guaranteeing that the data won’t be processed or st...
Is it possible to get location data out of Google Gears, Google Gelocation API or any other web location API (such as Fire Eagle) in such a format that it appears to other software as a GPS device?
It occured to me reading these answers to my question regarding WiFi location finding, on Super User, that if I could emulate a GPS unit, ma...
Right this is confusing me quite a bit, i'm not sure if any of you have noticed or used the "my location" feature on google maps using your desktop (or none GPS/none mobile device). If you have a browser with google gears (easiest to use is Google Chrome) then you will have a blue circle above the zoom function in Google Maps, when clic...
are there any free web services out there that will detect the IP Address of the user accessing your site, and then give you information like zip code, and local?
I am using C# on VS2008.
...
Given a table,
+-----+---------+---------+---------+---------+---------+
| user| min_lat | max_lat | min_lng | max_lng |
+-----+---------+---------+---------+---------+---------+
| a | 46 | 407 | 6 | 367 |
| b | 226 | 227 | 186 | 188 |
And a Point(x, y) Find users where the point is within the m...
Using { ASP.NET 3.5 , Windows Server 2003 , IIS 6 }
I'd like to optimize my site for SEO. For the sake of example, I have a site with three pages:
/news.aspx - a page that lists news articles
/events.aspx - a page that lists events
/location.aspx - a page that determines user's geographic location
If user visits /news.aspx or /ev...
What are the available (best) ruby IP-based geolocation gem/plugins?
How do they compare to one another in terms of functionality, performance and ease of use (e.g. do they interact with a web service, or require a separate database, etc.) ?
I'm hoping anyone that has used some can share their experience and give recommendations.
...
I am using the requestLocationUpdates method of LocationManager to get GPS location updates. I am using a minTime parameter of 60000 to indicate that I'd like a location update every minute - I don't care about minDistance (I use a value of 0 as minDistance).
If I can understand correctly the android documentation, my LocationListener w...
Hello!
I wondering if there is a method to obtain latitude and longitude of my position without using a GPS.
I developing a Windows Form application for Windows Mobile 5.0 and above, C# and .NET Compact Framework. I use GPS and Bing Maps to show the user position on a map but sometimes it'd imposible to determinate user position using ...
I want to make a global social network, in which users can search for nearby users.
What is the preferred way to allow users to easily specify where they are located?
Zip code would be accurate, but is US-only.
Lat/long would be accurate, but it is too difficult for mom and dad types.
Drop-down menu of continent, country, province, m...
Has anyone written an application that uses the new location API in Mac OS X 10.6?
There is a sample program that uses the same API for the iPhone OS, but the API is slightly different for Mac OS X, and Apple provides no sample program using it.
Edit:
I know how to use it, the API documentation is ok. It seems overly complex for simple...
I am looking for a good City, Country State database
It does not have to be crazy detailed, something that has a good coverage of Cities and their corresponding State,Countries in the world will do it for me.
Appreciate if you can point me some links. Thanks
...