Changes between Version 90 and Version 91 of UserGuidelines/GIS/Data
- Timestamp:
- 09/17/10 09:52:21 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UserGuidelines/GIS/Data
v90 v91 118 118 db.commit() 119 119 # L4 120 db(table.name == "Noorpur Tehsil").update(name="Noorpur Thal Tehsil") 121 jhang = db(table.name == "Jhang").select(table.id, limitby=(0, 1)).id 122 table.insert(name="Ahmadpur Sial", parent=jhang, url="http://en.wikipedia.org/wiki/Ahmedpur_Sial_Tehsil") 120 123 gis.import_csv("punjab_l4.csv", check_duplicates=False) 124 db.commit() 121 125 gis.import_csv("sindh_l4.csv", check_duplicates=False) 126 db.commit() 122 127 gis.import_csv("khyber_l4.csv", check_duplicates=False) 123 128 db.commit()