filename,=args
print "Rendering file: "+filename+"\n"
queue_render(db,filename)
filename,=args
print "Rendering file: "+filename+"\n"
queue_render(db,filename)
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))
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))