You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2019. It is now read-only.
with open("total_in_each_block.csv","w") as wfile:
for i in range(16974):
no = i + 1
cur.execute("SELECT count(*) from tainan_blocks_500 as B, real_dengue as D where ST_Contains(block_poly, ST_GeomFromText(FORMAT('POINT(%s %s)',lat,lon),4326)) and B.no={0}".format(no))