[GRASSLIST:3682] e00 to vect to rast to xyz. Ug!
DeTracey, Brendan
deTraceyB at mar.dfo-mpo.gc.ca
Fri May 17 12:22:10 EDT 2002
Hello,
I have performed the following steps on an e00 arc/info export file.
1) m.in.e00
2) v.support
3) renamed desired dig_cat file
4) v.support
5) v.reclass (keeping the same categories. somehow this labels the
categories)
6) v.support
7) v.to.rast
When I d.what.vect/rast the maps they report the category number(139) and
the attribute string
e.g.: 2722558.07306985(E) 1927619.33955939(N)
ec_010305 in EastCoast (139)9+_3_6_1_ at _@_7_5_4_ at _@_4_5_4_ at _@_@
When I d.legend the raster map the legend is labelled only with the category
numbers.
I can't get it to label with the attribute string.
Similary r.out.xyz outputs the category numbers as the cell data.
Using r.stat -1gl also outputs the category numbers as the cell data.
How do I non-interactively get GRASS to treat the attribute strings as the
data
so I can r.out.xyz and not get the category numbers as the data values?
Ug!
Thanks,
Brendan
Excerpts of reports of the data follow.
v.report yields:
+---------------------------------------------------------------------------
--+
| VECTOR MAP CATEGORY REPORT
|
|LOCATION: Cis_e00 Fri May 17 12:10:07
2002|
|---------------------------------------------------------------------------
--|
| north: 3434055 east: 4176498.25
|
|WINDOW south: 821565.25 west: 1458479.5
|
| res: 10009.53927203 res: 9992.71599265
|
|---------------------------------------------------------------------------
--|
|MAP: ec_010305 in EastCoast
|
|---------------------------------------------------------------------------
--|
| Category Information | square
|
| #|description
|kilometers|
|---------------------------------------------------------------------------
--|
| 2| . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|
1,518,664|
| 3| . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|
284,728|
| 4|6_2_3_1_ at _7._1._7_5_@_ at _@_ at _@_ at _@_~9+. . . . . . . . . . . . .|
7366|
| 5|6_3_2_1_ at _7._1._7_5_@_ at _@_ at _@_ at _@_~9+. . . . . . . . . . . . .|
14,502|
| 6|6_2_3_1_ at _7._1._7_5_@_ at _@_ at _@_ at _@_~9+. . . . . . . . . . . . .|
9745|
| 7|7_2_4_1_ at _7._1._7_5_@_ at _3_3_3_@_ at _@. . . . . . . . . . . . . .|
7085|
| 8|6_2_3_1_ at _7._1._7_5_@_ at _@_ at _@_ at _@_~9+. . . . . . . . . . . . .|
10,881|
....
....
....
r.report yields:
+---------------------------------------------------------------------------
--+
| RASTER MAP CATEGORY REPORT
|
|LOCATION: Cis_e00 Fri May 17 12:11:37
2002|
|---------------------------------------------------------------------------
--|
| north: 3434055 east: 4176498.25
|
|REGION south: 821565.25 west: 1458479.5
|
| res: 10009.53927203 res: 9992.71599265
|
|---------------------------------------------------------------------------
--|
|MASK:none
|
|---------------------------------------------------------------------------
--|
|MAP: ec_010305.egg_attr (ec_010305 in EastCoast)
|
|---------------------------------------------------------------------------
--|
| Category Information |
cell|
| #|description
|count|
|---------------------------------------------------------------------------
--|
| 2| . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|15186|
| 3| . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
2849|
| 4|6_2_3_1_ at _7._1._7_5_@_ at _@_ at _@_ at _@_~9+. . . . . . . . . . . . . . . |
70|
| 5|6_3_2_1_ at _7._1._7_5_@_ at _@_ at _@_ at _@_~9+. . . . . . . . . . . . . . . |
144|
| 6|6_2_3_1_ at _7._1._7_5_@_ at _@_ at _@_ at _@_~9+. . . . . . . . . . . . . . . |
102|
| 7|7_2_4_1_ at _7._1._7_5_@_ at _3_3_3_@_ at _@. . . . . . . . . . . . . . . . |
70|
| 8|6_2_3_1_ at _7._1._7_5_@_ at _@_ at _@_ at _@_~9+. . . . . . . . . . . . . . . |
109|
....
....
....
-------------------------------------------
Brendan DeTracey
VS 332
Bedford Institute of Oceanography
(902) 426-1591 : Office
(902) 426-6927 : Fax
DeTraceyB at mar.dfo-mpo.gc.ca
-------------------------------------------
More information about the grass-user
mailing list