-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SymbolTest: Test for rendering dashed lines with mid symbols
Adding test step and test files for testing the correct rendering of dashed lines with mid symbols.
- Loading branch information
Showing
3 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<map xmlns="http://openorienteering.org/apps/mapper/xml/v2" version="9"> | ||
<notes></notes> | ||
<georeferencing scale="10000"><projected_crs id="Local"/></georeferencing> | ||
<colors count="1"> | ||
<color priority="0" name="Black 100%" c="0" m="0" y="0" k="1" opacity="1"><spotcolors><namedcolor>BLACK</namedcolor></spotcolors><cmyk method="custom"/><rgb method="cmyk" r="0" g="0" b="0"/></color> | ||
</colors> | ||
<barrier version="6" required="0.6.0"> | ||
<symbols count="3" id="ISOM 2017-2"> | ||
<symbol type="2" id="0" code="514" name="Ruined wall"><description>A ruined or less distinct wall. Minimum height 0.5 m. | ||
Minimum length: two dashes (3.65 mm - footprint 55 m). If shorter, the object must be exaggerated to the minimum length or changed to symbol Wall (513).</description><line_symbol color="0" line_width="210" minimum_length="5475" join_style="1" cap_style="0" start_offset="0" end_offset="0" dashed="true" segment_length="3750" end_length="1875" show_at_least_one_symbol="true" minimum_mid_symbol_count="0" minimum_mid_symbol_count_when_closed="0" dash_length="3000" break_length="525" dashes_in_group="1" in_group_break_length="750" mid_symbols_per_spot="1" mid_symbol_distance="0"><mid_symbol><symbol type="1" code="" name="Mid symbol"><point_symbol rotatable="true" inner_radius="300" inner_color="0" outer_width="0" outer_color="-1" elements="0"/></symbol></mid_symbol></line_symbol></symbol> | ||
<symbol type="2" id="1" code="517" name="Ruined fence"><description>A ruined or less distinct fence. If the fence forms an enclosed area, tags should be placed inside. | ||
Minimum length: two dashes (3.65 mm - footprint 55 m). If shorter, the symbol must be exaggerated to the minimum length or changed to symbol Fence (516).</description><line_symbol color="0" line_width="210" minimum_length="5475" join_style="1" cap_style="0" start_offset="0" end_offset="0" dashed="true" segment_length="3750" end_length="1875" show_at_least_one_symbol="true" minimum_mid_symbol_count="0" minimum_mid_symbol_count_when_closed="0" dash_length="3000" break_length="525" dashes_in_group="1" in_group_break_length="750" mid_symbols_per_spot="1" mid_symbol_distance="0"><mid_symbol><symbol type="1" code="" name="Mid symbol"><point_symbol rotatable="true" inner_radius="1500" inner_color="-1" outer_width="0" outer_color="-1" elements="1"><element><symbol type="2" code=""><line_symbol color="0" line_width="210" minimum_length="0" join_style="1" cap_style="0" start_offset="0" end_offset="0" segment_length="6000" end_length="0" show_at_least_one_symbol="true" minimum_mid_symbol_count="0" minimum_mid_symbol_count_when_closed="0" dash_length="6000" break_length="1500" dashes_in_group="1" in_group_break_length="750" mid_symbols_per_spot="1" mid_symbol_distance="0"/></symbol><object type="1"><coords count="2">0 0;375 650;</coords><pattern rotation="0"><coord x="0" y="0"/></pattern></object></element></point_symbol></symbol></mid_symbol></line_symbol></symbol> | ||
<symbol type="2" id="2" code="517.1" name="Ruined fence (test)"><description>Test with small line width</description><line_symbol color="0" line_width="50" minimum_length="5475" join_style="1" cap_style="0" start_offset="0" end_offset="0" dashed="true" segment_length="3750" end_length="1875" show_at_least_one_symbol="true" minimum_mid_symbol_count="0" minimum_mid_symbol_count_when_closed="0" dash_length="3000" break_length="525" dashes_in_group="1" in_group_break_length="750" mid_symbols_per_spot="1" mid_symbol_distance="0"><mid_symbol><symbol type="1" code="" name="Mid symbol"><point_symbol rotatable="true" inner_radius="1500" inner_color="-1" outer_width="0" outer_color="-1" elements="1"><element><symbol type="2" code=""><line_symbol color="0" line_width="50" minimum_length="0" join_style="1" cap_style="0" start_offset="0" end_offset="0" segment_length="6000" end_length="0" show_at_least_one_symbol="true" minimum_mid_symbol_count="0" minimum_mid_symbol_count_when_closed="0" dash_length="6000" break_length="1500" dashes_in_group="1" in_group_break_length="750" mid_symbols_per_spot="1" mid_symbol_distance="0"/></symbol><object type="1"><coords count="2">0 0;375 650;</coords><pattern rotation="0"><coord x="0" y="0"/></pattern></object></element></point_symbol></symbol></mid_symbol></line_symbol></symbol> | ||
</symbols> | ||
<parts count="1" current="0"> | ||
<part name="default part"><objects count="4"> | ||
<object type="1" symbol="1"><coords count="7">-47979 -65916 1;-46790 -66102;-47260 -69147;-46711 -69502 1;-45227 -70462;-43504 -67304;-42086 -69484 16;</coords><pattern rotation="0"><coord x="0" y="0"/></pattern></object> | ||
<object type="1" symbol="0"><coords count="7">-40280 -65313 1;-39258 -66072;-40623 -68494;-39724 -69181 1;-38416 -70181;-39233 -71180;-36859 -70732;</coords><pattern rotation="0"><coord x="0" y="0"/></pattern></object> | ||
<object type="1" symbol="1"><coords count="13">-54931 -69830 1;-56003 -68619;-55890 -66767;-54679 -65695 1;-53468 -64623;-51617 -64735;-50544 -65947 1;-49472 -67158;-49585 -69009;-50796 -70082 1;-52007 -71154;-53858 -71041;-54931 -69830 18;</coords><pattern rotation="0"><coord x="0" y="0"/></pattern></object> | ||
<object type="1" symbol="2"><coords count="4">-48463 -61909 33;-48152 -64235;-44117 -65995;-42140 -64525 32;</coords><pattern rotation="0"><coord x="0" y="0"/></pattern></object> | ||
</objects></part> | ||
</parts> | ||
<templates count="0" first_front_template="0"> | ||
<defaults use_meters_per_pixel="true" meters_per_pixel="0" dpi="0" scale="0"/> | ||
</templates> | ||
<view> | ||
<grid color="#646464" display="0" alignment="0" additional_rotation="0" unit="1" h_spacing="500" v_spacing="500" h_offset="0" v_offset="0" snapping_enabled="true"/> | ||
<map_view zoom="18.8854" position_x="-46306" position_y="-66619"><map opacity="1" visible="true"/><templates count="0"/></map_view> | ||
</view> | ||
</barrier> | ||
</map> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters