Thanks for that.

If I understand TMS correctly, it serves image tiles, right? Or can it also
serve GeoJSON vector (which might be easier)?

If so, the tiles would be transparent PNGs, with:

   - the lines on them
   - a fine grid level (say, for the 10 digit, normal precision, grid)
      - the next larger grid level (for the 8 digit grid)
   - labels
      - the row and column digits for the fine grid
      - the larger grid code (in the center or in the corners or something)

The grid levels displayed will depend on the zoom level. (We might want to
include a parameter so you can "nudge" it up or down from the default, but
in comparison to everything else that would be easy.)

Does that sound right?

BTW if anyone knows *anything* about writing a TMS server, and might be
able to help with advice, that would be great.

Ngā mihi,
Doug Rinckes, Technical Program Manager, Google Switzerland GmbH; 9G8F+6W Zü
rich <https://www.google.com/maps/search/9G8F%2B6W%20Z%C3%BCrich>


On Mon, 13 Aug 2018 at 16:41, Blake Girardot <bgirar...@gmail.com> wrote:

> HI Doug,
>
> We need the scale-able grid like we get with graticules now.
>
> For us to use it we need to see it, understand it and use it at scale, not
> at the look up an individual building level, all though that will come from
> having access to it in our existing tools.
>
> Please see this tweet of a mock of up on how we work and why having a
> graticule like grid overlay in our tools would make such a difference to
> our ability to evaluate and use:
> https://twitter.com/BlakeGirardot/status/1028689726088388609
>
> Having it as a TMS layer would it it into a lot of our tools right away as
> they all support TMS now, especially the ones we use for large and small
> scale project planning.
>
> I hope that helps, I really look forward to getting OLC support into more
> of the open geospatial tools that humanitarian organizations around the
> world use every day!
>
> Cheers,
> Blake
>
> On Mon, Aug 13, 2018 at 7:15 AM, Doug Rinckes <drinc...@google.com> wrote:
>
>> I think generating something like this is easily possible. I'm happy to
>> open this up to understand what you would actually like it to output.
>>
>> Specifically, do you need something like a TMS service, or if there was a
>> web form where you entered the coordinates and got a geojson or kml file
>> would that be sufficient?
>>
>> Ngā mihi,
>> Doug Rinckes, Technical Program Manager, Google Switzerland GmbH; 9G8F+6W
>>  Zürich <https://www.google.com/maps/search/9G8F%2B6W%20Z%C3%BCrich>
>>
>>
>> On Sun, 12 Aug 2018 at 00:55, Blake Girardot <bgirar...@gmail.com> wrote:
>>
>>> Hi Doug,
>>>
>>> What Emmor and Pablo are asking for is the same thing I need. Some of us
>>> would like to visualize the grid in our existing tools, which means either
>>> a KML, shapefile or a TMS end point to a transparent rendering of them we
>>> can use in our tools.
>>>
>>> Generating one ourselves is a bit beyond many of us, well, at least
>>> myself.
>>>
>>> This same topic, OLC grid for overlaying also applies to our integration
>>> with other tools like Fieldpapers and the HOT Tasking Manager.
>>>
>>> So it would be great to figure out a good way make this possible. It is
>>> just a tiny bit beyond me.
>>>
>>> I love the examples you posted up thread, we just want the same sort of
>>> grid in our tools, kml, shapefile, geojson, TMS layers all work for us.
>>>
>>> Cheers!
>>> Blake
>>>
>>> For reference, the issues I created related to this on other projects I
>>> contribute to:
>>>
>>> https://github.com/hotosm/tasking-manager/issues/1158
>>>
>>> https://github.com/fieldpapers/fieldpapers/issues/288
>>>
>>> Cheers,
>>> Blake
>>>
>>> On Wednesday, March 7, 2018 at 4:32:49 AM UTC-5, Doug Rinckes wrote:
>>>>
>>>> Hi Emmor,
>>>>
>>>> You can turn on the grid display using the map at plus.codes/map/. As
>>>> you zoom the grid redraws to more or less detail. We're also working on
>>>> other material but I can't give timelines yet.
>>>>
>>>>
>>>> Ngā mihi,
>>>> Doug Rinckes, Technical Program Manager, Google Switzerland GmbH;
>>>> 9GHJ+P88 Zürich
>>>> <https://www.google.com/maps/search/9GHJ%2BP88%20Zürich>
>>>>
>>>> On 6 March 2018 at 18:56, Emmor Nile <emmor...@gmail.com> wrote:
>>>>
>>>>> 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> 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>:
>>>>>>>
>>>>>>>> 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> wrote:
>>>>>>>>
>>>>>>>>> On 23 October 2017 at 10:46, Pablo Pardo <geogra...@gmail.com>
>>>>>>>>> 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>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> 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-loca...@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/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.
>>>>>>> To post to this group, send email to open-loca...@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/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 email to open-loca...@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
>>>>> <https://groups.google.com/d/msgid/open-location-code/6345cfd6-d8c9-48cd-a1f5-4ecdd75054db%40googlegroups.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 "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 post to this group, send 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/302e46e3-6a33-424e-a32c-6451980f43b0%40googlegroups.com
>>> <https://groups.google.com/d/msgid/open-location-code/302e46e3-6a33-424e-a32c-6451980f43b0%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>
>
> --
> ----------------------------------------------------
> Blake Girardot
> OSM Wiki - https://wiki.openstreetmap.org/wiki/User:Bgirardot
> HOTOSM Member - https://hotosm.org/users/blake_girardot
> skype: jblakegirardot
>
> --
> 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 post to this group, send 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/CABmB%2B%2BScOcVhLsawO%2BOscNNok1LObvv-5pmg_k434E-DZxxLJg%40mail.gmail.com
> <https://groups.google.com/d/msgid/open-location-code/CABmB%2B%2BScOcVhLsawO%2BOscNNok1LObvv-5pmg_k434E-DZxxLJg%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 "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 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/CAGFr2LKTuK42NdOmB8WaMn7Js3Q%2BefNTWt6ArACUtjjkWpO9cQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to