Comment 20 for bug 1508169

Revision history for this message
Zhang Enwei (zhangew401) wrote : Re: [Bug 1508169] Re: com.canonical.scopes.nominatim does not provide localized address

Got it, Thank you Kyle.

On Fri, Nov 6, 2015 at 9:07 PM, Kyle Nitzsche <email address hidden>
wrote:

> Hi Enwei,
>
> On 11/05/2015 05:44 PM, Zhang Enwei wrote:
> > Hi Kyle,
> > Thank you.
> > 1. Probably I didn't express clearly. I mean I will take the LC_ADDRESS
> string as a standard.
> > I will try to map the info I got from OSM to the string. Rules as
> follows.
> > %f: one of company or corporation that is not empty.
> > %d: department if it is not empty.
> > %b: building if it is not empty.
> > %h: one of housenumber or house_number that is not empty.
> > %s: one of street, road or block that is not empty
> > %b: one of building or door that is not empty.
> > %c: country if is not empty.
> > %S: one of state, province or prefecture that is not empty.
> > %T: one of town, city, village, hamlet or county that is not empty.
> > suppose the data I received contains "village", "county", "part-of-city"
> and "city", I don't know how to arrange their positions in the string, so I
> will abandon "part-of-city" and choose one of "village", "county" and
> "city".
> Regarding %T. I think city is the preferred one. So if you have to
> choose between city and any of the others, please choose city.
> > 2. According to Comment 11, I found the LC_ADDRESS for Indian is also
> wrong.
> > Thank you very much.
> Use the correct format, if you have it.
>
> Thanks!
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1508169
>
> Title:
> com.canonical.scopes.nominatim does not provide localized address
>
> Status in Canonical System Image:
> Triaged
> Status in The Savilerow project:
> In Progress
>
> Bug description:
> com.canonical.scopes.nominatim scope in hanloon project is aggregated
> by NearBy scope.
>
> It provides the user's current address.
>
> A bug was filed against NearBy saying the address is not localized.
>
> This can only be fixed in the nominatim child scope.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/canonical-devices-system-image/+bug/1508169/+subscriptions
>