Changeset 2acbe50 in osmose-backend


Ignore:
Timestamp:
Mar 5, 2013 11:08:44 PM (7 years ago)
Author:
Frédéric Rodrigo <frodrigo@…>
Branches:
master
Children:
5c71d35
Parents:
2cda4d5
git-author:
Jocelyn Jaubert <jocelyn.jaubert@…> (23/02/2013 15:46:57)
git-committer:
Frédéric Rodrigo <frodrigo@…> (05/03/2013 23:08:44)
Message:

Fix error on analyser_osmosis_useless.py in diff mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • analysers/analyser_osmosis_useless.py

    r2cda4d5 r2acbe50  
    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.