Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Conversation

@hollinger
Copy link

This is a potential update for review. The goal to support definition of layout and format nodes in carto, as discussed in #347. Pseudo-element sytax is used to create child elements within the symbolizers. Test cases are included, which demonstrate the syntax and resulting xml.

Note that this also requires a change in mapnik-reference: mapnik/mapnik-reference#62.

hollinger and others added 3 commits June 23, 2014 08:48
This update reads information about symbolizer child elements from mapnik-reference.
This information is used to create child elements in the XML, based on psuedo element
syntax parsed from mss. Rendering of tags for symbolizers and child elements is similar,
so the rendering is handled by a new shared object called RenderNode. This also handles
indentation for nested child nodes.
Three primary test focuses:
1. Rendering nested pseudo elements and properly handling indentation
2. Ordering of the child elements in the symbolizer, based on order from mapnik-reference and indexes from mss syntax
3. Handling override and inheritance of child elements and their attributes from rule to rule
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant