Changeset 12572 in josm


Ignore:
Timestamp:
2017-08-06T15:24:54+02:00 (6 weeks ago)
Author:
Klumbumbus
Message:
  • fix #15097 - warn if ferry route way is not properly connected
  • don't warn about bridge and tunnel on ferry routes
  • see #14807 - don't warn about unknown noref=yes
  • fix #15035 - warn for objects at null island (except the weather buoy)
Location:
trunk/data/validator
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/combinations.mapcss

    r12473 r12572  
    304304
    305305/* {0} on suspicious object */
    306 *[tunnel  ][!highway][!railway][!waterway][public_transport != platform][man_made != pipeline],
    307 *[bridge  ][!highway][!railway][!waterway][!piste:type][public_transport != platform][man_made !~ /^(bridge|pipeline)$/][building != bridge],
     306*[tunnel  ][!highway][!railway][!waterway][!piste:type][public_transport != platform][route!=ferry][man_made != pipeline],
     307*[bridge  ][!highway][!railway][!waterway][!piste:type][public_transport != platform][route!=ferry][man_made !~ /^(bridge|pipeline)$/][building != bridge],
    308308*[psv     ][!highway][!railway][!waterway][amenity !~ /^parking.*/],
    309309*[width   ][!highway][!railway][!waterway][!aeroway][!cycleway][!footway][!barrier][!man_made][!entrance][natural!=stone],
  • trunk/data/validator/geometry.mapcss

    r12201 r12572  
    323323  throwWarning: tr("node connects highway and building");
    324324}
     325
     326/* #15035, must not warn for node 3815077900*/
     327node[man_made!=monitoring_station][at(0.0,0.0)] {
     328  throwError: tr("Object at Position 0.00E 0.00N. There is nothing at this position except an already mapped weather buoy.");
     329  fixDeleteObject: this;
     330}
     331
     332/* #15097 */
     333way[highway][area!=yes] > node,
     334way[man_made=pier] > node {
     335  set node_in_highway_pier;
     336}
     337way[route=ferry][tunnel=yes] > node,
     338way[route=ferry][bridge=yes] > node {
     339  set node_in_ferry_bridge_tunnel;
     340}
     341way[route=ferry]!:closed >[index= 1] node!.node_in_highway_pier!.node_in_ferry_bridge_tunnel:in-downloaded-area,
     342way[route=ferry]!:closed >[index=-1] node!.node_in_highway_pier!.node_in_ferry_bridge_tunnel:in-downloaded-area {
     343  throwWarning: tr("Ferry route is not connected to the road network or branches.");
     344}
     345way[amenity=ferry_terminal] > node,
     346way[man_made=pier] > node {
     347  set node_in_terminal_pier;
     348}
     349way[route=ferry]!:closed >[index= 1] node[amenity!=ferry_terminal][man_made!=pier]!.node_in_terminal_pier!.node_in_ferry_bridge_tunnel:in-downloaded-area,
     350way[route=ferry]!:closed >[index=-1] node[amenity!=ferry_terminal][man_made!=pier]!.node_in_terminal_pier!.node_in_ferry_bridge_tunnel:in-downloaded-area {
     351  throwWarning: tr("Ferry route is not connected to a ferry terminal or branches.");
     352}
  • trunk/data/validator/ignoretags.cfg

    r12482 r12572  
    134134;
    135135K:type=is_in
     136K:noref=yes
    136137K:bridge=swing
    137138K:residential=rural
Note: See TracChangeset for help on using the changeset viewer.