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 <javascript:>> > 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 <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/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 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/302e46e3-6a33-424e-a32c-6451980f43b0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.