Wanted to "Reverse Geocoding" some location coordinates from a transportation App. What's the best way to do this? - geolocation

Just wanted to ask. I am working on this transportation app, it's operational already. Unfortunately, there are some cases where unique addresses are only recorded as geographical coordinates, which it can't be read as normal addresses.
The goal is to read this address and have targeted ads/campaigns on which places are the most popular or crowded.
Just wanted to ask, what's the best approach to do this? Is it via API? Java? or what's the best way?
Any help is appreciated!

Related

SSID geolocation. Is it possible to locate an AP by knowing its SSID?

I am doing a research project about data leakage in probe requests. As in these probe requests it is possible to see some SSIDs, I was wandering if it could be possible to locate them. For example, if I see WLAN_C11G I would like to be capable of knowing the coordinates where this AP is.
I know that I could do my own database of scanned SSIDs. However, I would like to know if there is some public database where I can find some AP-SSID geolocations.
Thank you in advance
What you are describing is known as Wi-Fi Positioning. The information on actual databases in the Wikipedia article may be dated, though.
For years the big name in the field was Skyhook http://www.skyhookwireless.com/submit-access-point
A serious concern about privacy has been raised a number of years ago http://www.zdnet.com/article/mobile-privacy-flap-take-two-starring-google-skyhook-gps-act/
Google has a private database :)
How accurate do you need to be for your application? i.e. in metres?

Are there any free GeoIP services which are accurate to detect whether 2 addresses are within 6Km?

I have to make a restaurant home delivery website, and the owners do not wish to deliver more than 6km away. I hear that the geoIP DB 'Maxmind GeoLite city' is not particularly accurate though. Furthermore if you know of a database that has a shortcode, or predefined query for obtaining the distance without loads of coding, I would love to hear about it! I hope the question is well defined enough. All advice welcome!
I don't know the specification of your project, but it's likely you do know the delivery address. In this case you could use Google's Geocoding APIs to get the position (lat,lng) and then calculate the distance.
Of course there are limitations in the amount of daily requests, but I hardly think your app will reach that limit.
Take a look here:
https://developers.google.com/maps/documentation/geocoding
As far as I know, there are no free IP geolocation databases that will reliably provide the accuracy you are looking for, especially if your client has visitors using mobile devices.
I would recommend that you take a look at W3C Geolocation JavaScript API. The results from this will often be more accurate than IP geolocation, especially if the user is on a device with GPS. Do note that it will pop up a dialog asking the user whether they want to share their location with your site.
HTML5 geo location if far more accurate than IP address based location.
http://ipgeo5.com/

how to find location with business name?

I am trying to build an iphone app that finds the location with business name.
For example, I want to annotate a restaurant and I want to find it with the name of restaurant. I was trying to use CLGeocoder, but it seems like geocoder does not help in this case. I am not sure what to do.. can anyone give me a hint about this?
Thank you
Google maps will take a business name and return location(s). It sounds like a webservice is what you're needing, you'll just have to think through the inputs, the outputs, and figure out how it all logically fits into your app.
"Business name" is info independent of the address and not available to CLGeocoder. For this you have to use an external service where business names are actually registered. I would suggest the Google Places API, but the search results will still be limited to those businesses registered to Google.
And yes, you will have to dirty your hands with "NSURL stuff", and process the results with "NSJSONSerialization stuff".
If you're happy to consider an SDK-based solution, Huq Industries offer exactly this as part of their Real-world Analytics platform. They've done a lot to address the problem of reliably relating device location to physical businesses accurately by combining location with other data including WiFi. You can get business events by business name, category and address.
Coverage is pretty global and it's mostly free. Check out the SDK repo on GitHub.
Disclaimer: I contributed to this.

generate map path from csv addresses or kml/gpx points?

I have a list of 200 some addresses. I used geocommons to convert these addresses into long/lat coordinates in kml and gpx format. I need to generate a map by connecting all the points to create a path. What would be the best way to do this? Is there a service that automatically does this, or should I dabble into something like the google maps API?
You need links between the nodes to calculate some kind of path. To get a realistic path for say a car or a person you need a accurate road data. This is normaly something you pay for, at least where I come from, but maybe there some way to get it for free.
If you get the road data it will probably not in wgs84, rather in some local or national system and you probably have to convert your point in to that other coordinate system.
To do the calculations you could use some kind of "GIS-tool" like the Open Source QGIS. I'm not cure if they got a one-click solution for your problem but I believe you can solve it with this tool. There are also well-defined algoritms to solve it by hand, just search for Traveling Salesman Problem.
Regards

How do I find a place of business from geolocation information?

Let's say I'm just wondering around with my cellphone and I want to know exactly which place of business I'm in. This would seem to be easy, but I don't see away to do it. It's possible to reverse geocode but this gives an address range. Google doesn't seem to have http base local search using local information, because you could kind of guess from the local search or points of interest. It needs to be through an http API, not an ajax driven map. Is there a way to do this?
You might look at GeoAPI, which lets you search for businesses near a particular lat/lon coordinate and returns detailed information about the business (name, type, hours, etc.). It's a simple JSON API with good documentation and examples.
There's likely more APIs out there for local business data -- which I personally would love to hear about if people want to add them as answers to this question or comments on my answer. What's your favorite? What are the advantages and disadvantages?

Resources