WMS:Image Files
From XMS Wiki
Jump to navigationJump to search
Image files are used in conjunction with TIFF files that have been previously imported to WMS and registered. They include the name of the TIFF file, the registration points, and the bounds of the clipping window. The format of the image file is shown in Figure 1 and a sample image file is shown in Figure 2.
IMAGE | /*File type identifier */ |
TIFF “filename” | /* Indicates the name of the tiff file used */ |
IMREGPTS | |
PT1 u1 v1 x1 y1 | |
PT2 u2 v2 x2 y2 | |
PT3 u3 v3 x3 y3 | |
CLIPPOINT | |
x1 x2 | |
y1 y2 |
IMAGE |
TIFF "jonescyn.tif" |
IMREGPTS |
PT1 0 756 422424.030700 4519460.893988 |
PT2 0 0 422424.030700 4515391.182075 |
PT3 715 0 426273.322285 4515391.182075 |
CLIPPOINT |
422424.030700 426273.322285 |
4515391.182075 4519460.893988 |
The card types used in the Image file format are as follows:
Card Type | IMAGE |
Description | File type identifier. Must be on first line of file. No fields. |
Required | YES |
Card Type | TIFF | ||
Description | Defines the name of the TIFF file to be displayed as an image. | ||
Required | YES | ||
Format | TIFF "filename" | ||
Sample | TIFF "jonescyn.tif" | ||
Field | Variable | Value | Description |
1 | filename | str | The name of the TIFF file. |
Card Type | PT1, PT2, PT3 | ||
Description | The three registration points used to define locations on a given image. | ||
Required | YES | ||
Format | PT1 tx1 ty1 wx1 wy1 PT2 tx2 ty2 wx2 wy2 PT3 tx3 ty3 wx3 wy3 | ||
Sample | PT1 117 797 0.000000 10000.000000 PT2 117 88 0.000000 0.000000 PT3 1053 88 13220.0 0.000000 | ||
Field | Variable | Value | Description |
1-2 | tx ty | ± | Texture map coordinates. |
3-4 | wx wy | ± | World coordinates. |
Card Type | CLIPPOINTS | ||
Description | Defines the coordinates of the area in the TIFF file to be displayed as the image. (The area clipped and displayed from the TIFF file.) | ||
Required | YES | ||
Format | CLIPPOINTS xmin xmax ymin ymax | ||
Sample | CLIPPOINTS -628.990382 14338.471657 -857.665608 8354.617436 | ||
Field | Variable | Value | Description |
1-2 | xmin xmax | ± | Min and max values in the x direction. |
3-4 | ymin ymax | ± | Min and max values in the y direction. |
Related Topics
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 |