Skip to content

Commit

Permalink
Add test for new angled-point marker placement mode
Browse files Browse the repository at this point in the history
This is a test that accompanies the pull request mapnik/mapnik#3782
  • Loading branch information
bmharper committed Oct 26, 2017
1 parent e858453 commit bb065d5
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 0 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions styles/marker-on-line-angled-point.xml
@@ -0,0 +1,26 @@
<Map>
<Parameters>
<Parameter name="sizes">600,400</Parameter>
</Parameters>
<Style name="line" filter-mode="first" >
<Rule>
<LineSymbolizer stroke="#000000" />
</Rule>
</Style>
<Style name="point-placement" filter-mode="first" >
<Rule>
<MarkersSymbolizer placement="point" transform="scale(3 3)" file="../../data/svg/airfield-12-nobox.svg" fill="blue" />
<DebugSymbolizer />
</Rule>
</Style>
<Layer name="carto_tests">
<StyleName>line</StyleName>
<StyleName>point-placement</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="extent">-10, 0, 15, 20</Parameter>
<Parameter name="file">../../data/csv/marker-on-line.csv</Parameter>
<Parameter name="separator">|</Parameter>
</Datasource>
</Layer>
</Map>

0 comments on commit bb065d5

Please sign in to comment.