Permalink
Browse files

omit name= where NOMBRE no es disponible and set highway=residential …

…as default
  • Loading branch information...
1 parent 6b14835 commit 66b9e24030e5eab772af92d550c92a3845456b4a @ian29 ian29 committed May 7, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 translations/jalisco-calles.py
@@ -6,8 +6,11 @@ def translateAttributes(attrs):
# all rows for FUENTE are 'ITEJ' according the sample button (under Advanced serach) in QGIS that acts as a 'select distinct'
tags.update({'source':'ITEJ'})
+ # set highway= tag to residential as default.
+ tags.update({'highway':'residential'})
+
# Use NOMBRE for name
- if attrs['NOMBRE']:
+ if attrs['NOMBRE'] != 'No disponible':
tags.update({'name':attrs['NOMBRE']})
# Use RECUBRIMIE for surface= tags

0 comments on commit 66b9e24

Please sign in to comment.