| 1 |
Graphical index images |
| 2 |
====================== |
| 3 |
|
| 4 |
General |
| 5 |
------- |
| 6 |
|
| 7 |
Clipped part from grass_structure.png with Locations, Mapsets and data |
| 8 |
types. |
| 9 |
|
| 10 |
Alternative (can be also alternative for display): |
| 11 |
|
| 12 |
g.region n=224940 s=224590 w=638450 e=638840 |
| 13 |
|
| 14 |
d.shade shade=elevation_shade color=elevation # opacity 90% |
| 15 |
d.vect map=firestations color=45:107:168 fill_color=30:144:255 width=2 icon=basic/circle size=15 |
| 16 |
d.vect map=schools color=208:208:0 fill_color=yellow width=2 icon=basic/triangle size=15 |
| 17 |
d.vect map=hospitals color=136:0:0 fill_color=213:21:21 width=2 icon=basic/box size=15 |
| 18 |
|
| 19 |
|
| 20 |
Raster |
| 21 |
------ |
| 22 |
|
| 23 |
d.rast.num -a -f map=elevation grid_color=179:179:179 precision=0 |
| 24 |
|
| 25 |
|
| 26 |
Vector |
| 27 |
------ |
| 28 |
|
| 29 |
g.region n=224940 s=224590 w=638450 e=638840 |
| 30 |
|
| 31 |
v.buffer input="streams" layer="-1" output="streams_buffer" distance=20 |
| 32 |
|
| 33 |
d.vect map=census color=142:142:0 fill_color=255:255:167 width=2 |
| 34 |
d.vect map=streams_buffer color=11:185:11 fill_color=11:185:11 width=1 |
| 35 |
d.vect map=streams color=30:144:255 width=4 |
| 36 |
|
| 37 |
|
| 38 |
Database |
| 39 |
-------- |
| 40 |
|
| 41 |
streams attributes screenshot |
| 42 |
|
| 43 |
DIR="../doc/" |
| 44 |
for FILE in *.png; do convert $FILE -resize 200x200 $DIR/`basename -s .png $FILE`.jpg; done; |
| 45 |
|
| 46 |
|
| 47 |
Display |
| 48 |
------- |
| 49 |
|
| 50 |
g.region n=226640 s=222860 w=631260 e=637170 |
| 51 |
|
| 52 |
d.rast map=elevation_shade |
| 53 |
d.rast map=lakes |
| 54 |
d.vect map=schools color=16:70:123 fill_color=30:144:255 width=1 icon=basic/triangle size=10 |
| 55 |
d.vect map=roadsmajor color=255:151:38 width=4 |
| 56 |
d.vect map=roadsmajor color=255:172:82 width=2 |
| 57 |
|
| 58 |
GUI |
| 59 |
--- |
| 60 |
|
| 61 |
* Ubuntu 14.04 with Unity |
| 62 |
* landclass, roadsmajor, elevation |
| 63 |
* query map dialog active |
| 64 |
* Search modules tab active (with open subtrees) |
| 65 |
|
| 66 |
|
| 67 |
Imagery |
| 68 |
------- |
| 69 |
|
| 70 |
# this takes some time, perhaps the region below would be enough |
| 71 |
g.region -p raster=ortho_2001_t792_1m |
| 72 |
i.group group=ortho_group input=ortho_2001_t792_1m |
| 73 |
i.segment group=ortho_group output=ortho_segs_final threshold=0.25 min=10 |
| 74 |
|
| 75 |
g.region n=221100 s=219700 w=638616 e=639316 -p |
| 76 |
d.mon start=cairo output=gi_imagery.png width=500 height=500 |
| 77 |
d.frame left -c at=0,100,0,50d.rast ortho_2001_t792_1m |
| 78 |
d.rast ortho_2001_t792_1m |
| 79 |
d.frame right -c at=0,100,50,100 |
| 80 |
d.rast ortho_segs_final |
| 81 |
d.mon stop=cairo |
| 82 |
|
| 83 |
|
| 84 |
Temporal |
| 85 |
-------- |
| 86 |
|
| 87 |
Done in GUI. |
| 88 |
|
| 89 |
g.region raster=landuse |
| 90 |
|
| 91 |
r.mapcalc "a1 = 10" |
| 92 |
r.mapcalc "a2 = 20" |
| 93 |
r.mapcalc "a3 = 30" |
| 94 |
r.mapcalc "a4 = 40" |
| 95 |
|
| 96 |
m.nviz.image elevation_map=a1,a2,a3,a4 mode=fine,fine,fine,fine resolution_fine=1,6,1,1 resolution_coarse=9,9,9,9 shading=gouraud,gouraud,gouraud,gouraud style=surface,surface,surface,surface wire_color=136:136:136,136:136:136,136:136:136,136:136:136 color_map=landuse,landuse,landuse,landuse \ |
| 97 |
position=0.03,0.31 height=92 perspective=36 twist=-99 zexag=200.000000 focus=1071,9393,30 \ |
| 98 |
light_position=-0.57,0.75,0.80 light_brightness=80 light_ambient=20 light_color=255:255:255 \ |
| 99 |
output=nviz_output format=ppm size=872,586 |
| 100 |
|
| 101 |
|
| 102 |
Miscellaneous |
| 103 |
------------- |
| 104 |
|
| 105 |
Taken from d.rhumbline. |