back to Index page
Cadplan Vertexsymbol plugin allows to add point symbols to vertex on an OpenJUMP layer. It allows to use external raster, SVG and WKT images as symbology. SVG and WKT seems very usefull since they can be scaled (using pluigin options) and rotated according to attribute values.
Tis tutorial will help the users to customize any vector drawing to WKT files and to use it as a point symbol.
The actions require the following 4 steps:
Many drawing software allows to convert a vector drawing to DXF format.
I use ZonerDRAW 3, the free version of software, to convert drawing, it can export also text to DXF curve which is very useful if you want to convert any TTF font to a DXF file.
Remember not to use complicated symbology, even if thid method works quite fine.
By the time that the drawing is exported to DXF it may not have the right coordinate position and the dimension to use as symbol. So save your file to SOURCE.DXF and go to step 2
The symbol is almost ready. we only need to define its dimension and line width according to Cadplann definition.
If you open the SOURCE.WKT file using a TEXT editor, you probabily see a single text line which starts with one of the following word:
GEOMETRYCOLLECTION…..
POLYGON…
LINESTRING….
POINT…
Add at the beginning of the line thei text 2:20:
2 defines the line width, this value can be canged to 1 (less width) to more than 2. 2 or 1 seems the best values for symbology
20 represent the dimension, it is a sc ale factor which affect the dimension of dispalyed symbol in the Layer View. Anyhow also Cadplann plugin allows to define the dimension, 20 is probabily a good choice.
After modification you will see a line which starts with:
2:20:GEOMETRYCOLLECTION…
or
2:20:POLYGON…..
Save the file to a new name e.g. SYMBOL1.WKT and go to step 4
You need to setup the VERTEXSYMBOL plugin in OpenJUMP. Symply copy the file VERTEXSYMBOL.JAR and the folder VERTEXIMAGES in OPENJUMP\LIB\EXT\ folder. Put the file SYMBOL1.WKT in the VERTEXIMAGES folder.
After you start OpenJUMP click on Menubar>plugins>Vertex Symbols to open the Vertex Symbols Dialg windows. On *WKT shapes” option you will see displayed your symbol.
Follow Cadplan VertexSYmbol plugin Help tutorial to customize the symbology in a project
Giuseppe Aruta