Plus Codes appears to be a promising tool to help people locate themselves 
on the planet.  It looks much better than other systems like W3W, MGRS, & 
Maidenhead.
I approach this as a Geospatial professional and don't quite understand the 
structure yet.
Are there some graphics showing the OLC nested structure? The code isn't 
helping my understanding.
I would like to be able to download GIS polygon layers of the 4, 6, and 8 
digit codes.

Emmor

On Monday, October 23, 2017 at 3:55:08 AM UTC-7, Doug Rinckes wrote:
>
> Yes, or you can do it just with a couple of loops and you might not need 
> the library at all. The grid size is defined in degrees, so if you wanted 
> the xxxxxxxx+xx grid between 40 and 41 degrees latitude, and -122 and -121 
> degrees longitude, you just need a grid spaced at 0.000125 degree intervals:
>
> for lat = 40; lat <= 41; lat = lat + .000125 {
>   for lng = -122; lnt <= -121; lng = lng + .000125 {
>     // lat & lng denote the SW corner of a .000125x.000125 degree area for 
> 10 digit OLC resolution
>   }
> }
>
> A couple of points:
>
>    - if you want to draw a grid, your file will be much smaller if you 
>    use lines than if you use polys. A single 20x20 grid needs 42 lines, but 
>    400 square polys.
>    - depending on the programming language, it turns out that adding 
>    .000125 to a number 8000 times may experience rounding errors (hi, 
>    javascript!) making it very slightly less or more than the amount in the 
>    loop. You should be able to ignore this if you change the condition in the 
>    loop to something like lat <= (41 - 1e-10)
>
>
>
>
> Doug Rinckes, Technical Program Manager, Google Switzerland GmbH; 9GHJ+P88
>  Zürich <https://www.google.com/maps/search/9GHJ%2BP88%20Zürich>
>
> On Mon, Oct 23, 2017 at 11:55 AM, Pablo <geogra...@gmail.com <javascript:>
> > wrote:
>
>> Ok. 
>> I was thinking on something like download by OLC accuracy level, and get 
>> a GIS vector file with more or less polygons /points depending on this 
>> level (11, 10, 8...)
>> As I understand, by the moment the only way I can get it is specifying a 
>> network of points, and generating it by myself with the libray, isn't it?
>>
>> Thanks
>>
>>
>> 2017-10-23 11:41 GMT+02:00 Doug Rinckes <drin...@google.com <javascript:>
>> >:
>>
>>> Phil's right - downloading "the grid" for an area is a bit tricky, but 
>>> one thing we have been working on is providing a KML network link 
>>> <https://developers.google.com/kml/documentation/kml_tut#network-links>, 
>>> so that apps that support KML, like Google Earth, will be able to show a 
>>> grid that depends on the zoom/area.
>>>
>>> This isn't yet ready to push out but here's a couple screenshots:
>>>
>>>
>>> ​
>>>
>>>
>>>
>>> ​
>>> ​
>>>
>>>
>>> Doug Rinckes, Technical Program Manager, Google Switzerland GmbH; 
>>> 9GHJ+P88 Zürich <https://www.google.com/maps/search/9GHJ%2BP88%20Zürich>
>>>
>>> On Mon, Oct 23, 2017 at 11:06 AM, Philip Newton <philip...@gmail.com 
>>> <javascript:>> wrote:
>>>
>>>> On 23 October 2017 at 10:46, Pablo Pardo <geogra...@gmail.com 
>>>> <javascript:>> wrote:
>>>> > I as wondering if is
>>>> > possible to download all the grid in any GIS format (KML, geoJSON...)
>>>>
>>>> That's a bit like asking whether it's possible to download the
>>>> longitude-and-latitude grid, isn't it?
>>>>
>>>> The OLC grid is arbitrarily fine depending on how many symbols you
>>>> use, pretty much like the longitude-and-latitude grid; you would have,
>>>> for example, lines at not only 4° E and 5° E but also at 4.5° E, 4.05°
>>>> E, 4.005° E, 4.0005° E etc. etc.
>>>>
>>>> Cheers,
>>>> Philip
>>>> --
>>>> Philip Newton <philip...@gmail.com <javascript:>>
>>>>
>>>> --
>>>> 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 "open-location-code" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to open-location-code+unsubscr...@googlegroups.com 
>>>> <javascript:>.
>>>> To post to this group, send an email to open-loca...@googlegroups.com 
>>>> <javascript:>.
>>>> Visit this group at https://groups.google.com/group/open-location-code.
>>>> To view this discussion on the web, visit 
>>>> https://groups.google.com/d/msgid/open-location-code/CA%2BcwSm8TFwwfpHVuGFicoj6qhYmUVmkW4e8LT4QT%2BLyocfb0Kg%40mail.gmail.com
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>> -- 
>> 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 
>> "open-location-code" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to open-location-code+unsubscr...@googlegroups.com <javascript:>.
>> To post to this group, send email to open-loca...@googlegroups.com 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/open-location-code.
>> To view this discussion on the web, visit 
>> https://groups.google.com/d/msgid/open-location-code/CABZZnDroYtX8V8M4uivfWsQj7fBhEBv9%3DL9gH7Hnm_37UKtqrA%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/open-location-code/CABZZnDroYtX8V8M4uivfWsQj7fBhEBv9%3DL9gH7Hnm_37UKtqrA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 
"open-location-code" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-location-code+unsubscr...@googlegroups.com.
To post to this group, send an email to open-location-code@googlegroups.com.
Visit this group at https://groups.google.com/group/open-location-code.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/open-location-code/6345cfd6-d8c9-48cd-a1f5-4ecdd75054db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to