-
Notifications
You must be signed in to change notification settings - Fork 860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Country Code filter on NSI website #4077
Comments
Yes, good catch, I still need to update the nsi.guide site to handle the region codes. |
I was going to have a little go at this, but it's more complicated than just Plus if e.g. #4256/#4257 go in ideally you want to be able to enter a location and see if it's really in a locationSet so is Italy in Southern Europe etc. It looks like this should do it: |
When filtering you should also prevent custom codes to populate different country lists, see e.g. WMATA Metrorail for a US network not present in Germany. |
Ah you're talking about matching a full entry only. Perhaps it wants an exact checkbox? Personally being able to e.g. see the ones using any local geojson: Or localised to part of the UK: Seems quite handy to me. It also shouldn't highlight the "de" of "include" in that search! Also via the URL I can enter |
The geojson files were recently sorted into country-code folders. If the path in the JSON were relative to the old root ( |
Not in this case @michaelblyons . It's matching |
I know that it is more complicated than just including 001....but wouldn't it just be a quick win to do so, and raise the complications as a further refinement later? Just saying. |
in #5180 (comment), @bhousel wrote:
Have you perhaps come to conclusion how hard that would be? Actually being able to see e.g. brands/operators for some amenity for one's country would be very useful, and current solution (which silently ignores worldwide and other entries) is quite misleading and confusing to end users (as evidenced by number of comments and duplicate tickets) |
It's kind of a solved problem because I do it in Rapid and iD, but I'd need to copy that code over to the nsi.guide site and there would be a second or two added to the startup time. |
That is great news that is should not be much work; I think it would really help users! Optimization idea: perhaps that "second or two of initial startup time" could be delayed until the first time user tries to filter by country? That way, users who are not interested in country filtering would not bear the penalty (and those who do, would certainly prefer the country filtering to actually work, even if first click was slightly slower) |
I was looking to see which fitness centre brands had already been added for the UK, so I looked at https://nsi.guide/index.html?k=leisure&v=fitness_centre and typed "GB" into the Country Code box.
My expectation of the Country Code filter box is that it would show all brands which which were available to use for that country in iD. However, it didn't show those brands with a LocationSet of 001 - meaning a number of worldwide brands in use in the UK were not shown.
I think either the functionality of the CC box should be changed or there should be a checkbox which gives the option of also including all brands with a 001 locationset.
The text was updated successfully, but these errors were encountered: