Difference between revisions of "IconSymbols"

From GRASS-Wiki
Jump to: navigation, search
 
(forgotten page updated. thanks to hamish)
Line 1: Line 1:
---+++ Authoring instructions
+
== Authoring instructions ==
        * GrassProgrammingHowto#Display_Symbols
+
     
 +
* [[GRASS_Programming_Howto#Display_Symbols]]
  
---+++ Modules
+
=== Modules ===
  
        * [[http://grass.ibiblio.org/grass61/manuals/html61_user/d.vect.html d.vect]]
+
* [http://grass.ibiblio.org/grass61/manuals/html61_user/d.vect.html d.vect]
 +
* [http://grass.ibiblio.org/grass61/manuals/html61_user/ps.map.html#point ps.map point] command
 +
* [http://grass.ibiblio.org/grass61/manuals/html61_user/ps.map.html#vpoints ps.map vpoints] command
 +
* [http://grass.ibiblio.org/grass61/manuals/html61_user/d.graph.html d.graph] (Icon support is planned)
  
        * [[http://grass.ibiblio.org/grass61/manuals/html61_user/ps.map.html#point ps.map point]] command
+
=== Existing symbols ===
 +
* [http://freegis.org/cgi-bin/viewcvs.cgi/grass6/lib/symbol/symbol/ CVS Web interface]
  
        * [[http://grass.ibiblio.org/grass61/manuals/html61_user/ps.map.html#vpoints ps.map vpoints]] command
+
=== Contributions ===
  
        * [[http://grass.ibiblio.org/grass61/manuals/html61_user/d.graph.html d.graph]] (Icon support is planned)
+
Please include a small example graphic.
  
 +
Also please include your name and some sort of license information.
  
---+++ Existing symbols
 
        *  [[http://freegis.org/cgi-bin/viewcvs.cgi/grass6/lib/symbol/symbol/ CVS Web interface]]
 
 
---+++ Contributions
 
 
_Please include a small example graphic. See %TWIKIWEB%.FileAttachment help for instructions how._
 
 
__Also please include your name and some sort of license information.__ <BR>
 
 
e.g. "(c) 2005 Sara Grassuser, released into the public domain without restriction". This way others may freely improve and further distribute your work (e.
 
e.g. "(c) 2005 Sara Grassuser, released into the public domain without restriction". This way others may freely improve and further distribute your work (e.
 
g. it can be added to the official GRASS release).
 
g. it can be added to the official GRASS release).
  
__Install in $GISBASE/etc/symbol/custom/ or $MAPSET/symbol/group/__
+
Install in $GISBASE/etc/symbol/custom/ or $MAPSET/symbol/group/
  
 
---------
 
---------
Line 31: Line 29:
  
 
Example of a BANK by MichaelODonovan
 
Example of a BANK by MichaelODonovan
        * bank.png: <br />
+
bank.png: <br />
        <img src="%ATTACHURLPATH%/bank.png" alt="bank.png"  width="50" height="50"  />
+
<img src="%ATTACHURLPATH%/bank.png" alt="bank.png"  width="50" height="50"  />
  
 
<pre>
 
<pre>
Line 56: Line 54:
 
         END
 
         END
 
END
 
END
<pre>
+
</pre>
  
 
Example of a SHACK by MichaelODonovan
 
Example of a SHACK by MichaelODonovan
        * shack.png: <br />
+
shack.png: <br />
        <img src="%ATTACHURLPATH%/shack.png" alt="shack.png"  width="50" height="50"  />
+
<img src="%ATTACHURLPATH%/shack.png" alt="shack.png"  width="50" height="50"  />
  
 
<pre>
 
<pre>
Line 87: Line 85:
 
  END
 
  END
 
END
 
END
<pre>
+
</pre>
 +
 
 
Example of TRAIN  by MichaelODonovan
 
Example of TRAIN  by MichaelODonovan
        * Train icon: <br />
+
* Train icon: <br />
        <img src="%ATTACHURLPATH%/train.png" alt="Train icon"  width="50" height="50"  />
+
<img src="%ATTACHURLPATH%/train.png" alt="Train icon"  width="50" height="50"  />
  
 
<pre>
 
<pre>
Line 137: Line 136:
 
  END
 
  END
 
END
 
END
<pre>
+
</pre>
 +
 
  
 
Exampe of a FACTORY by MichaelODonovan
 
Exampe of a FACTORY by MichaelODonovan
 
+
* factory.png: <br />
        * factory.png: <br />
+
<img src="%ATTACHURLPATH%/factory.png" alt="factory.png"  width="50" height="50"  />
        <img src="%ATTACHURLPATH%/factory.png" alt="factory.png"  width="50" height="50"  />
 
  
 
<pre>
 
<pre>
Line 168: Line 167:
 
   END
 
   END
 
END
 
END
<pre>
+
</pre>
  
 
Example of a BUS by MichaelODonovan
 
Example of a BUS by MichaelODonovan
        * bus.png: <br />
+
* bus.png: <br />
        <img src="%ATTACHURLPATH%/bus.png" alt="bus.png"  width="50" height="50"  />
+
<img src="%ATTACHURLPATH%/bus.png" alt="bus.png"  width="50" height="50"  />
  
 
<pre>
 
<pre>
Line 206: Line 205:
 
  END
 
  END
 
END
 
END
<pre>
+
</pre>
  
 
Example of a HEADGEAR by MichaelODonovan
 
Example of a HEADGEAR by MichaelODonovan
        * headger.png: <br />
+
* headger.png: <br />
        <img src="%ATTACHURLPATH%/headger.png" alt="headger.png"  width="50" height="50"  />
+
<img src="%ATTACHURLPATH%/headger.png" alt="headger.png"  width="50" height="50"  />
 +
 
 
<pre>
 
<pre>
 
VERSION 1.0
 
VERSION 1.0
Line 236: Line 236:
 
         END
 
         END
 
END
 
END
<pre>
+
</pre>
%META:FILEATTACHMENT{name="train.png" attr="" comment="Train icon" date="1134654608" path="train.png" size="266" user="MichaelODonovan" version="1.1"}%
 
%META:FILEATTACHMENT{name="shack.png" attr="" comment="" date="1134654925" path="shack.png" size="239" user="MichaelODonovan" version="1.1"}%
 
%META:FILEATTACHMENT{name="factory.png" attr="" comment="" date="1134654961" path="factory.png" size="268" user="MichaelODonovan" version="1.1"}%
 
%META:FILEATTACHMENT{name="headger.png" attr="" comment="" date="1134654994" path="headger.png" size="319" user="MichaelODonovan" version="1.1"}%
 
%META:FILEATTACHMENT{name="bank.png" attr="" comment="" date="1134655023" path="bank.png" size="258" user="MichaelODonovan" version="1.1"}%
 
%META:FILEATTACHMENT{name="bus.png" attr="" comment="" date="1134655053" path="bus.png" size="246" user="MichaelODonovan" version="1.1"}%
 
%META:FILEATTACHMENT{name="headgear.png" attr="" comment="" date="1134655104" path="headgear.png" size="490" user="MichaelODonovan" version="1.1"}%</pre>
 

Revision as of 23:41, 14 June 2006

Authoring instructions

Modules

Existing symbols

Contributions

Please include a small example graphic.

Also please include your name and some sort of license information.

e.g. "(c) 2005 Sara Grassuser, released into the public domain without restriction". This way others may freely improve and further distribute your work (e. g. it can be added to the official GRASS release).

Install in $GISBASE/etc/symbol/custom/ or $MAPSET/symbol/group/

(c) Examples released by Michael O'Donovan into public domain without restriction

Example of a BANK by MichaelODonovan bank.png:
<img src="%ATTACHURLPATH%/bank.png" alt="bank.png" width="50" height="50" />

VERSION 1.0
BOX -1 -1 1 1
POLYGON
  RING
         LINE
         -1      -1
         -1       0.5
          0       1
          1       0.5
         1      -1
          0.75  -1
          0.75  -0.20
          0.25  -0.2
          0.25  -1
        -0.25    -1
        -0.25    -0.2
        -0.75    -0.20
        -0.75     -1
                END
        END
END

Example of a SHACK by MichaelODonovan shack.png:
<img src="%ATTACHURLPATH%/shack.png" alt="shack.png" width="50" height="50" />

VERSION 1.0
BOX -1 -1 1 1
POLYGON
  RING
         LINE
         1      -1
         0      -1
         0       0
        -0.5     0
        -0.5     -1
        -1      -1
        -1       0.5
         1       0.5
        END
END
RING
  LINE
         0.3  -0.25
         0.85 -0.25
         0.85  0.3
         0.3    0.3
        END
 END
END

Example of TRAIN by MichaelODonovan

  • Train icon:

<img src="%ATTACHURLPATH%/train.png" alt="Train icon" width="50" height="50" />

VERSION 1.0
BOX -1 -1 1 1
POLYGON
 FCOLOR 0 0 0
  RING
        ARC 0.85 -0.7 0.2 360 0 C        END
          END
        ARC 0.45 -0.7 0.2 360 0 C        END
          END
        ARC -0.45 -0.7 0.2 360 0 C       END
          END
        RING
         ARC -0.85 -0.7 0.2 360 0 C      END
        END
END
POLYGON
RING
         LINE
         1 -0.5
        -1 -0.5
        -1  0.45
         1  0.45
        END
END
RING
  LINE
         0.99 0
         0.99 0.4
         0.7  0.4
         0.7  0
        END
  END
END
RING
 FCOLOR 255 255 255
 POLYGON
  LINE
         0.65  0.55
         0.95  0.75
         0.65  1
         0.25  0.75
        END
 END
END


Exampe of a FACTORY by MichaelODonovan

  • factory.png:

<img src="%ATTACHURLPATH%/factory.png" alt="factory.png" width="50" height="50" />

VERSION 1.0
BOX -1 -1 1 1
POLYGON
  RING
         LINE
         1 -1
        -1 -1
        -1  0.2
         -0.23 -0.3
         -0.23 0.2
         0.7 -0.3
         0.7 .5
         1 .5
        END
 END
END
POLYGON
RING
        FCOLOR 0 0 0
        ARC 0.85 0.7 0.1 360 0 C         END
        ARC 0.85 0.92 0.15 360 0 C       END
  END
END

Example of a BUS by MichaelODonovan

  • bus.png:

<img src="%ATTACHURLPATH%/bus.png" alt="bus.png" width="50" height="50" />

VERSION 1.0
BOX -1 -1 1 1
POLYGON
 FCOLOR 0 0 0
  RING
        ARC 0.65 -0.7 0.28 360 0 C       END
          END
        RING
         ARC -0.65 -0.7 0.28 360 0 C     END
        END
END
POLYGON
RING
FCOLOR 255 0 0
         LINE
         1 -0.5
        -1 -0.5
        -1  0.55
        0.8 0.55
         1  0
        END
END
RING
  LINE
         0.95 0
        -0.75 0
        -0.75 0.48
        0.8 0.48
        END
 END
END

Example of a HEADGEAR by MichaelODonovan

  • headger.png:

<img src="%ATTACHURLPATH%/headger.png" alt="headger.png" width="50" height="50" />

VERSION 1.0
BOX -1 -1 1 1
POLYGON
  RING
        ARC 0.5 0.5 0.3 360 0 C  END
        END
RING
FCOLOR 255 0 0
ARC 0.5 0.5 0.4 360 0 C  END
END
RING
LINE
        0 -1
        0.5 0.5
        .7 0.5
        1 -1
        END
        END
RING
         LINE
          0.15 0.75
         -1 -1
        END
END