iOS - SKReverseGeocoderService reverseGeocoding gives generalised result not detailed - ios

I am using SKMap sdk from skobbler, everything works great, but while developing further, I found that the SDK doesn't provide much detailed information when I do offline geocoding, that is my requirement.
I am using following code
SKSearchResult *searchObject = [[SKReverseGeocoderService sharedInstance] reverseGeocodeLocation:coordinate];
Below I have demonstrate how the reverse geolocation giving generalised result mostly it gives you Street Names, rather than building, or location details, see the demo below I am pointing pin on a building it gives me adjacent street name always.
The problem I am facing is, I need to save the location as bookmark, so if I have couple of location nearby, I always get the street name which doesn't allow me to distinguish the saved bookmarks.
Please help, if I am missing anything, I am using the map completely offline.
Thank You.

Our reverse geocoder only returns address information (no house number), it does not return POI information.

Related

Proximity Based Search without user location swift

I'm working on an app which utilizes Google Places API in order to find locations based on a users search. I've implemented the search with the help of the UIAutocomplete (Google Places), but unfortunately, it is not location based (until the user provides authorization). I was wondering if there is a way to get the users location through their IP address or otherwise using Swift. I don't need a precise location, the city would be enough.
I've searched for a while and there doesn't seem to be any other way of doing this, so if you know of an API which can return the city the user is currently in, that would be great.
Thanks for all the help,
Vlad
I don't think the system frameworks allow you to get the user's remote IP address anymore. A solution for you might be to use a website like http://mylocation.org/, which shows your IP address and location. Perhaps you can make a request to this website and parse out the HTML that comes back to get the location. Please note, this isn't the most accurate way of getting the user's location and you would be much better off using the CoreLocation framework.

Need help on geolocation API

I need to implement street view, but it seems that google does not have that capability for India.
I want that The map should be dynamic and the customer should be able to see point of interest near a specified point and within a given radius or zip code.
I need to geocode and reverse geocode
Can somebody share an idea and one quick example of this.
if you want to get places of interest near by some location, then I would suggest using HERE PLACES API for that task. The site should also include nice examples for the API. Also its simple REST API, so it would work in any platform really.

Is it possible to use CoreLocation/MapKit to find addresses near a Latitude/Longitude?

I am developing an iPhone app for iOS 6.1 or later. I would like to have a feature that would provide the user a list of addresses that are nearby. I know I can use a geocoder with a reverseGeocodeLocation call to get the address of a specific latitude/longitude. But what I need is not just that address, but also, a few (maybe 10) addresses that are near that address.
The MKLocalSearchRequest doesn't seem to support any kind of search request that would return that information. (I am not searching for hotels, or restaurants, etc., just any valid nearby addresses) Does anyone know of a way to do this?
There's no API for that, the only thing I can think of is using a for loop and increasing manually latitude/longitude and reverse geocoding.
After doing more research into other map API's from third parties (Google, Mapquest, Bing) I have still been unable to find one that provides this functionality. The answer to my question therefore appears to be that it currently can't be done. The only solution to my problem was to have a complete list of addresses geocoded in a database. (Fortunately for me, my organization has such a database available.)

Geolocation and getting a city from an input address (Rails)

The app I'm building needs to be able to match up users to events based on the city/town they're in. I'm still relatively new to Rails and completely new to Geolocation and using locations in an app. I'd figured on a design where users have one or many cities, and events would have one city which I'd hoped to extract without specifically asking the user for it, by getting it from the event address entered.
Mostly to provide some outside checking to help get the address entered correctly and consistently, but also to show a map, I installed this jquery address picker (https://github.com/sgruhier/jquery-addresspicker). Unfortunately the data returned by Google doesn't include a city but a "locality" or an "administrative area" that doesn't correlate reliably to city names. The localities being returned are more like what we in my home town would call "suburbs". What I need to procure is a city so I can allow users to search all events in their city rather than just the ones in their suburb.
Can anyone offer advice on how I could go about doing this? Many thanks.
Edit: Should maybe add that I'm wanting to do geocoding client-side so I don't run into problems with Google Maps limits or have to pay for geocoding etc.
There are some gems that provide you with that and may others geo related features, like calculating distances.
Here are the 2 most famous: https://github.com/alexreisner/geocoder and https://github.com/imajes/geokit
In the future I highly recommend you to head to https://www.ruby-toolbox.com/ to see what is available as a gem already and see what is the most popular at the moment.
For raw address info, use Google Maps API Reverse Geocoding which accepts lat/lon inputs and returns street address components. Modern browsers support location awareness (geolocation), with user permission, and will give you a lat/lon that "tends to be close" to where the browser is. That will probably get you a correct city/town in most cases.
The maps API is part of Google's broad suite of API tools -- there are gems that handle any Google API (well, most of them), or check out Google Maps for Rails, which will at the very least give you a good head start on how to use the API.
But if you're looking to validate postal code, this method will come up short, since the location awareness will vary in accuracy depending on browser, device (more accurate for mobile), the connection, population density, network coverage, and so on. Also, calling the
If you can get GPS-accurate lat/lon then it will be much more accurate ... except in some cases like in large cities, a single building will have its own postal code, so a few feet one way or the other might matter.

Need to turn query into lat and lon using Bing API, works for some, but not all

General geocoding is not problem. I can put in a city or stae or what ever specific location and usually geocode correctly using Bing. What I cant do is geocode things like intersections or fuzzy locations. My example is "I25 and Colorado blvd". In the Bing Maps site, this has no problem finding exactly what I am looking for. When I use geocode or the bing maps search nothing is found. Anyone have any clues how I can do something like this?
You could start by adding the state and country name in the query.
Also, I assume you're using VEMap.Find, so you may want to try calling the Locations API directly (especially as Find is no longuer available in the most recent version of the Ajax API):
It might give a more explicit error message to help understand why it doesn't return a position.

Resources