Changeset 451a5ec in osmose-backend


Ignore:
Timestamp:
Jan 26, 2013 4:24:44 PM (7 years ago)
Author:
Jocelyn Jaubert <jocelyn.jaubert@…>
Branches:
master
Children:
5764e38, c6873a3
Parents:
427ccd8
Message:

Fix choice of level per admin_level in analyser_osmbin_open_relations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • analysers/analyser_osmbin_open_relations.py

    recca6f1 r451a5ec  
    7272                                "en": "Open relation type=multipolygon"}) 
    7373        for admin_level in xrange(0, 15): 
    74             if i <= 6: 
     74            if admin_level <= 6: 
    7575                level= 1 
    76             elif i <= 8: 
     76            elif admin_level <= 8: 
    7777                level = 2 
    7878            else: 
Note: See TracChangeset for help on using the changeset viewer.