הלוגו של OpenStreetMap OpenStreetMap

JOSM validation - what to do...

פורסם על־ידי ConsEbt ב־22 בספטמבר 2011 בEnglish.

Hi all,
when I want to upload my changeset JOSM validator gave me 2 warnings.
I have no idea what they are referring to...
Had a look at osm.wiki/JOSM/Validator which does not list the warning I have.

See http://imageshack.us/photo/my-images/840/josm20110923075614.png/ for a screenshot.

Can anyone help me resolve the warning? It is realted to a relation/bus route I've created based on osm.wiki/Relation:route#Bus_Routes_.28also_trolley_bus.29

מיקום: Merthyr, New Farm, Greater Brisbane, Queensland, 4005, Australia
סמל דוא״ל סמל בלוסקיי סמל פייסבוק סמל לינקדאין סמל מסטודון סמל טלגרם סמל X

דיון

תגובה מאת LivingWithDragons על 22 בספטמבר 2011 בשעה 23:37

Members are the parts(ways/roads) that make up a relation, and you can specify what type of member it will be. The JOSM validator thinks that members should have a type specificed(the type/role box not be empty for each one), which is perhaps logical. But for bus routes there are no member types, just standard members.
So what do you do? Just click ignore, that's what I do.

An example of a relation that shouldn't have empty members is street(address) relations. osm.wiki/Relations/Proposed/Street#Tags You can see in the list of members, you want to specific if it is of the house or street type. If you uploaded a street relation and some members didn't have a type/role, then the validator should rightly stop/question you.

I think I am right on this whole comment anyway.

תגובה מאת craigloftus על 23 בספטמבר 2011 בשעה 11:05

My experience is that the error you're is seeing is because of nodes in the relation that don't have a role. Only ways are allowed to be blank.

According to the documentation of the route relation nodes are expected to have the stop role (or a variation such as forward:stop)

See: osm.wiki/Relation:route#Members

תגובה מאת Zartbitter על 23 בספטמבר 2011 בשעה 12:23

If you aren't editing the relations by purpose just leave the warnings alone. Probably it is not your fault. Just save your changeset.

תגובה מאת Zartbitter על 23 בספטמבר 2011 בשעה 12:24

Ups, sorry, forget my last comment. I missed the part that it is your own bus route relation ...

תגובה מאת ConsEbt על 28 בספטמבר 2011 בשעה 21:54

Thanks all, this was helping - relation saved!

נא להיכנס כדי להשאיר תגובה