Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

ShieldSymbolizer - overlap issue #1830

Open
brunocaponi opened this Issue May 9, 2013 · 0 comments

Comments

Projects
None yet
1 participant

I'm trying to create some maps using ShiledSymbolizer but a problem is occurring with the property "allow_overlap". Some of my street segments are very close themselves. For example, the two sides of the highway are part of the same geometry. In such cases, the property allow_overlap not work. I think it just compare different geometries.

The solution I found was to change the code and force update the detector after each shield insertion. I changed the end of the method "void placement_finder::find_point_placement (...)" (placement_finder.cpp: 377) inserting a call to the method "update_detector()".

Some time ago I posted this bug on the Mapnik-devel mailing list. At that time I probably used version 1.4 of Mapnik, but the project was frozen and only returned to work with Mapnik this month then I realized that the problem still persists at version 2.1. In reply of my post, Dane Springmeyer asked me to open a "Trac Ticket" with some example of the problem and the patch that I developed. What is the way to do this with GitHub?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment