Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add text-largest-bbox-only #99

Merged
merged 1 commit into from
Jun 10, 2015

Conversation

talaj
Copy link
Member

@talaj talaj commented Mar 9, 2015

Adds missing property of text symbolizer.

@yohanboniface
Copy link
Member

@springmeyer I see in the wiki that this option is sort of experimental (NOTE: this option may change or be renamed in the future), should we think about some "experimental": true key to add in the symbolizer in such case?

@talaj
Copy link
Member Author

talaj commented Jun 3, 2015

Also the description of this option on the wiki is not very precise. One have to use this option for labeling multi geometries, not just polygons.

@springmeyer
Copy link
Member

@springmeyer I see in the wiki that this option is sort of experimental (NOTE: this option may change or be renamed in the future)

Yes, I've hesitated to add this because I'd love to replace it mapnik/mapnik#1583. @talaj - what do you think: is the idea of being able to control labeling like that a good idea? If not then I should probably just stop hesitating and expose this option.

should we think about some "experimental": true key to add in the symbolizer in such case?

I think better to just make a call as per above.

@yohanboniface
Copy link
Member

I think better to just make a call as per above.

Seems to me that it's not the first case of feature that exists in Mapnik for a long but doesn't pop up on mapnik-reference because it's not considered stable enough. My opinion is that it would be much helpful for the community to add those features as soon as they exist, but with a key that define their stability status.
Just an example: when using carto, if a symbolizer is not on mapnik-reference you just can't use it, so you can't even test it and give feedback to make it better.
Another suggestion for the key: stability, with the values deprecated, experimental, unstable and stable, the default being stable so we don't need to add the key everywhere.
Thoughts @springmeyer ? :)

@springmeyer
Copy link
Member

Another suggestion for the key: stability, with the values deprecated, experimental, unstable and stable, the default being stable so we don't need to add the key everywhere.

Okay, thanks for pushing back: I'm in. We definitely need a way to tag things as deprecated. And so I like combining this into a single stability (or status) category. 👍 to stable being default so we only need the key added in rare circumstances.

@yohanboniface
Copy link
Member

Excellent :)
Should I prepare that for 7.0.2? (I guess we need to describe it in datasource.template.json?)
If so, I'll create another issue for tracking this.

@yohanboniface
Copy link
Member

Well, it may require an upgrade of at least the minor tag, so we may target 7.1.0 instead, if not 8.0.0, but I'm not sure what is the policy for versioning. :)

@springmeyer
Copy link
Member

I think we should go to 8.0.0 because this will add to the reference scheme. It won't be breaking but will still be significant.

@talaj
Copy link
Member Author

talaj commented Jun 4, 2015

@springmeyer I didn't notice mapnik/mapnik#1583 before. It's definitely good idea to use something like multi-policy enumeration instead. Also default behavior should change. I was always thinking something is broken when just one geometry of multigeometry get labeled by default.

yohanboniface added a commit that referenced this pull request Jun 10, 2015
@yohanboniface yohanboniface merged commit 3aba9e5 into mapnik:master Jun 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants