Hi Gagani,

Did you go through the steps mentioned in created a billing account for the
cloud platform?
Could you please send the changed code? Did you do the code change to the
constructor of the Geocoder[2]?

1.
https://cloud.google.com/maps-platform/?__utma=102347093.1933502197.1539791031.1539792263.1539792263.1&__utmb=102347093.0.10.1539792263&__utmc=102347093&__utmx=-&__utmz=102347093.1539792263.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)&__utmv=-&__utmk=132343310&_ga=2.9930102.252852657.1539791031-1933502197.1539791031#get-started
2.
https://github.com/wso2-extensions/siddhi-execution-geo/blob/46408097bdf421e15765b339f7dba5d6fe5323b8/component/src/main/java/org/wso2/extension/siddhi/execution/geo/ReverseGeocodeStreamFunctionProcessor.java#L90

Best regards,
Ramindu.


On Tue, Oct 16, 2018 at 1:40 PM Gangani Ariyarathne <gang...@wso2.com>
wrote:

> Hi all,
>
> I've used geocode(stream function) of Geo-extension of Siddhi to find the
> latitude and longitude values by giving the location. That stream function
> doesn't work as expected and gives "OVER QUERY LIMIT" error after running
> my siddhi application a few times. I did a background search on this error
> and below are the results:
>
>    - As I found Siddhi uses Google Map API for this and they use this
>    without a developer's account.
>    - This error normally happens due to exceeding the Google Maps
>    Platform web services usage limits by sending too many requests per day,
>    sending requests too fast, sending requests too fast for too long or
>    otherwise abusing the web service [2]. But without these reasons also I'm
>    receiving the same error message.
>    - That Google's geocode provides another way to use that by
>    configuring a paid developer's account for the Google Map API[3]. I tried
>    that one also by fixing the siddhi function at the code level. But the
>    error still remains the same.
>
> Below is the error that I encountered while executing the siddhi
> application which uses geocode function.
> [image: Screenshot from 2018-10-16 09-46-03.png]
>  I've posted a Git Issue[1] related to this error.
>
> Any help would be highly appreciated.
>
> [1] https://github.com/wso2-extensions/siddhi-execution-geo/issues/47
> [2]
> https://developers.google.com/maps/premium/previous-licenses/articles/usage-limits
> [3]
> https://developers.google.com/maps/documentation/maps-static/get-api-key
>
> Best regards,
> --
>
> *Gangani Chamika*
>
> *Intern - Software Engineering*
> *WSO2*
> <https://wso2.com/signature>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 
*Ramindu De Silva*
Senior Software Engineer
WSO2 Inc.: http://wso2.com
lean.enterprise.middleware

email: ramin...@wso2.com <sanj...@wso2.com>
mob: +94 719678895
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to