Changeset 87ea86a in osmose-backend


Ignore:
Timestamp:
Jan 29, 2013 10:23:04 PM (7 years ago)
Author:
Jocelyn Jaubert <jocelyn.jaubert@…>
Branches:
master
Children:
c25405d
Parents:
249fa77
git-author:
Frédéric Rodrigo <frodrigo@…> (27/01/2013 22:59:22)
git-committer:
Jocelyn Jaubert <jocelyn.jaubert@…> (29/01/2013 22:23:04)
Message:

Add tag name to usless tag into analyser_osmosis_useless

File:
1 edited

Legend:

Unmodified
Added
Removed
  • analysers/analyser_osmosis_useless.py

    r339536c r87ea86a  
    3636    {1} 
    3737WHERE 
    38     array_length(akeys(delete(delete(delete(nodes.tags, 'created_by'), 'source'), 'note:qadastre')), 1) IS NULL 
     38    array_length(akeys(delete(delete(delete(delete(nodes.tags, 'created_by'), 'source'), 'note:qadastre'), 'name')), 1) IS NULL 
    3939; 
    4040""" 
     
    5353WHERE 
    5454    (member_role IS NULL OR member_role = '') AND 
    55     array_length(akeys(delete(delete(delete(ways.tags, 'created_by'), 'source'), 'note:qadastre')), 1) IS NULL 
     55    array_length(akeys(delete(delete(delete(delete(ways.tags, 'created_by'), 'source'), 'note:qadastre'), 'name')), 1) IS NULL 
    5656; 
    5757""" 
Note: See TracChangeset for help on using the changeset viewer.