Changeset efcddb7 in osmose-backend


Ignore:
Timestamp:
Sep 25, 2014 9:23:37 PM (5 years ago)
Author:
Jocelyn Jaubert <jocelyn.jaubert@…>
Branches:
master
Children:
9d8087a
Parents:
4e13e8e
git-author:
Jocelyn Jaubert <jocelyn.jaubert@…> (25/09/2014 21:10:22)
git-committer:
Jocelyn Jaubert <jocelyn.jaubert@…> (25/09/2014 21:23:37)
Message:

Add coalesce() as some relation doesn't have a name tag in analyser_osmosis_boundary_relation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • analysers/analyser_osmosis_boundary_relation.py

    r34dcddd refcddb7  
    116116    relations.id, 
    117117    ST_AsText(relation_locate(relations.id)), 
    118     relations.tags->'name', 
     118    coalesce(relations.tags->'name', relation_members.member_role), 
    119119    relations.tags->'admin_level', 
    120120    relation_members.member_role, 
Note: See TracChangeset for help on using the changeset viewer.