geolocation

J2ME Location API on the N95 - Need to open Nokia Maps to warm up GPS?

The location API only seems to work for me when I warm up the GPS by opening Nokia Maps or Google Maps. The Google Maps app has a status balloon which shows the number of satellites and lets the user know when the connection is active, however I have not found anything in the J2ME Location API docs which specifies how to do this. It ...

Blocking access for a given geographic location

What is the most reliable way to prevent users from a geographic location to access a web available application? I understand that IPs are related to geo positioning and I also understand that the most naive way is to get the HTTP request header IP address and take it from there. It's obvious that naive methods, like the one described ...

http get/post request and google geolocation api

I'm using the web application at http://m.rummble.com website and when I click find my location using gears. The application returns my current location (approximate city location) with various establishments in a given mile radius. To further understand how this works, I opened up wireshark and what I notice is that a POST request is se...

How do you make a geolocation database?

I am not asking what geolocation service to use or how you use them. I am asking, how the do these companies know so well where every IP address is?? Is there some breach of privacy being violated? I looked at the wikipedia page, and all they had to say was using the WHOIS service, which obviously doesn't work at all: my IP is owned ...

Inconsistent Loading Times for GeoRSS Overlay Between Firefox and IE

I have a very simple page built to display a map and overlay a line based on points in a GeoRSS XML file. Here is the publicly accessible file. http://68.178.230.189/georssimport.html Firefox is loading in about 5 secs, which is expected because there are a lot of points to map, but IE (6 & 7) is taking upwards of 45 secs to a minute. W...

Figure out if I'm nearby something

I've got my current location lat long and I've got a list of places and there lat long. What I'd like to do is figure out if I'm nearby one of the places, nearby would be something like +100m. I don't want to display a map, just know if I'm near it. What kind of php libraries are available for comparing location/lat long? Or can I solv...

Database of surveillance camera locations

To get more into django programming I'm planning to create a google maps mashup, which finds routes from A to B, but avoids streets/junctions that cross public surveillance cameras' perspectives. Therfore I will create a database (probably Postgres based, because of its GIS capabilities) containing surveillance type (surveillance camer...

iPhone 3G: How to show locations around a fixed point?

Hi, I have my current location fixed via CoreLocation. Now I want to get those locations (from an existing database), which are in the near (about 100 feet) of it. How do I start? Update: Here is a implementation of the Haversine formula: http://www.jaimerios.com/?p=39 (very useful) ...

Google geocoding API (City => long, lat)

Does Google offer a RESTful API where I can pass it a city name (or zip) and it returns the longitude & latitude. I know how to do this with using the Google Maps API, but I really don't want to have my users download the huge 200k Google Maps API solely so that I can geocode a location. Does anyone know of a URL based (REST) city/zip ...

PHP/MySQL: Select locations close to a given location from DB

Hello! In PHP, I have the following code for calculating the distance between two locations: <?php function distance($lat1, $long1, $lat2, $long2) { // DEGREE TO RADIAN $latitude1 = $lat1/180*pi(); $longitude1 = $long1/180*pi(); $latitude2 = $lat2/180*pi(); $longitude2 = $long2/180*pi(); // FORMULA: e = ARCCOS (...

An API to send a text string place, and get text strings back of places nearby

Hi, I'm looking for an API or a combination of API's where I can send "Anjuna, India" and get back a list of places nearby. The data is mostly for "third world" countries, less so for Europe/US. Any suggestions/ideas about how to structure this? ...

Geo Fencing - point inside/outside polygon

Hi, I would like to determine a poligon with geo points and implement an algorithm which would check if the point is inside or outside the polygon. Does anyone know if there is any example available of any similar algorithm? Thanks! ...

Geographical data encoding (standard codes for countries/regions/cities)

Hi, is there a standard way to encode the user location (country, state/region, town), so that I can ask the user to select these items upon registration and then use this data to show his location on the map? ...

Need help optimizing a lat/Lon geo search for mysql

I have a mysql (5.0.22) myisam table with roughly 300k records in it and I want to do a lat/lon distance search within a five mile radius. I have an index that covers the lat/lon fields and is fast (milisecond response) when I just select for lat/lon. But when I select for additional fields in the table is slows down horribly to 5-8 ...

Twitter: Local messages via API

Hello! A few days ago, I saw that happn.in now offers a service where tweets (messages on twitter.com) are grouped and analyzed for local areas. For several cities, they give you a list of trending terms. I know that you cannot exactly know how they do this but maybe you can help me, though: How can I do this, too? I have several appro...

Re direct to a sub domain

Hi I hope you can help me. I need to direct traffic to certian subdomains. EG I live in RSA and we have 4 major cities. Cape Town Johannesburg Eastern Cape Durban I have the following sub domainds capetown.mydomain.co.za johannesburg.mydomain.co.za durban.mydomain.co.za easterncape.mydomain.co.za Now when some one opens my website...

UK Cities SQL

Does anybody have a script for inserting a list of UK towns cities into a SQL server database? ...

Will HTML 5 specify a way to get the client's location and culture info?

I have this web service... It serves up HTML in response to an AJAX request, and the web service needs to be aware of: the user's specific language the user's timezone or location I understand that this is currently quite infeasible. BUT... It seems that HTML 5 will have a Geolocation API! Awesome. This should take care of my timez...

Finding geo located "Hot Spot" Areas?

Good Afternoon, I'm currently planning a web-app/service project with a geolocation-enabled user model (lat/lng etc) and I was wondering what would be the best approach to find out the n biggest 'hot spots', e.g. geolocations with a given radius (e.g. 10 miles) where the most users are located at? Does anyone know a good, practical c...

A reverse of Haversine formula for MySQL?

In my DB i store a center point, along with a radius (in meters). I'm looking to pass in a lat/lng, and then have the mysql values i've stored create a circle to tell me if my point i passed in is within that circle. Is there something that would allow me to do this, similar to the haversine forumla (which would assume that my point w...