further refinement to revert
This commit is contained in:
parent
52276be4a9
commit
5fd514fee3
1 changed files with 1 additions and 1 deletions
|
@ -707,7 +707,7 @@ def readwayquery_old(id,version,historic)
|
|||
unless row.nil? then
|
||||
nx=row['longitude'].to_f
|
||||
ny=row['latitude'].to_f
|
||||
if (row['currentway']) then rows[i]['id']=-1 end
|
||||
if (row['currentway'] && (nx!=rows[i]['longitude'].to_f or ny!=rows[i]['latitude'].to_f or row['tags']!=rows[i]['tags'])) then rows[i]['id']=-1 end
|
||||
rows[i]['longitude']=nx
|
||||
rows[i]['latitude' ]=ny
|
||||
rows[i]['tags' ]=row['tags']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue