Hey Johnny, No need to modify the internals of the library. Simply pass the number of digits you want to encode(), e.g. encode(47.365590, 8.524997, 11).
You can create longer plus codes to get even more precision. 12-digit codes will be roughly 55x86cm. 13-digit codes will be roughly 11x21cm. The libraries will create plus codes up to 15 digits precision. On Sun, May 26, 2019 at 8:52 PM Johnny Walker <mag3...@gmail.com> wrote: > Hi, I would like to get down to 3m x 3m and possibly 1m x 1m resolution. > > I have looked at the openlocationcode.py python code and have changed > PAIR_CODE_LENGTH_ to 11 but this is giving me errors, as longitudinal > values are of the order of 1000 when decoding back. > > I have played with modifying other parameters, but can't get this to work. > > Is it also possible to go less than 3m x 3m i.e. 1m x 1m? I really need > this capability. If not, are there other options/solutions available? > > Thanks for any help > > J > > -- > 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/c558fdb9-345d-4120-ac2e-9425bde62392%40googlegroups.com > <https://groups.google.com/d/msgid/open-location-code/c558fdb9-345d-4120-ac2e-9425bde62392%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/CAOOjiHesRg9%2Bm3n8N9u%3DHV_HhDBGqT1WwWUTEJcwkms2%3DoyOKw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.