You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openstreetmap-carto/symbols/generating_patterns/forest.md

1.3 KiB

Pattern file for forests is generated in various steps.

For the pattern for unknown leave type visit jsdotpattern (command sequence is recorded) For the other leave types you have to install jsdotpattern locally, and install the SVG symbols (broadleaved.svg and needleleaved.svg, see the documentation of jsdotpattern about how to do this) and use the same command sequence. For the mixed leave type, you have to use broadleaved.svg and needleleaved.svg together in a subfolder. For the leafless type, you have to use leafless1.svg and leafless2.svg together in a subfolder.

Generate file - use "render (px aligned)" followed by using "get pattern SVG data" (it is expected that background will be transparent, background colour in jsdotpattern is only for display).

Generated SVG image is sanitized for use with Mapnik by the script svg_pattern.sh from the jsdotpattern repository at http://github.com/imagico/jsdotpattern.

The final files are leavetype_unknown, leavetype_mixed.svg, leavetype_broadleaved.svg, leavetype_needleleaved.svg and leavetype_leafless.svg.