Hi everyone, I have this piece of code:
- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation
{
NSLog(@"Manager did update location!!");
self.currentLocation = newLocation.description;
}
I have this code inside a class that conforms to the CLLo...
I'm developing a real estate web catalogue and want to geocode every ad using geokit gem.
My question is what would be the best database layout from the performance point if i want to make search by country, city of the selected country, administrative area or nearest metro station of the selected city. Available countries, cities, admin...
I know the browser shares my IP address and details of nearby wireless networks to determine my location, but what sort of info does it know about nearby wifi networks?
For example, where I live are no public wireless networks, and from my home I can see about 5 private networks, yet my location is determined within 20 meters. With ther...
I need to determine at startup what country a user is in, for an iPhone application. Presumably I will have to turn on location services and do some sort of reverse geocoding. I don't really want to use a third party web service if possible, are there any other suggestions for determining country from what location services provides?
In...
I tied the iPad the other day, and was amazed about the precision of the geo localization by ip. Actually there is this action against hunger in the world that shows you very precisely where the persons are located that have took part to this petition:
http://www.1billionhungry.org/meodai/impact/
I would like to integrate that in one o...
Hi. i'm trying to built in support for locations in my application and i'm expecting users to be inputting gps coordinates in a variety of ways. I need to convert all of the below to: latitude - direction (N/s), degres, minutes, seconds; longitude (E/W) - degrees, minuts, seconds.
Note, each user input will be in a single line. I would ...
Is it possible to determine the country of a mobile phone browser?
I've read elsewhere that mobile phone IP addresses frequently change and can be reported as originating from different countries by some IP location databases. 1
...
I have been wondering how the iPhone determines location based on wifi, because I want to integrate this functionality into a java app of mine.
When I run a location check on my ip, it throws me all the way into some other neighborhood... But when I use my iPhone's location feature, it points right too me. (and GPS is turned off)
How d...
I have 2 coordinates. Coordinate 1 is a 'person'. Coordinate 2 is a destination.
How do I move coordinate 1 100 meters closer to coordinate 2?
This would be used in a cron job, so only php and mysql included.
For example:
Person is at: 51.26667, 3.45417
Destination is: 51.575001, 4.83889
How would i calculate the new coordi...
http://wiki.openstreetmap.org/wiki/Mercator
With the C# example in the above link, I am able to project lat/lon to x/y co-ordinates. However, I'm having problem with scaling. I wonder how much length (in miles?) each pixel have after projection. I would like to scale the map before rendering as 500 pixels per mile or something like that...
Hi,
I wanna start developing a map-based web site.
At first I ordered a regulat Gps device just to test the site, later on I would like to use Iphone's gps and other cell devices.
So I need something pretty generic.
I searched the web for map-based development framework and come up with too many of them :
Geo server, Map server, Open l...
I have got 2 sets google maps geo coordinates. Like 51.2, 6.1 and 50.3 and 5.5.
How do i calculate the distance between those 2 coordinates in meters with mysql?
I'm looking for the geo calculation, with earth radius and stuff. What is the best way to do this?
...
The W3C Geolocation API (among others) uses DOMTimeStamp for its time-of-fix.
This is "milliseconds since the start of the Unix Epoch".
What's the easiest way to convert this into a human readable format and adjust for the local timezone?
...
I've been playing with HTML5 location lookups recently and its relatively straightforward to pull someones location from a device like an iPhone.
I want to write an app that uses location data, but its important that the location be factual. In other words I need to prevent people from authoring a fake post to the backing website / web...
I run a local blog, and I would like to offer advertisers the ability to buy ads knowing all of the impressions will be from the local community. For everyone else I want it to show typical google ads.
My questions are:
How feasible is this?
Is there any readily available code or service that can do something like this?
The cheaper t...
I am trying to design a web page that provides content depending on the user's location. I made a simple page that tries to access the navigator.geolocation object and report whether it exists, and if it does, the latitude and longitude reported by the browser. I tested it on my home computer, which is running Firefox, and it worked fine...
Hi all,
I have this class in Grails:
import com.vividsolutions.jts.geom.Point
class MouseMove {
/** map latlon coordinates */
Point geoLocation
// other stuff
static mapping = {
geoLocation type: org.hibernatespatial.GeometryUserType
}
}
When I try to return this class in an xfire service, the SOAP cl...
My script has as input the latitude and longitude values as GPS coordinates.
How can I get the current local time?
Are out there solutions that do not use databases or web services?
PHP has a method to retrieve location based on a timezone, I am wondering if the reverse exists or not
...
My app checks at a specific time whether a user is at a given location. I use the alarm manager to start a service that makes this call:
locationManager.requestLocationUpdates(bestProvider, 0, 0, listener);
And also checks:
locationManager.getLastKnownLocation(bestProvider);
But I'm having problems when running on a real device. F...
I already create model by use django.contrib.gis.db.models but when I use admin page to add item, After save then django give me "Caught an exception while rendering: cannot set GeometryProxy with value of type: " so admin page crash, anyone have some guide to fix this.
...