Opened 10 years ago
Closed 9 years ago
#11150 closed defect (fixed)
False validator warning on ford if node is outside the downloaded area and highway or waterway is not loaded
Reported by: | mdk | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 15.11 |
Component: | Core validator | Version: | latest |
Keywords: | Cc: | bastiK, plepe |
Description
If you download an area with a highway=* or waterway=* and this way contains a node outside the downloaded area with ford=yes and the intersecting way of the other type type is not really missing, but just not downloaded yet, the validator will show false warning: "ford should be on the node where highway and waterway intersect". It's hard to find the real problems this way.
Example: download the way 293437015 and run validator.
Only nodes inside the downloaded area should be checked.
Attachments (2)
Change History (20)
by , 10 years ago
Attachment: | 11150.patch added |
---|
comment:1 by , 10 years ago
Cc: | added |
---|---|
Summary: | False validator warning on ford if node is outside the downloaded area and highway or waterway is not loaded → [Patch] False validator warning on ford if node is outside the downloaded area and highway or waterway is not loaded |
comment:2 by , 10 years ago
It is indeed not very consistent at the moment:
right-hand traffic -> :righthandtraffic
(no separator, no camel case)
same tags -> :sameTags
(camel case)
unclosed multipolygon -> :unclosed_multipolygon
(underscore)
When clinging to CSS, i guess the correct would be dashes:
first child -> :first-child
My vote is for dash or underscore.
In any case, function names should keep the underscore as it is hard to distinguish between identifier-dash and minus in an expression.
comment:6 by , 10 years ago
Milestone: | → 15.07 |
---|
comment:7 by , 10 years ago
There is the same problem also for the "link not connected to the proper class road" warning. The general solution could either be #9572 or do not run the affected class of validations on nodes/way outside of the downloaded area.
follow-up: 9 comment:8 by , 10 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I can still replicate the false validator warning on ford if node is outside the downloaded area and highway or waterway is not loaded:
1) I select an highway which ends outside the downloaded area;
2) I apply the "Way Download" (Ctrl+Shift+W) to download an adjacent section of highway (completely outside the downloaded area) and containing "ford" nodes; at this time, the validator still doesn't list the ford warning;
3) I select this just downloaded highway and apply again "Way Download" to download the next segment (completely outside the downloaded area); now validator lists the ford warnings.
follow-up: 12 comment:9 by , 10 years ago
Replying to bartosomail@…:
I can still replicate the false validator warning
Can you please attach a sample file?
follow-up: 11 comment:10 by , 10 years ago
comment:11 by , 10 years ago
Replying to Klumbumbus:
The pseudo class does not update if you move a node out of or into the downloaded area. There is the same problem also for
:righthandtraffic
(maybe the same bug).
Moving nodes from outside into the downloaded area are extreamly dangerous operations. JOSM estimates the "all dependencies are downloaded" only by the position of the node at the moment of the check. When you move a node (which is also a member of a not yet loaded way) from outside into the downloaded area and delete this node, you get no warning, that the not loaded way lost a node.
I didn't try to upload such inkonsistent data, but eighter upload will fail or the second way contains a deleted node!
I describe this problem also in #11198 and outline in comment 11 a sustainable and lean solution for all problems relatet with not compleatly loada objects.
by , 10 years ago
Attachment: | ford_warning.osm added |
---|
comment:12 by , 10 years ago
Replying to Klumbumbus:
Replying to bartosomail@…:
I can still replicate the false validator warning
Can you please attach a sample file?
I attached the sample file ford_warning.osm
comment:14 by , 10 years ago
Milestone: | 15.08 → 15.09 |
---|
comment:16 by , 10 years ago
Summary: | [Patch] False validator warning on ford if node is outside the downloaded area and highway or waterway is not loaded → False validator warning on ford if node is outside the downloaded area and highway or waterway is not loaded |
---|
comment:17 by , 10 years ago
Milestone: | 15.10 → 15.11 |
---|
Do we have a naming convention for MapCSS pseudo classes (and functions)? It seems that mostly
lower_case_under_score
is in use.