-
Notifications
You must be signed in to change notification settings - Fork 885
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
Publish a new release or otherwise ensure iD can import recent updates to the NSI #4543
Comments
I agree, we should release a new version soon. The next published version of NSI will be a major release with breaking changes, so nothing will happen really quickly.. But I do expect to be able to push an update to iD in the next month or so. |
Regarding this, GoMap has the newest changes to the NSI, while iD is still using outdated presets. |
@TheAdventurer64 That's nice for GoMap, but keep in mind that iD's update cycle isn't tied to any other editor. In open source, things get done when they get done 🤷 |
We're pretty close on this! |
Nextbike operates several differently branded bike sharing systems across Europe. The validator seems to check for matching |
weird update suggestion for a stamp vending machine apparently based on matching operator, see here |
Wrong update suggestion for the |
Thanks for testing @kjonosm !
Good catch, I was missing the
Oh yeah, this is a localization issue that will be updated on the iD side eventually.. The new English source strings are a bit broader: noncanonical_brand:
message: "{feature} looks like a common feature with nonstandard tags"
message_incomplete: "{feature} looks like a common feature with incomplete tags"
reference: "Some features, for example retail chains or post offices, are expected to have certain tags in common."
Yea this is a lot like the Tesco example here. Do you think people would be ok if the validator offered tagging like (will respond to others soon.. ) |
I can't say. I personally don't have a strong opinion about it but if |
From https://wiki.openstreetmap.org/wiki/Key:branch it looks like it's used >150,000 times, so it seems ok to me.. |
Thanks again @kjonosm ,
|
I looked into that nextbike a bit, you are correct that it's matching on the "Edeka Nextbike" doesn't have a I notice that the bike share page has "nextbike" as a named exclude: name-suggestion-index/data/brands/amenity/bicycle_rental.json Lines 2 to 11 in 63c6b02
So I might need to adjust something in NSI. I wasn't really expecting that things specifically excluded could also be used as tag values. |
…values (i.e. the "nextbike" issue) #4543 (comment)
I made a change in the matcher to not index the excluded values (like "nextbike"), so that should take care of this issue! @kjonosm thanks again, and let me know if things look better on http://www.ideditor.org/nsi-v5/ |
I don't know what happens here but removing the Edit: I come across the |
Not really a validation issue but is it possible/desirable to show the operator logo if a brand logo is missing? See here for example, where it would be nice to see a DHL logo when selecting the object in iD. This might also be an improvement for networks with missing logos... |
Please mention the feature type in validator text to make it less confusing for users. Here it would be useful to give a hint that the issue is about a mailbox (Briefkasten in German). |
The name suggestion for car-sharing stations seems too strict as most stations tend to have a unique name (like amazon lockers). See here for example. For this operator I already removed the name tag in nsi. |
It seems like id uses the nsi |
Many transit routes in nsi have an This happens because (as recommended by osm wiki) in many countries |
This example shows a shop where the branch name doesn't denote the location but the franchisee. In this context Edit: Two more instances I came across, where just cutting off the branch name doesn't look right: |
Thanks @kjonosm, I'll work through these issues today:
|
Includes the feature type in the label (re: osmlab/name-suggestion-index#4543 (comment))
This doesn't get all of them, but hopefully it gets most obvious ones (re: #4543 (comment))
For each transit network collected from the planet, the iD validator now suggests to update the existing and correctly tagged |
Hard to say. I don't really mind the shortened |
Ah yeah I see now. Since so many are wrong, I think I'm just going to remove all the |
I pushed the latest work to https://ideditor.org/nsi-v5 - let me know what you think! The way I'm looking at the We can also definitely leave the name alone on a per-category or per-item basis.. |
@kjonosm do you mean how the message says "Saturn Saturn..." (which I agree is weird). |
Yes, that should work. Thanks! |
Weird validator message at bottom of the screenshot for this feature |
This is for "nextbike" (re: osmlab/name-suggestion-index#4543 (comment))
Thanks again @kjonosm - I think I've fixed the 2 issues above, can you refresh https://ideditor.org/nsi-v5 and test again when you have some time?
|
The validator doesn't suggest a |
This now breaks the name into fragments and reruns the fragments against the NSi matcher rather than using flaky regular expressions. Has a few advantages: (re: osmlab/name-suggestion-index#4543 (comment))
Yeah, that was it - I rewrote the name/branch splitting code this morning to make it more reliable. |
name/branch splitting needs some adjustment. Here the code creates an empty value... |
I've been doing a bunch of testing with this the past few days, and I think it's about as good as it will get.. NSI v5 has been published, and the test branch below will pull the latest version.. I'd love for more people to test here and let me know if you notice any issues: |
I see that this project hasn't published a release since v4.0.2 in April 2020. I assume that this is why iD hasn't updated its version of the NSI since that time. iD is thus not taking advantage of more recent updates to the NSI, and more importantly is continuing to entice mappers to make erroneous changes based on mistakes in that release of the NSI that have since been fixed.
I understand that there have been some changes to the output format of the NSI, which may cause problems for new releases and imports by iD. Nevertheless, I think something needs to be done between this project and iD to ensure that new releases can be made and will feed in to iD in a timely manner.
The text was updated successfully, but these errors were encountered: