You are on page 1of 1

RAS Tiles

Using the RAS Tiles option allows the user to view the RAS Tiles data through a web
browser hosted on a web server. The RAS Tiles server software was developed using
open source tools. Hapi (hapijs.com) is used for the server framework and Leaflet
(leafletjs.com) is used for the interactive mapping capability. The RAS Tiles
server software is available from the HEC-RAS software downloads web page.

Once the web server is running, launch a web browser pointing to the server. A web
page with the �RAS Tiles� title at the top of the web page provides access to RAS
Results data. Individual RAS Project datasets in the �.db� files are available for
display as indicated by the RAS project name with sub headings listing the
available Plans.

Local Viewing Instructions:

1. Download and unzip the �RASTiles_server.zip� file from the HEC-RAS


software download web page (64-bit OS).

2. Copy the �rasplanshortid.db� files to the �tilesets� folder in the RAS


Tiles directory.

3. Start the tile server by running the �RASTiles.bat� script.


a. This can also be accomplished by starting the tile server using the
command line by navigating to the install directory and typing �node server� and
hitting Enter.

4. Open the �RASTiles.html� file in a web browser.


a. This can be accomplished by opening a web browser and typing
�http://localhost:3000/�

5. If additional tile datasets (.db files) are to be viewed, the server


will need to be restarted, after copying the .db files into the �tilesets� folder.
a. To stop the web server, close the CMD prompt.
b. Start the server as discussed in Step 3.

Web Server Hosting Instructions:

1. The server must be started as described for local viewing.

2. An Information Technology specialist will need to set up server


security/policy so that the web server may be accessible via the web to mobile
clients.

3. Provide the web client with the URL to the web server. Note, the
server address will be shown in the CMD prompt window.

You might also like