Changes between Version 25 and Version 26 of Deployments/Sandy
- Timestamp:
- 11/04/12 20:10:20 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Deployments/Sandy
v25 v26 62 62 Click the 'Download template' link to get a blank sample 63 63 * Location hierarchy & wkt \\ 64 location.xsl 64 Fran's CLI process to import location CSVs: 65 {{{ 66 auth.override = True 67 resource = s3db.resource("gis_location") 68 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") 69 import_file = os.path.join("/", "home", "data", "US_L2.csv") 70 File = open(import_file, "r") 71 resource.import_xml(File, format="csv", stylesheet=stylesheet) 72 db.commit() 73 }}} 65 74 * http://eden.sahanafoundation.org/wiki/UserGuidelinesGISData 66 75 * http://eden.sahanafoundation.org/wiki/GIS/OpenStreetMap#Import