WMS:GRASS Grid (GSSHA Maps): Difference between revisions
From XMS Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
WMS can import GRASS ASCII grid for use as a background DEM. Since it is a simple file format, other digital elevation data can be formatted in the same way and then imported into WMS using the '''Open''' command in the ''File'' menu. | WMS can import Geographic Resources Analysis Support System (GRASS) ASCII grid files for use as a background DEM for a GSSHA project. Since it is a simple file format, other digital elevation data can be formatted in the same way and then imported into WMS using the '''Open''' command in the [[WMS:File Menu|''File'' menu]]. | ||
The GSSHA model also uses GRASS ASCII grid | The card types used in the GRASS ASCII grid file format are self explanatory. The GSSHA model also uses the GRASS ASCII grid file format for all of the map parameters. | ||
==GRASS ASCII Grid File Format== | |||
Following is an explanation of the content of a GRASS ASCII grid file: | |||
<pre> | |||
north: n /* Northern boundary grid coordinate */ | |||
south: s /* Southern boundary grid coordinate */ | |||
east: e /* Eastern boundary grid coordinate */ | |||
west: w /* Western boundary grid coordinate */ | |||
rows: nrows /* Number of rows in the grid */ | |||
cols: ncols /* Number of columns in the grid */ | |||
z11 z12 z13 ... z1ncols /* values of row 1 */ | |||
z21 z22 z23 ... z2ncols /* values of row 2 */ | |||
. | |||
. | |||
. | |||
znrows1 znrows2 znrows3 ... znrowsncols /* values of last row*/ | |||
</pre> | |||
===Example=== | |||
Following is an example file in the GRASS ASCII grid file format: | |||
<pre> | |||
north: 3451250 | |||
south: 3438850 | |||
east: 298960 | |||
west: 290860 | |||
rows: 10 | |||
cols: 5 | |||
0 1 1 0 1 | |||
1 1 0 0 1 | |||
. | |||
. | |||
0 0 1 1 0 | |||
</pre> | |||
==External Links== | |||
*[https://grass.osgeo.org/ GRASS GIS at OSGeo] | |||
Line 63: | Line 53: | ||
[[Category:WMS File Formats|G]] | [[Category:WMS File Formats|G]] | ||
[[Category:GSSHA|GRASS]] | [[Category:GSSHA|GRASS]] | ||
[[Category:External Links]] |
Latest revision as of 21:32, 24 April 2019
WMS can import Geographic Resources Analysis Support System (GRASS) ASCII grid files for use as a background DEM for a GSSHA project. Since it is a simple file format, other digital elevation data can be formatted in the same way and then imported into WMS using the Open command in the File menu.
The card types used in the GRASS ASCII grid file format are self explanatory. The GSSHA model also uses the GRASS ASCII grid file format for all of the map parameters.
GRASS ASCII Grid File Format
Following is an explanation of the content of a GRASS ASCII grid file:
north: n /* Northern boundary grid coordinate */ south: s /* Southern boundary grid coordinate */ east: e /* Eastern boundary grid coordinate */ west: w /* Western boundary grid coordinate */ rows: nrows /* Number of rows in the grid */ cols: ncols /* Number of columns in the grid */ z11 z12 z13 ... z1ncols /* values of row 1 */ z21 z22 z23 ... z2ncols /* values of row 2 */ . . . znrows1 znrows2 znrows3 ... znrowsncols /* values of last row*/
Example
Following is an example file in the GRASS ASCII grid file format:
north: 3451250 south: 3438850 east: 298960 west: 290860 rows: 10 cols: 5 0 1 1 0 1 1 1 0 0 1 . . 0 0 1 1 0
External Links
WMS – Watershed Modeling System | ||
---|---|---|
Modules: | Terrain Data • Drainage • Map • Hydrologic Modeling • River • GIS • 2D Grid • 2D Scatter | |
Models: | CE-QUAL-W2 • GSSHA • HEC-1 • HEC-HMS • HEC-RAS • HSPF • MODRAT • NSS • OC Hydrograph • OC Rational • Rational • River Tools • Storm Drain • SMPDBK • SWMM • TR-20 • TR-55 | |
Toolbars: | Modules • Macros • Units • Digitize • Static Tools • Dynamic Tools • Drawing • Get Data Tools | |
Aquaveo |