Virtual Flume
Ven Te Chow’s book “Open Channel Hydraulics” is arguably the gold-standard book for hydraulic engineers-especially those of us who model open channel flow.
If you don’t have the relevant projection file available, most projections (with the exception of local project grids) are available online for free download. Projections are typically catalogued according to European Petroleum Survey Group (EPSG) codes maintained by the International Association of Oil and Gas Producers. [When you think about it, it makes sense that the oil and gas industry would have a substantial interest in pinpointing global locations for exploratory wells and other critical geospatial data!] Online repositories for projection files such as spatialreference.org include the EPSG code with each spatial reference system:
Here are the steps covered in the video:
3. Enter six lines of numerical text. Use dummy values from “original world file” column in the World File Calculator spreadsheet (available for free downloaded here) or take an initial guess at values based on the assumed coordinates of the upper left pixel.
4. Save file as plain text format (*.txt) using the same file name as the image file (select “default settings” if prompted).
5. Change file extension in Windows Explorer to *.tfw, *.jgw, *.bpw, etc. as appropriate to match your image file format (click yes if prompted with unusable file warning).
6. Under Map Layers in RAS Mapper, right-click and select “Add Existing Layer”. Be sure to drag down file types to show all image files. Browse to file and select OK.
7. Using the measure tool in RAS Mapper, measure the distance between two points that are a known distance apart (preferably from a scale bar or coordinate tick marks on the map).
8. Open the World File Calculator spreadsheet (or create your own – there’s really not that much to it!) and enter the measured and actual distances under Line #1 (cells D3 and E3) and again in Line #4 (cells D6 and E6).
9. Copy values from “New World File” column, open the world file in a text editor, and paste the updated values over the old values.
10. Right click on the image file and select “remove layer”.
11. Re-add the image file and adjust transparency as needed.
12. Using the measure tool in RAS Mapper, click on a known point from the original image (with incorrect location), then double-click on the same known point based on the correct location.
13. Select “Copy coordinates to clipboard”.
14. Paste the coordinates into Cell C10 in the spreadsheet (Note: values will be replaced in the cell range C10:F12 but only C10:D11 are used in the spreadsheet).
15. Copy “New World File” column over the previous values in the world file.
16. Remove and re-add the image file under map layers in RAS Mapper.
17. Adjust transparency as needed to confirm common points are now co-located. Measure the scale bar to confirm correct scaling.
Keep in mind that these adjustments only provide a visual approximation and should be treated cautiously if the results are to be used for permitting or construction purposes. In that case, you’d want to get a surveyor on board with the proper tools to apply all of the required warping factors and address any other discrepancies.
With these difficulties in mind, it is no surprise that even if you get two points to line up perfectly, a third point can still be shifted, particularly for points located a significant distance away from the alignment points. For manual georeferencing, I suggest using alignment points that are as far apart as possible for your selected zoom extent to avoid major discrepancies.
Although rotation terms can be added to the world file by measuring the angular difference between lines drawn between two known points, my preference is to make rotation adjustments graphically before diving into any world file adjustments. Raster images can be rotated in a number of programs (Photoshop, Paintshop, Word, PowerPoint, etc.) to achieve a proper north alignment. [The “Z axis rotation” can be used in Microsoft products to apply specific sub-degree rotation factors.] The rotation terms can then remain as zero values in the world file.
We hope you have found this useful for your work. Please let us know if you have any comments or suggestions for improving these processes! Thanks for tuning in, and as always, let us know your recommendations for upcoming blog topics.
Collecting ideas for future posts: One subject we are working on for a future post is hacks for removing flow from HEC-RAS models. Internal boundary conditions are very useful for adding flow anywhere in your model, but removing flow can be a tedious process requiring a bit of creativity. Some new features coming in Version 5.1 may simplify the process, but in the meantime I’ve seen some clever workarounds being applied that we would like to share with this forum; please contact me if you have done this successfully so we can perhaps feature your method in an upcoming blog post.
Comments
Anonymous
on February 26, 2019I definitely support renaming project file from *.prj to something else.
Daniel
on February 27, 2019Hi Krey (or Chris!)
I have bathymetry cross sections in the form of XYZ data but the RS for each point is unknown. What options do I have for inputting this data for a 1D HEC-RAS model?
Chris Goodell
on February 27, 2019Daniel, you can convert the cuz data to station elevation data. Draw your cross section cut lines over the xyz data in RAS Maoper or Arc GIS. Then add the station elevation data to those cross sections. Hope this helps.
Daniel
on March 4, 2019Is that the only way? I have approximately 560 cross sections, and I was hoping to not do it manually…
Li Lilin
on March 4, 2019I support the idea too. *.prj is one of the files belong to Shapefile format. Searching between RAS project files and CRS files is a dilemma. Unique suffix name for RAS project file is welcome!
Add Your Comment