wiki:Deployments/Sandy

Version 34 (modified by Fran Boon, 12 years ago) ( diff )

--

Hurricane Sandy

Table of Contents

  1. Requirements
  2. Data

We have setup 3 instances:

Requirements

These should be written as User Stories: BluePrint/Guidelines

Data

  • Notes on uploading from csv files (incomplete)
    • For hospital data: Upload from spreadsheet:
      http://sandy.sahanafoundation.org/eden/hms/hospital/import
      Click the 'Download template' link to get a blank sample
    • Location hierarchy & wkt
      CLI process to import location CSVs:
      auth.override = True
      resource = s3db.resource("gis_location")
      stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
      import_file = os.path.join("/", "home", "data", "US_L2.csv")
      File = open(import_file, "r")
      resource.import_xml(File, format="csv", stylesheet=stylesheet)
      db.commit()
      
    • wiki:UserGuidelinesGISData
    • wiki:GIS/OpenStreetMap#Import

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.