i have an online ordering website. The users can enter their address in the site.
The address needs to be geocoded and the nearest stores are to be displayed to the user. Basically i need to get the lat and lng of the address entered by user.
Can i use bing maps javascript api for this purpose?
Does this have any licensing issue? I am thinking of a geocoding api which is free.
Any help would be appreciated.
Yes, you can use Bing Maps for this. Since this is a public facing website, this would be licensed using a transactional licensing option. Bing Maps does offer free usage of the service for these types of apps as well. I recommend generating a Bing Maps key to use with the service through Azure: https://azure.microsoft.com/en-us/marketplace/partners/bingmaps/mapapis/ This will allow you to move to a paid license if needed very easily and in much smaller increments and prices than what you will normally come across.
Related
I am using a skobbler map web API with leafletjs, and I want to implement the search feature (like Google maps Geocoding API), given a name of the city or address of a place it should return approximate or exact geocode (lat, lng). is there such an API exist with skobbler or I have to use 3rd party api and feed data to skobbler?
I am trying to implement some feature of maps.skobbler.com but not all of them just a text search is what I am looking for.
Currently skobbler/Telenav does not offer an online geocoding service on the standard plan.
On mobile you can access this functionality once you download the map data as an on-board package but on mobile you will need to integrate (delegate to) another geocoding service.
I read the Bing documentation but can't find a way to query Bing for local listing information such as name, address, phone, website, claimed or not, number of reviews and some snippets, and images associated with the listing if any, etc. Is there any RESTFul search API for this purpose? Could you point me to the correct API?
Thank you a lot.
You will be able to find this kind of information in Bing Maps for Enterprise platform.
Here some links that might be helpful:
Bing Maps REST Spatial Data Service (Public Data sources):
NAVTEQEU: http://msdn.microsoft.com/en-us/library/hh478193.aspx
NAVTEQNA: http://msdn.microsoft.com/en-us/library/hh478192.aspx
Bing Maps REST Location API, if you're looking for geocoding and places:
http://msdn.microsoft.com/en-us/library/ff701711.aspx
Bing Maps SOAP Search service (consider not using it, I recommend to use REST instead of this one)
http://msdn.microsoft.com/en-us/library/cc980849.aspx
Bing Search 2.0 also includes location information, see on Azure Data Markeplace:
http://datamarket.azure.com/dataset/bing/search
You should be able to find what is appropriate to your needs and also keep in mind the licensing associated to those platform and services.
I am working on a commercial application on iPhone that is using google map. I have Google map api premier client id and cryptographic key to use google map for some limited services like "directions".I generated the signature key using this code:
http://code.google.com/p/gmaps-samples/source/browse/trunk/urlsigning/urlsigner.m?spec=svn2498&r=2498
But still the WS claims "too many connections".
Is there any problem for using Google Maps API Premier in iPhone?
Please Help.
Also, you can learn more on the quota on Maps API web services for Business users, here:
https://developers.google.com/maps/documentation/business/faq#usage_limits
Most likely not related to the use of the API from iPhones.
I would suggest that you open a case with Maps API for Business Support Team (new name for Maps API Premier). You can do it under:
http://support.google.com/enterprisehelp/bin/answer.py?hl=en&answer=142858&rd=1
If you don't yet have access you can also submit a request using a form:
http://support.google.com/enterprisehelp/bin/answer.py?hl=en&answer=142246#request
Putting the error messages aside , it seems alarming that you want to use server side geocoding from an iPhone. The problem with this is that you won't be able to scale as your user base grows since your limits are set.
Instead you should try reading on client side geocoding.
There is a really good article that explains how to make this decision:
https://developers.google.com/maps/articles/geocodestrat
"too many connections" does not sound like an error message you might be getting from Google Servers, but rather something to do with the platform. If you contact support they will be able to check that for you.
I hope that helps!
In my iPhone application I find the latitude and longitude using the location API available. I want to reverse geocode that and get the country code. But without using 3rd party or external API call I would like to get it. When researching I found that MKReverseGeocoderDelegate will be useful for this. But I dont have any requirement to use google maps. I want to know whether my approach is ok to get the current country where user resides.
Thank you
From the MKReverseGeocoder class reference:
The Google terms of service require
that the reverse geocoding service be
used in conjunction with a Google map;
take this into account when designing
your application's user interface.
So, that means you can't use it without using Google Maps (MKMapView).
I recommend looking at an existing SO question that covers what you want to do - How to get user's country information
I've seen that it's possible to get the latitude and longitude (geocoding, like in Google Maps API) from a street address, but is it possible to do the reverse and get the street address when you know what the lat/long already is?
The application would be an iPhone app (and why the app already knows lat/long), so anything from a web service to an iPhone API would work.
Google again
http://nicogoeminne.googlepages.com/documentation.html
http://groups.google.com/group/Google-Maps-API/web/resources-non-google-geocoders
Google now supports reverse geocoding in both JavaScript API and webservice over HTTP. Request looks like this:
http://maps.google.com/maps/geo?output=xml&oe=utf-8&ll=LAT,LON&key=API_KEY
Note, you must change LAT to latitude, LON to longitude and API_KEY to be you Google Maps API key. Service return results on on countries which geocoding marked as YES in following spreadsheet:
http://gmaps-samples.googlecode.com/svn/trunk/mapcoverage_filtered.html
More info should be found soon from official documentation:
http://code.google.com/apis/maps/documentation/services.html#Geocoding_Direct
This is called "reverse geocoding", and there do exist web services that will provide this functionality.
I'd urge being wary of the quality, scaling, and reliability of free services, but here's a place to start: http://www.geonames.org/export/reverse-geocoding.html
iPhone OS 3.0 now has the MKReverseGeocoder class for precisely this purpose.
You can also use LINK REMOVED library for that purpose. MKReverseGeocoder is nice but it requires you to use it with a Google map. From MKReverseGeocoder reference documentation:
The Google terms of service require that the reverse geocoding service be used in conjunction with a Google map; take this into account when designing your application’s user interface.
SSLocationManager might be an alternative in the case your application does not use a Google Map but just needs to access detailed information about the current location having only latitude and longitude data at hand. It uses Yahoo! PlaceFinder API. Hope this helps.