Modify

Opened 9 years ago

Closed 8 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)

11150.patch (2.7 KB ) - added by simon04 9 years ago.
ford_warning.osm (102.2 KB ) - added by bartosomail@… 9 years ago.

Download all attachments as: .zip

Change History (20)

by simon04, 9 years ago

Attachment: 11150.patch added

comment:1 by simon04, 9 years ago

Cc: bastiK plepe 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

Do we have a naming convention for MapCSS pseudo classes (and functions)? It seems that mostly lower_case_under_score is in use.

comment:2 by bastiK, 9 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:3 by skyper, 9 years ago

See #11261 for the general underlying problem.

comment:4 by simon04, 9 years ago

In 8494/josm:

see #11150 - MapCSS: refactor pseudo classes to factory based instantiation; consider :sameTags, :same-tags, :same_tags equivalent

comment:5 by simon04, 9 years ago

Resolution: fixed
Status: newclosed

In 8495/josm:

fix #11150 - False validator warning on ford if node is outside the downloaded area and highway or waterway is not loaded

comment:6 by simon04, 9 years ago

Milestone: 15.07

comment:7 by aceman, 9 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.

comment:8 by bartosomail@…, 9 years ago

Resolution: fixed
Status: closedreopened

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.

in reply to:  8 ; comment:9 by Klumbumbus, 9 years ago

Replying to bartosomail@…:

I can still replicate the false validator warning

Can you please attach a sample file?

in reply to:  5 ; comment:10 by Klumbumbus, 9 years ago

Replying to simon04:

In 8495/josm:

fix #11150 - False validator warning on ford if node is outside the downloaded area and highway or waterway is not loaded

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).

in reply to:  10 comment:11 by mdk, 9 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 bartosomail@…, 9 years ago

Attachment: ford_warning.osm added

in reply to:  9 comment:12 by anonymous, 9 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:13 by Don-vip, 9 years ago

Milestone: 15.0715.08

Milestone renamed

comment:14 by Don-vip, 9 years ago

Milestone: 15.0815.09

comment:15 by simon04, 9 years ago

Milestone: 15.0915.10

Postpone enhancements to next release.

comment:16 by simon04, 9 years ago

Summary: [Patch] False validator warning on ford if node is outside the downloaded area and highway or waterway is not loadedFalse validator warning on ford if node is outside the downloaded area and highway or waterway is not loaded

comment:17 by Don-vip, 9 years ago

Milestone: 15.1015.11

comment:18 by Don-vip, 8 years ago

Resolution: fixed
Status: reopenedclosed

In 9021/josm:

fix #11150 - fix wrong bounds computation for multiple data sources in .osm file

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.