How to find Location using Zipcode? - iphone

I am new iphone developer,please help to me.how can i find particular shops list in particular Zip Code.. that means i need to place pins in Some shops by searching Zipcode
Thanks in advance

I'm not sure there's a definitive "Right Way" to do what you're asking, but if it were me...
I would probably use Google's Places API to get a list of so-called Places (I gather this includes a fairly comprehensive list of businesses, as well as other points of interest) near the user. The API requires lat/long coordinates to resolve the list, you could either get that data from the user's iOS device (I don't develop for this platform so I can't give specifics) using Apple's location API, or if you really want to do a lookup by zipcode you might want to look at Google's Geocoding API. Keep in mind that Google's services are by no means the only game in town, and there are certainly other ways to do what you ask. But if it was me, this seems like the simplest solution

Related

How to get polygon co-ordinates for a location searched on google maps. Maps API

I want to know if there is any way to get a city/suburb/postal code's outer boundary coordinates, so as to be able to draw a polygon on the map.
I have read through the google maps API documentation (Places, Maps, and Routes) and I can't find anywhere where they provide this information.
Native in google maps if you search for a city google maps will draw a polygon around the city edges. Drawing the polygon is not the issue I just want to know how to get the polygon points for any given location.
I have searched and all the available answers are either very old or provided only a community maintained polygon database, that is not guaranteed to have your location mapped.
So my question is, do google maps APIs expose some function to get these coordinates, or is there some reputable well maintained service where this information can be obtained from?
I am using it in a flutter applicant making use of google_maps_flutter.
These are some of the resources and other links I found but seem dated.
Resource 1
Resource 2
Googles Docs
Please please help.
I'm not sure that the Google Maps API offers this functionality, but I trust that you've dug through enough of their documentation to find that they don't.
I suggest looking at Nominatim, which queries data from OSM (OpenStreetMap). They're free to use and community-driven - which can be both awesome and scary (eg. you can't assume "permanent ID"s for the things you query)
Relevant Links:
https://nominatim.org/release-docs/latest/api/Overview/
https://nominatim.openstreetmap.org/ui/search.html
Otherwise, you could also try looking for other tools that allow you to download datasets of boundary coordinates (eg: GADM) but you'd have to find one that has the level of granularity you need and read up on their usage policies (most disallow use for commercial purposes).
Unfortunately the world of GIS and digital cartography is one that can get pretty complicated and that I'm no expert in, but I hope this helps somewhat.
Listing other resources I've found that are rather outdated, but could still be helpful:
Google Maps how to Show city or an Area outline
Add "Search Area" outline onto google maps result

Googles Places API

We are developing an application that utilizes several of the supported place types in the Google Places API. But, we have noticed that the supported type, restaurant code, is different from the restaurant info you would find at the bottom page of a Google page on a smart phone. Example; the restaurant info given from a smart phone provides restaurant details and location. The one listed in Google Places API does not show the same info. Please inform us how we can obtain the codes for the same info that’s provided on the Google page from a smart phone. Is it free or part of a premium deal with Google? Thanks, and I hope this is clear.
Arthur
The Google Places database is different from Google Maps.
I'd imagine that at some point, Google would unite the two.
You could match by lat/long & name. This would probably work for at least half the time. The other half means the name & lat/long from both databased maybe a little different.

Showing nearby specific business offices in table view cells using iphone GPS

There are lots of similar questions but my question is different in that sense i got coordinates of my current location in my application.
But now i want to show specific business offices in table view around that coordinates. I know ReverseGeoConding is answer to that but i cant find suitable tutorial or advice on this. How can i implement it.
Please suggest .
Reverse Geocoding will provide you with address information for the coordinates provided. In order to get businesses around those coordinates, you may want to look into external APIs. I believe Facebook has a Places API and Foursquare has an API as well. These may be able to provide you with local business information.

Geolocation APIs: SimpleGeo vs CityGrid vs PublicEarth vs Twitter vs Foursquare vs Loopt vs Fwix. How to retrieve venue/location information?

