geolocation

iPhone and data geolocation accuracy

Hi everybody, I'd like to develop an iPhone app that must that locate the user in a museum then popups some useful information about the sculpture he is looking at. Thus, these questions came to my mind: How accurate are the longitude and the latitude values ? Because I want to give to each place in the museum this couple of values s...

City By GPS Location Latitude/Longitude

Hi, I've got a latitude/longitude value.... How can I search and get the city? ...

Geolocation on an image-based map - data collection and data structure best practices.

My goal is to be able to open a web page on a mobile browser and, provided you are within the geographical bounds of the mapping area, plot your location on a stylized map image (PNG, JPG, whatever). Also on this map will be points of interest, and it would be nice to say "You're closest to XZY thing". Is it sufficient to gather individ...

How do I display the location of the user on a Google Map in HTML5?

I'm trying to put a Google map in my page and make it so that when the page loads the map will display exactly the location of the user. In order to do so, I've taken the google maps API code and inserted it into my HTML5 page. At first the browser did ask for permission to share my location but it isn't actually showing this location on...

Does anyone know of a service/db I can use for businesses and geocode?

I was wondering how and where companies like Foursquare/Gowalla find and keep up to date their list of location/businesses. Is it a web service? Do they buy a directory and enter it into a database? ...

Are there any libraries to determine if somebody is inside your area (Geolocation range) of business (kind of like a store locator)?

Hi, I have a need to provide a widget on a webpage that allows a user to enter in a zipcode or suburb to determine if the website's business delivers to their area (basically are they inside of some range/radius). Anyone know of any libraries (commercial or opensource that would help achieve this instead of writing my own bit of code. ...

How to track users location / region in PHP

Hello, I'm trying to get the country from which the user is browsing the website so I can work out what currency to show on the website. I have tried using the GET scripts available from: http://api.hostip.info but they just return XX when I test it. If anyone knows any better methods please share. Thanks. ...

Is there a way to accurately determine which city in US the user is in using Android Location Manager?

I am trying to determine the city in USA the user is in using their current location from an Android App. I want to use the GPS as the location provider but how accurately can I determine the name of the city from the Locale or Latitude / Longitude data. For instance I noticed the twitter app determines you are in Manhattan when tweetin...

How To Deny Access To File But Allow Server

I have a web application that has a configuration folder that houses multiple XML files that are configuration settings for multiple "portals" as you will. I need IIS to have access to them so the "portal" loads (sql connection strings, master page paths) but I want to deny any outside access (url browsing). Here's an example below: h...

Free for commercial use google-maps equivalent to do the following?

I'm looking for a mapping API something which has similar functionality to Google-maps but which perhaps has something along the lines of the Apache / MIT license. I basically want to plot points on the map. Does such a thing exist? If so are there any guides to plotting points on this map API? ...

How to do in Objective C for iPhone what ZoneTag does?

See this description? "The ZoneTag client runs as a background process, monitoring the cell tower to which the phone is currently connected (which provides a rough location) and possibly communicating via BlueTooth to a GPS device, providing much more exact location information (and also providing a mapping between cell tower and physic...

Adding markers from a SQL db to OSM

I'm new to OpenStreetMap and I've been browsing the wiki and the net and I can't seem to find a tutorial anywhere but I've seen examples on the net. Basically I want to generate my own OpenStreetmap and plot markers taking the latitude and longitude from a MySQL database and plotting them on my map. When the user clicks on a mark I'd l...

postgres spatial indexing

I can't seem to find much documentation on this. What's the simplest way to create a database/table on postgres supporting a query like this SELECT * FROM table WHERE distance(POINT(0,0), table.location) <= 1000m; Where POINT(0,0) and table.location should be latitude/longitude pair, and 1000m is 1000 meters. And how should I go about i...

How do you determine the general geographic location of an incoming HTTP request?

I am using ASP.NET MVC to develop a web application and would like to display different web pages based on the geographic location of the incoming HTTP requests. Any idea how I can achieve this? ...

Google Map & search by location feature

I'm building a site where my users will be able to specify locations (say, their residence, etc.). Then, I want to do 2 things to this information: Plot these location on a mapping service (such as Google Map) Allow users to search by location (e.g. find all users that live in or are in a certain radius from XYZ city) The question I ...

How to find the long and lat of a city on the iphone?

Hi, I am trying to find the long and lat of a city on the iphone. Say the user is searching for London, I would call some function that would retrieve the long and lat of London. I have looked on the web and found you can use a Google API but there must be an Apple function somewhere to handle this? I have come accross the MKReverseGeoc...

Reverse Geocoding in Android App

I am trying to Reverse GeoCode current Lat/Long data to just Admin Area and Sub Admin Area using the Geocoder class. I am using the NETWORK_PROVIDER as the Location provider. Here is the code that I use and it works. The problem is sometimes it does not give me any location sometimes it does. Android Manifest permissions I am using. <...

How to calculate current position on a great circle path

Given a starting point (origLat, origLon), ending point (destLat, destlon), and a % of trip completed. How do I calculate the current position (curLat, curLon)? ...

Should I build on Foursquare or Facebook Places?

I want to build a location based app, so naturally I am going to write my app using an existing API. But I am not sure what the pros/cons of developing on top of Foursquare (or Gowalla) vs Facebook Places. Note: this is not intended as a political debate "which service is cooler/better/sexier/whatever" but a true concern as to the pros...

What is the best approach of querying based on Geo parameter

I have a table which contains Geo-Based information. (latitude and longitude) i would like users to input their Latitude and Longitude value(e.g current location), then query returns the records ordered by the distance between "user inputed spot" and "record position". any suggestions or web link would be appreciated. thank you all in...