Changeset 17224 in josm


Ignore:
Timestamp:
2020-10-17T15:19:26+02:00 (4 days ago)
Author:
GerdP
Message:

see #19955: Confusing result from sonarcube coverage analyser

  • use positive ids for ways and nodes so that they are not replaced by unpredictable numbers
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/data/duplicate-ways.osm

    r17222 r17224  
    11<?xml version='1.0' encoding='UTF-8'?>
    22<osm version='0.6' upload='never' generator='JOSM'>
    3   <node id='-106252' action='modify' visible='true' lat='52.91712394763' lon='8.5666095365' />
    4   <node id='-106253' action='modify' visible='true' lat='52.91800428714' lon='8.5685258145' />
    5   <node id='-106256' action='modify' visible='true' lat='52.91685832864' lon='8.56603863765' />
    6   <node id='-106261' action='modify' visible='true' lat='52.91837800291' lon='8.56989891347' />
    7   <way id='-107282' action='modify' visible='true'>
    8     <nd ref='-106252' />
    9     <nd ref='-106253' />
     3  <node id='106252' version='1' visible='true' lat='52.91712394763' lon='8.5666095365' />
     4  <node id='106253' version='1' visible='true' lat='52.91800428714' lon='8.5685258145' />
     5  <node id='106256' version='1' visible='true' lat='52.91685832864' lon='8.56603863765' />
     6  <node id='106261' version='1' visible='true' lat='52.91837800291' lon='8.56989891347' />
     7  <way id='107282' version='1' visible='true'>
     8    <nd ref='106252' />
     9    <nd ref='106253' />
    1010    <tag k='highway' v='residential' />
    1111  </way>
    12   <way id='-107287' action='modify' visible='true'>
    13     <nd ref='-106252' />
    14     <nd ref='-106253' />
     12  <way id='107287' version='1' visible='true'>
     13    <nd ref='106252' />
     14    <nd ref='106253' />
    1515    <tag k='highway' v='residential' />
    1616  </way>
    17   <way id='-107315' action='modify' visible='true'>
    18     <nd ref='-106256' />
    19     <nd ref='-106252' />
     17  <way id='107315' version='1' visible='true'>
     18    <nd ref='106256' />
     19    <nd ref='106252' />
    2020    <tag k='highway' v='residential' />
    2121  </way>
    22   <way id='-107316' action='modify' visible='true'>
    23     <nd ref='-106261' />
    24     <nd ref='-106253' />
     22  <way id='107316' version='1' visible='true'>
     23    <nd ref='106261' />
     24    <nd ref='106253' />
    2525    <tag k='highway' v='residential' />
    2626  </way>
    27   <way id='-107320' action='modify' visible='true'>
    28     <nd ref='-106261' />
    29     <nd ref='-106253' />
     27  <way id='107320' version='1' visible='true'>
     28    <nd ref='106261' />
     29    <nd ref='106253' />
    3030    <tag k='highway' v='residential' />
    3131  </way>
    32   <relation id='-99758' action='modify' visible='true'>
    33     <member type='way' ref='-107315' role='' />
    34     <member type='way' ref='-107287' role='' />
    35     <member type='way' ref='-107320' role='' />
     32  <relation id='-99758' version='1' visible='true'>
     33    <member type='way' ref='107315' role='' />
     34    <member type='way' ref='107252' role='' />
     35    <member type='way' ref='107320' role='' />
    3636    <tag k='route' v='road' />
    3737    <tag k='type' v='route' />
Note: See TracChangeset for help on using the changeset viewer.