We need to display meta information (e.g, address, name) on our site for various venues like bars, restaurants, and theaters.
Ideally, users would type in the name of a venue, along with zip code, and we present the closest matches.
Which APIs have people used for similar geolocation purposes? What are the pros and cons of each?
Our basic research yielded a few options (listed in title and below). We're curious to hear how others have deployed these APIs and which ones are ultimately in use.
Fwix API: http://developers.fwix.com/
Zumigo
Does Facebook plan on offering a Places API eventually that could accomplish this?
Thanks!
Facebook Places is based on Factual. You can use Factual's API which is pretty good (and still free, I think?)
http://www.factual.com/topic/local
You can also use unauthenticated Foursquare as a straight places database. The data is of uneven quality since it's crowdsourced, but I find it generally good. It's free to a certain API limit, but I think the paid tier is negotiated.
https://developer.foursquare.com/
I briefly looked at Google Places but didn't like it because of all the restrictions on how you have to display results (Google wants their ad revenue).
It's been a long time since this question was asked but a quick update on answers for other people.
This post, right now at least, will not go into great detail about each service but merely lists them:
http://wiki.developer.factual.com/w/page/12298852/start
http://developer.yp.com
http://www.yelp.com/developers/documentation
https://developer.foursquare.com/
http://code.google.com/apis/maps/documentation/places/
http://developers.facebook.com/docs/reference/api/
https://simplegeo.com/docs/api-endpoints/simplegeo-context
http://www.citygridmedia.com/developer/
http://fwix.com/developer_tools
http://localeze.com/
They each have their pros and cons (i.e. Google Places only allows 20 results per query, Foursquare and Facebook Places have semi-unreliable results) which can be explained a bit more in detail, although not entirely, in the following link. http://www.quora.com/What-are-the-pros-and-cons-of-each-Places-API
For my own project I ended up deciding to go with Factual's API since there are no restrictions on what you do with the data (one of the only ToS' that I've read in its entirety). Factual has a pretty reliable API, which as a user of the API you may update, modify, or flag rows of the data. Facebook Places bases their data on Factual's, just another fact to shed some perspective.
Hope I can be of help to any future searchers.
This is not a complete answer, because I havn't compared the given geolocation API, but there is also the Google Places API, which solves a similiar problem like the other APIs.
One thing about SimpleGeo: The Location API of SimpleGeo supports mainly US (and Canada?) based locations. The last time I checked, my home country Germany doesn't has many known locations.
Comparison between places data APIs is tough to keep up to date, with the fast past of the space, and with acquisitions like SimpleGeo and HyperPublic changing the landscape quickly.
So I'll just throw in CityGrids perspective as of February 2012. CityGrid provides 18M US places, allowing up to 10M requests per month for developers (publishers) at no charge.
You can search using a wide range of "what" and "where" (Cities, Neighborhoods, Zip Codes, Metro Areas, Addresses, Intersections) searches including latlong. We have rich data for each place including images, videos, reviews, offers, etc.
CityGrid also has a developer revenue sharing program where we'll pay you to display some places as well as large mobile and web advertising network.
You can also query Places via the CityGrid API using Factual, Foursquare and other places providers places and venue IDs. We aggregate data from several places data providers through our system.
Website: http://developer.citygridmedia.com/

Are there free webservices that I can use to fetch data in combination with Core Location

I am new to GPS.If i send "hotels" in label , any free webservice is available to see them as map?any tutorial please? is there any free webservice to give location name if i give current latitude & longitude values?
Taking your questions one by one :
is there any free webservice to give location name if i give current latitude & longitude values?
This is called reverse geocoding and it's in the SDK already - check out the docs here.
any free webservice available to see them as a map
A quick google search for 'hotels api' found a few results for hotels data feeds like this one.
You will also need to read the documentation for MKMapView - there are a few sample apps linked from that page that it's worth downloading and seeing how they work.
any tutorial please
Google for it - a quick search for 'map kit tutorial' returns this as the first link.
PS One of the best ways to get your question ignored is to ask more than one thing at once - you've asked three questions here and seem to have made no effort to find out the answers yourself first - people generally don't like that (take a look at the comments if you don't believe me!)
If you have more than one question, ask them separately here on stack overflow and give some examples of things that you have tried already :)