Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reverse geocoding android pricing

If someone could help me. Is using geocoder free for android, currently i'm only using google maps. I see that it says that its only 2500 requests per day. Or is this only for web and something entirely different from mobile?

I am using the following code to get a zip code with a latitude and longitude.

 final Geocoder geocoder = new Geocoder(getActivity());
    try {
        List<Address> addresses = geocoder.getFromLocation(mLocationClient.getLatitudeCoordinate(), mLocationClient.getLongitudeCordinate(),5);
        for (Address address: addresses){
            if(address.getLocality()!=null && address.getPostalCode()!=null){
                Log.v("Zip code", " " + address.getPostalCode());
            }
        }
    } catch (IOException e) {
        e.printStackTrace();
    }

https://developers.google.com/maps/pricing-and-plans/#details

Just trying to make sure. I'm super confused on this and some clarification could help :) Thanks

like image 598
huey77 Avatar asked Mar 01 '17 15:03

huey77


People also ask

Is Google reverse geocoding free?

The Geocoding API uses a pay-as-you-go pricing model.

Is geocoding free for Android?

The Geocoder use is totally free.

How much does geocoding API cost?

It is expensive. It costs $5 per 1000 hits up to 100,000 hits. And onwards up to 500,000 hits, it will cost $4 per 1000 hits.

Is geocoding free?

While most geocoding services come with a hefty price tag or credit fee, QGIS offers several geocoding plugins for free. And the best part about QGIS is that it's completely open-source licensed under the GNU General Public License. In QGIS 3, geocoding is all in open source using the OSM Place Search plugin.


2 Answers

The Geocoder use is totally free.

The link you wrote is related to Google Maps and Google Places API, not the Geocoding API. This is the correct link:

https://developers.google.com/maps/documentation/geocoding/usage-limits

Anyway you are not using the Geocoding API with this code, you just using the Geocoder of Android.

This is the documentation to use the Geocoding API if you want: https://developers.google.com/maps/documentation/geocoding/intro

The Geocoding API works better than Geocoder normally but has usage limits and the implementation is bigger.

like image 167
MarcGV Avatar answered Oct 10 '22 17:10

MarcGV


Not any more. Google just decided to 10x their price for geocoding https://cloud.google.com/maps-platform/pricing/sheet/

like image 1
Ervin Ruci Avatar answered Oct 10 '22 15:10

Ervin Ruci