I have a data base of 1.5 lac USA locations and for each location I have to find latitude(lat) and longitude(long).
Currently I am using geocode API (http://code.google.com/apis/maps/documentation/geocoding/index.html) for getting lat,long for these locations but there is a limitation that only 2500 locations are to be processed in a single day. But it would be very time consuming to fetch the lat long for 1.5 lac locations with that as it would take around 45 days to complete this task.
Is there any other API available for getting the lat, long for these 1.5 lac USA locations in a single day.
Thanks in Advance.
Regards
Arun Kumar
You could try Google Maps API for Business, which gives you 100K a day.
try this
http://www.gpsvisualizer.com/geocoder/
http://www.batchgeo.com/en/
then store the geopostions in a database
Related
I would like to analyse the locations of electric vehicle charging stations for Germany, Italy and France. Those three countries, because they differ quite a lot in regard to their respective incentive programmes for public charging station infrastructure.
What I have so far are .csv exports from both OpenChargeMap and OpenStreetMap containing the location data (latitude and longitude) of all charging stations in those three countries along with a few other information that I can process in R.
What I would like to do now is some sort of reverse geocoding on those latitude and longitude coordinates to retrieve additional information on the surroundings. Especially, whether the respective charging station is located in a residential area in a city for example or at a rest stop on the highway. By knowing at what kind of locations the charging stations are placed in those three countries I am hoping to be able to draw conclusions regarding the incentive programmes. I'm not looking for specific addresses in this case, but rather an API or another way to process thousands of coordinates and retrieve information regarding for example population density or any other piece of data from which I could derive conclusions.
I have tried to get OpenStreetMap exports to work, but unfortunately I cannot seem to be able to query for the 'landuse' attribute through the Overpass Turbo API. This is my basic query that I'm using in this specific API, but as soon as I query for ["landuse" = "residential"] instead of ["landuse" = ""] I get prompted empty fields as result.
I found an API from Google which would offer lookup for various address components/types. Unfortunately, registering an API key at Google is not quite realistic for the scope of my work. Does somebody know of a (preferably FOSS) API that is able to do something like this? Or even how to make a 'landuse' query work in the Overpass Turbo API linked above?
Thank you in advance for your time.
Your Overpass API query is looking for elements that are tagged as amenity=charging_station and landuse. This is rather uncommon since charging stations and landuse are mapped as distinct objects. Instead you need to look around charging stations for landuse elements.
So instead of
area["ISO3166-1"="DE"]->.a;
nwr(area.a)["amenity"="charging_station"]["landuse"=""];
you will need a query like
area["ISO3166-1"="DE"]->.a;
nwr(area.a)["amenity"="charging_station"];
way(around:200)["landuse"];
This searches for ways with a landuse tag located within 200 meters of charging stations.
Note that this is a rather heavy query. You should probably use your own Overpass API server for it.
one of my client they using here map and api, for the bellow lat lon they get this
23.759769,90.411991
South 75m,Ideal Trade Centre,Madhubag, Dhaka Bangladesh
but when i am using
https://places.demo.api.here.com/places/v1/discover/around?at=23.7598%2C90.412&show_content=&Geolocation=geo%3A23.7598%2C90.412&X-Mobility-Mode=drive&Accept-Language=en-GB&app_id=5B88sPuZ1iyF3RjMLnqK&app_code=jcz5u1RQZ4HiY7FJLD0bvA
this give me
{ Siddik School } 21
{ Mamataz Bakery } 39
{ Ahad Bakery House } 45
etc
I need a help to understand how they getting bellow result from here API for that lat/lon
75m,Ideal Trade Centre,Madhubag, Dhaka Bangladesh
if some one can hellp me to understand what i am missing i would be really greatfull
It could be that your client is using the Reverse Geocode API, while you're trying to look for places at that same location, using the Places API. Note that the Reverse Geocode has more modes available than retrieveAddresses.
However, there are several ways your client could get to such result. For example, /discover/around filtered on business-services category returns Ideal Trade Centre among other places: example
Your best bet is to ask your client how exactly they are using the API.
I'm currently using the isoline api to create a coverage area around Seattle,WA based on time traveled.
https://isoline.route.api.here.com/routing/7.2/calculateisoline.json?app_id=<APP_ID>&app_code=<APP_CODE>&mode=fastest;car;traffic:disabled&rangetype=time&start=geo!47.6062,-122.3221&range=32400
However, I've noticed a few sections of map in Washington state that are never covered, even when the time distance is set to the max of 9 hours.
All of these places are reachable by car/bike/walking and Ocean Shores takes me less than 3 hours to drive to - and with 9 hours of driving I could easily make it into California or Montana.
So is this a Here-API bug/limitation or is there something wrong with the way that I am making the call?
Thank you and any help and all help is always appreciated
I'm trying out the Distance Matrix API but I can't make it work for London Ontario. It always comes back with London UK. My HTTP request is https://maps.googleapis.com/maps/api/distancematrix/json?origins=Ajax+ON&destinations=London,%20ON&key=
All other Candian cities are coming back fine. I can resort to Lat and Lon but I just wanted to check if there is a workaround by using the city name.
Thank you for your help!
MJ
It looks like my country wise data in google analytic is wrong or else I'm unable to understand the way that GA track Geography data.
My total monthly users is 1.3 million and when I go for country wise data then India has 1.5 million unique users.
Why my total website data is less than India data?
Make sure you are looking at the same metric User and User
Make sure you are not under sampling (there are no pre-aggregated report in GA with geo location) - try selecting only one day (not today) and see if you get the right number