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

base placename direction parameter on geometry #2404

Merged
merged 1 commit into from
Oct 10, 2016

Conversation

nebulon42
Copy link
Contributor

Which makes it consistent across metatiles. Idea by @imagico. Ref #2378.

I have not seen any visual changes but at least we now can rule out this factor as source for misplaced labels at metatile boundaries.

Copy link
Collaborator

@pnorman pnorman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather use md5(osm_id::text) or as a second choice md5(way::bytea). Both of these are IMMUTABLE and produce TEXT which is easily manipulated.

They are also

  • Faster
  • clearer that they are not producing a value with meaning
  • Probably less prone to edits to fiddle with label positioning

@nebulon42
Copy link
Contributor Author

Interesting, I'll try that.

@nebulon42
Copy link
Contributor Author

Changed. Interestingly, I now saw improvements with London and Valencia.

@pnorman pnorman merged commit 6d56aca into gravitystorm:master Oct 10, 2016
@nebulon42 nebulon42 deleted the placename-random branch October 10, 2016 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants