wiki:Deployments/Sandy

Version 37 (modified by Fran Boon, 9 years ago) ( diff )

--

Hurricane Sandy

Table of Contents

  1. Location Data

We have setup 3 instances:

Location Data

Boundaries and hierarchy:

Notes on uploading from csv files (incomplete)

  • 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()
    

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.