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

Street labels at intersections are (sometimes often) crazy #1

Open
bmount opened this issue Mar 24, 2012 · 0 comments
Open

Street labels at intersections are (sometimes often) crazy #1

bmount opened this issue Mar 24, 2012 · 0 comments

Comments

@bmount
Copy link
Owner

bmount commented Mar 24, 2012

SF official streetline dataset (and census/tigerline to which AFAICT it is identical) includes centerlines for each direction of streets divided by medians, and then those centerlines are joined into one where the median ceases at intersections. This means that just using the direction of the street centerline to orient labels leads to weird geometries at large street intersections (such as in the default San Jose/Guerrero location.)

Generally in order to align the unit vectors of street labels with streets a lot more checks need to be done in the function here: https://github.com/bvmou/cityedit/blob/master/mapcouchapp/templates/editor.html#L294

Maybe sanest thing is to do is generate a separate file with just the intersections, names, and orientations of streets. It should also be a lot easier to simplify this than the curbline datasets which also lead to those overly complex geometries at rounded curbs and medians.

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

No branches or pull requests

1 participant