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

Onestop id name truncation #576

Merged
merged 5 commits into from
May 4, 2016
Merged

Conversation

doublestranded
Copy link
Contributor

closes #575

geohash,
@name[0...RouteStopPatternOnestopId.max_name_length(geohash.length)],
].join(COMPONENT_SEPARATOR)[0...self.class::MAX_LENGTH]
end
Copy link
Member

Choose a reason for hiding this comment

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

Write comment to mention we're reserving 14 characters (2x6 + 2 separators) for RSP components.

@doublestranded doublestranded merged commit 8d5a156 into master May 4, 2016
@doublestranded doublestranded deleted the onestop_id_name_truncation branch May 4, 2016 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Onestop Id Invalid Geometry Hash
2 participants