Changeset 16954ba in osmose-backend


Ignore:
Timestamp:
Feb 24, 2013 10:26:21 AM (7 years ago)
Author:
Jocelyn Jaubert <jocelyn.jaubert@…>
Branches:
master
Children:
3bad450
Parents:
67d7345
git-author:
Jocelyn Jaubert <jocelyn.jaubert@…> (23/02/2013 15:46:57)
git-committer:
Jocelyn Jaubert <jocelyn.jaubert@…> (24/02/2013 10:26:21)
Message:

Fix error on analyser_osmosis_useless.py in diff mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • analysers/analyser_osmosis_useless.py

    r60b339b r16954ba  
    3131    {0}nodes AS nodes 
    3232    JOIN relation_members ON 
    33         member_id = id AND 
     33        member_id = nodes.id AND 
    3434        member_type = 'N' AND 
    3535        member_role = '' 
     
    4747    {0}ways AS ways 
    4848    LEFT JOIN relation_members ON 
    49         member_id = id AND 
     49        member_id = ways.id AND 
    5050        member_type = 'W' 
    5151    {1} 
     
    5959    relations.id, 
    6060    relation_members.relation_id, 
    61     ST_AsText(relation_locate(id)) 
     61    ST_AsText(relation_locate(relations.id)) 
    6262FROM 
    6363    {0}relations AS relations 
    6464    LEFT JOIN relation_members ON 
    65         member_id = id AND 
     65        member_id = relations.id AND 
    6666        member_type = 'R' 
    6767    {1} 
Note: See TracChangeset for help on using the changeset viewer.