The proposed way of generalized shortening sounds like a reasonable suggestion.
onsdag 10. april 2019 10.25.59 UTC+2 skrev Doug Rinckes følgende: > > Hello everyone, > > On GitHub, Jon McPherson has raised an issue requesting clarification of > the Open Location Code specification. > > The question is, how should codes with fewer than 10 digits be handled by > the shorten method? > > "Shortening" a code works by using a reference location to work out what > digits at the start of a code are unnecessary. For example, the code > "8FVC9G8F+6W" can be shortened to just "9G8F+6W" using the location 47.26, > 8.62. > > But the spec is unclear on how codes with fewer than 10 digits, and > specifically codes with padding zeros should be handled. > > The questions are: > > 1. Should shortening of codes with only eight digits be allowed? E.g. > 8FVC9G8F+ > 2. Should shortening of codes with six digits be allowed? E.g., > 8FVC9G00+ > 3. Should shortening of codes with two or four digits be allowed? > E.g., 8FVC0000+ > > My feeling is that the answer to all of these should be yes, with the > requirement that a shortened code always returns at least two significant > digits. For example, 8FVC0000+, relative to the location 47.26, 8.62, is > shortened to VC0000+. > > This way, all codes are handled the same, regardless of the number of > digits they possess. > > If you have comments, please add them to the GitHub issue thread > <https://github.com/google/open-location-code/issues/273>. If you don't > have a GitHub account, reply here and I can forward them to the thread. > > Let's give this a minimum of a week and see what the comments say. > > 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> > -- 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/ba87caf8-6a6b-46f0-a95f-1b16c8362be0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.