Skip to content

Uploading Data

David Heyman edited this page Sep 18, 2015 · 9 revisions

Upload shapefiles to the server

Connect to the imagineRio server using SFTP. In your FTP client, configure the connection as:

Parameter Value
Protocol SFTP
Port 22
Server imaginerio.rice.edu
Username gis
Password ************

Once you are connected to the server, you'll see 2 directories: import and raster. Upload your shapefiles to the import directory and raster maps / plans to the raster directory.

We advise against using any subfolders in these directories since this will make the import process more complicated than it needs to be

Log into the server via the Terminal

To import the data, we need to log into the server to run some commands. Open up your terminal application and run the command:

Enter your password when prompted. You are now logged into the server and can run commands. Switch to the import directory by entering:

cd import/

You can view the contents of this directory by entering:

ls

This should show you all of the shapefiles you just uploaded. To enter the import program, run:

rio-import

Follow the instructions in the command prompt to import your data into the system.

After importing a layer, return to your FTP program and delete the shapefiles from the import directory. This will help save disk space on the drive.

Uploaded data can be viewed immediately on the dev site by appending ?dev=true to the map URL.

Once you're happy with your data on the dev site, you can run Push development database to live to make the data live. If you make a mistake, you can run Reset development database from live to reset your changes.

Clone this wiki locally