Download User Guide: Map Translator Control

Transcript
Advanced Configuration
*
from jobs",
"showProgress" = false,
"transformScript" = "
x=original.getInt('centroidX');
y=original.getInt('centroidY');
original.setString('databaseName','partner');
original.setString('tableName','jobs');
original.setString('x',str(x));
original.setString('y',str(y));
",
"verbose" = false,
"database" = new com.PartnerSoft.io.sql.DatabaseConnectionConfig {
"databaseServer" = "localhost",
"databaseUser" = "root",
"databaseName" = "Partner",
"databaseType" = "MySQL",
"databasePassword" = "",
"databasePath" = ""
}
}
],
"offsetY" = 0.0,
"verbose" = true,
"scaleY" = 1.0,
"offsetX" = 0.0,
"name" = "dat"
}
If the Map Translator is on the same computer as the System Hub, you can use the above example. If the
Hub is on a different computer, then you need to specify the databaseServer for the Hub computer.
After the first translation, new styles, and data types will be available under Configure Translator.
Symbols
The Map Viewer uses symbols for annotating sketches and for presenting mapping features.
Creating a Symbol File
The Map Viewer can use GIF, PNG, JPG, or JPEG files for symbols. There are many programs that create these files; for example, Paint Shop Pro. Using version 4.0 of this program, under File, Preferences,
File Format Preferences, GIF select Set the transparency to the background color (see Appendix A).
This allows the GIF to have a transparent background, which is the appropriate setting for all symbols
except Hide Blocks. The Field Designer generally has a black background so you can also set the color
black to transparent. During printing of the sketch, the Field Designer and Map Viewer are generally
configured to convert the white of symbols to black so instead of white symbols on a black background,
you have black symbols on a white background.
We recommend saving your images as GIF or PNG files.
Special Characteristics
A minus ('-') in front of the name of an redline symbol in the AnnotationSymbols.tof file specifies that
the symbol should be written prior to writing other redline and job entities. This has the result of writing
the base map, the "minus" redline symbols, then the rest of the sketch. This feature is used for Hide
blocks so that they do not hide redline for the job.
60