Thank you again. 

I googled, but not being able to find Python code to generate plus code 
polygons at different level, any suggestions? 

On Wednesday, February 9, 2022 at 12:46:48 PM UTC-6 barryb...@gmail.com 
wrote:

> Well the docs say
> This service uses rate limiting to control abuse. If you make a lot of 
> requests in a short time, they may be rejected with status code 429 (too 
> many requests). If you wait a few seconds, you should get valid responses.
>
> ... so you could just do it 'slowly' .
>
> If really have a lot of requests - and its not just a one off job, perhaps 
> worth investing in running it locally. The code for the grid server 
> doesn't seem to be shared, but it is not that complicated. libraries for 
> many languages are available. 
>
>
> On Wed, Feb 9, 2022 at 6:14 PM yanli zhang <yan...@gmail.com> wrote:
>
>> Hi, there, 
>>
>> Another question regarding "be careful to avoid making too many 
>> requests", why this? 
>>
>> I need to have the polygons at level 5 for an area, it seems it is 
>> mission impossible unless I "cut" to small boxes and request again and 
>> again, any suggestions? 
>>
>> Thanks
>>
>> Yanli 
>>
>> On Thursday, December 2, 2021 at 9:50:43 AM UTC-6 barryb...@gmail.com 
>> wrote:
>>
>>>   Ah, didnt actully check the extent of the bounding box, But the docs 
>>> does say 
>>>
>>>    - Increasing the grid level is not possible, since that would 
>>>    increase the data generated by 400 times. But it is possible to reduce 
>>> the 
>>>    grid level from the automatically determined value by specifying it in 
>>> the 
>>>    request:
>>>
>>> So depending on extent, specifying levlel 4 may not be possible. 
>>>
>>> If you have a large area, could perhaps make a number of smaller 
>>> requests. Would have to subdivide the BBOX. 
>>> Of course be careful to avoid making too many requests. 
>>>
>>> -- 
>> Public site: http://www.openlocationcode.com/
>> Github project: https://github.com/google/open-location-code
>> Demo site: http://plus.codes/
>> --- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Plus Codes Community Forum" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/open-location-code/SwE5gC_Iaeo/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> open-location-c...@googlegroups.com.
>> To view this discussion on the web, visit 
>> https://groups.google.com/d/msgid/open-location-code/4b184fbe-2c74-4529-97f7-9f9347bee762n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/open-location-code/4b184fbe-2c74-4529-97f7-9f9347bee762n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
Public site: http://www.openlocationcode.com/
Github project: https://github.com/google/open-location-code
Demo site: http://plus.codes/
--- 
You received this message because you are subscribed to the Google Groups "Plus 
Codes Community Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-location-code+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/open-location-code/5b41cd98-af6d-4079-b758-da8e11c48a6bn%40googlegroups.com.

Reply via email to