- if zoom:
- if len(args)==1:
- filename,=args
- print "Rendering file: "+filename+"\n"
- queue_render(db,filename)
- else:
- minlat,minlon,maxlat,maxlon=args
- queue_tiles(db,float(minlat),float(minlon),float(maxlat),float(maxlon),int(zoom))
+ if len(args)==1:
+ filename,=args
+ print "Rendering file: "+filename+"\n"
+ queue_render(db,filename)
+ else:
+ minlat,minlon,maxlat,maxlon=args
+ print "Rendering region "+minlat+'..'+maxlat+' / '+minlon+'..'+maxlon+"\n"
+ queue_tiles(db,float(minlat),float(minlon),float(maxlat),float(maxlon),int(zoom))