Style presets
Style presets
Named symbology bundles for simple_sym. Each preset sets a fill, stroke, and width suited to a geometry type.
These are the registered values of arcsmith.lyr.PRESETS. Pass any name below as the preset argument to simple_sym, for example arcsmith.lyr.simple_sym(lyr, preset="simple_blue"). Explicit style arguments override a preset, and a one-off style dict can be passed in place of a name. See the Presets section of simple_sym for the full resolution order and the geometry matching rules.
Geometry is advisory by default
The Geometry column below records the shape each preset was designed for, not a restriction. By default simple_sym applies any preset to any geometry, mapping its properties onto whatever the target supports: a Polygon fills and outlines, a Point styles its marker body and outline, and a Polyline takes the stroke as its line and drops the fill. Pass simple_sym(..., strict_geom=True) to enforce the listed geometry instead. See the geometry table for exactly which properties take effect per geometry.
Simple color fills
A pale tint fill with a deep, saturated same-hue outline. These are designed for Polygon, Point, and Multipoint layers (which carry a fill), but apply to any geometry by default. On a Polyline the fill is dropped and the outline color becomes the line. Intended for quick, attractive output.
Each simple fill hue also has a point companion (simple_pt_*) and a line companion (simple_ln_*), listed below the fills. They share the saturated edge color of the matching fill, so a polygon, a point, and a line of the same hue read as a set. This is what lets add give each geometry a distinct default. A polygon gets the pale fill, a point gets a solid marker, and a line gets a colored stroke, so the three do not blend together on the same map.
| Preset | Symbol | Fill | Stroke | Width |
|---|---|---|---|---|
simple_red |
#FFBEBE |
#A80000 |
0.70 | |
simple_orange |
#FFEBAF |
#A83800 |
0.70 | |
simple_yellow |
#FFFFBE |
#A87000 |
0.70 | |
simple_lime |
#ECFFBE |
#4C7300 |
0.70 | |
simple_green |
#D3FFBE |
#267300 |
0.70 | |
simple_teal |
#BEFFE8 |
#00734C |
0.70 | |
simple_sky |
#BEF7FF |
#005C73 |
0.70 | |
simple_blue |
#BEE8FF |
#004C73 |
0.70 | |
simple_indigo |
#C9BEFF |
#1C3C73 |
0.70 | |
simple_purple |
#E8BEFF |
#4C0073 |
0.70 | |
simple_pink |
#FFBEE8 |
#A80084 |
0.70 | |
simple_brown |
#E8D3BE |
#734C00 |
0.70 | |
simple_grey |
#E1E1E1 |
#4E4E4E |
0.70 | |
simple_slate |
#D6DCE4 |
#4C5A66 |
0.70 |
Simple point markers
A solid same-hue marker with a grey outline, one per simple fill hue. The
marker body uses the saturated edge color of the matching simple fill, so
it is the slightly dark version of the hue. A default-styled point reads as
a distinct marker against the pale simple_* polygon fills instead of
blending into them. These match both Point and Multipoint layers, and add
applies one automatically when the new layer is a point.
| Preset | Symbol | Fill | Stroke | Width |
|---|---|---|---|---|
simple_pt_red |
#A80000 |
#666666 |
0.70 | |
simple_pt_orange |
#A83800 |
#666666 |
0.70 | |
simple_pt_yellow |
#A87000 |
#666666 |
0.70 | |
simple_pt_lime |
#4C7300 |
#666666 |
0.70 | |
simple_pt_green |
#267300 |
#666666 |
0.70 | |
simple_pt_teal |
#00734C |
#666666 |
0.70 | |
simple_pt_sky |
#005C73 |
#666666 |
0.70 | |
simple_pt_blue |
#004C73 |
#666666 |
0.70 | |
simple_pt_indigo |
#1C3C73 |
#666666 |
0.70 | |
simple_pt_purple |
#4C0073 |
#666666 |
0.70 | |
simple_pt_pink |
#A80084 |
#666666 |
0.70 | |
simple_pt_brown |
#734C00 |
#666666 |
0.70 | |
simple_pt_grey |
#4E4E4E |
#666666 |
0.70 | |
simple_pt_slate |
#4C5A66 |
#666666 |
0.70 |
Simple lines
A solid same-hue stroke at a line weight, one per simple fill hue, again
using the saturated edge color of the matching simple fill. A simple line
and a simple point marker of the same hue therefore share a color and read
as siblings. The width sits above the polygon outline weight so a
default-styled line reads as a line rather than as a stray polygon outline.
add applies one automatically when the new layer is a polyline.
| Preset | Symbol | Stroke | Width |
|---|---|---|---|
simple_ln_red |
#A80000 |
1.50 | |
simple_ln_orange |
#A83800 |
1.50 | |
simple_ln_yellow |
#A87000 |
1.50 | |
simple_ln_lime |
#4C7300 |
1.50 | |
simple_ln_green |
#267300 |
1.50 | |
simple_ln_teal |
#00734C |
1.50 | |
simple_ln_sky |
#005C73 |
1.50 | |
simple_ln_blue |
#004C73 |
1.50 | |
simple_ln_indigo |
#1C3C73 |
1.50 | |
simple_ln_purple |
#4C0073 |
1.50 | |
simple_ln_pink |
#A80084 |
1.50 | |
simple_ln_brown |
#734C00 |
1.50 | |
simple_ln_grey |
#4E4E4E |
1.50 | |
simple_ln_slate |
#4C5A66 |
1.50 |
Feature presets
Cartographic presets named for the feature they represent. Most Polygon presets carry a fill and an outline. The admin presets are hollow, carrying only an outline so the area underneath stays visible. Polyline presets carry a line color only, and Point presets carry a marker fill with a grey outline. Point presets match both Point and Multipoint layers.
| Preset | Geometry | Symbol | Fill | Stroke | Width |
|---|---|---|---|---|---|
land |
Polygon | #EAE3D2 |
#C9BFA8 |
0.70 | |
lake |
Polygon | #A9D3E8 |
#7FB3CE |
0.95 | |
ocean |
Polygon | #8FC1DD |
#6BA8C9 |
0.95 | |
forest |
Polygon | #A7C293 |
#87A86C |
0.70 | |
park |
Polygon | #C8E2AF |
#A8C98D |
0.70 | |
wetland |
Polygon | #C2D6C4 |
#A0BCA2 |
0.70 | |
sand |
Polygon | #F0E2BE |
#DBC999 |
0.70 | |
glacier |
Polygon | #E9F3F6 |
#CADDE3 |
0.70 | |
urban |
Polygon | #E6DAD2 |
#CDBDB0 |
0.70 | |
building |
Polygon | #D8C7BA |
#B6A393 |
0.95 | |
farmland |
Polygon | #E9E4B0 |
#C7BE7A |
0.70 | |
desert |
Polygon | #F3E2C0 |
#D9C190 |
0.70 | |
industrial |
Polygon | #DCD4DE |
#B7AABA |
0.70 | |
admin |
Polygon | none | #3C3C3C |
1.65 | |
admin_bold |
Polygon | none | #1E1E1E |
3.50 | |
admin_subtle |
Polygon | none | #9B9B9B |
0.95 | |
river |
Line | none | #5B9BC4 |
2.35 | |
stream |
Line | none | #8FBFD9 |
1.15 | |
coastline |
Line | none | #4A8FB5 |
1.15 | |
road |
Line | none | #8C8C8C |
2.80 | |
highway |
Line | none | #E8A33D |
4.65 | |
railway |
Line | none | #6B6B6B |
1.85 | |
trail |
Line | none | #B5651D |
1.40 | |
boundary |
Line | none | #9C8BA8 |
1.85 | |
contour |
Line | none | #B5905C |
0.50 | |
cycleway |
Line | none | #2E8B8B |
1.20 | |
power |
Line | none | #9A9A9A |
1.00 | |
city |
Point | #4D4D4D |
#666666 |
0.70 | |
town |
Point | #7A7A7A |
#666666 |
0.70 | |
peak |
Point | #8B5E3C |
#666666 |
0.70 | |
poi |
Point | #C0392B |
#666666 |
0.70 | |
spring |
Point | #5B9BC4 |
#666666 |
0.70 | |
airport |
Point | #3B6FB0 |
#666666 |
0.70 | |
camp |
Point | #5E7F3C |
#666666 |
0.70 | |
harbor |
Point | #2C5F7C |
#666666 |
0.70 |
Highlights
Bright hollow Polygon presets for call-outs and selections, with no fill over a
saturated 2.0 pt outline. They zero the fill opacity, so the body renders
hollow on a Polygon or Point. Designed for Polygon layers; with the default
strict_geom=False they may still be applied to other geometries (on a Polyline
the outline color becomes the line). highlight with no hue is an alias for
highlight_red.
| Preset | Geometry | Symbol | Stroke | Width |
|---|---|---|---|---|
highlight |
Polygon | #E31A1C |
2.5 | |
highlight_red |
Polygon | #E31A1C |
2.5 | |
highlight_orange |
Polygon | #FF7A00 |
2.5 | |
highlight_yellow |
Polygon | #FFD400 |
2.5 | |
highlight_green |
Polygon | #39D353 |
2.5 | |
highlight_teal |
Polygon | #10C7B0 |
2.5 | |
highlight_blue |
Polygon | #1F8FFF |
2.5 | |
highlight_indigo |
Polygon | #5B5BFF |
2.5 | |
highlight_purple |
Polygon | #A14BFF |
2.5 | |
highlight_pink |
Polygon | #FF2D95 |
2.5 |