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

Fix projection of DC #10

Closed
eschow opened this issue Oct 27, 2013 · 3 comments
Closed

Fix projection of DC #10

eschow opened this issue Oct 27, 2013 · 3 comments
Labels

Comments

@eschow
Copy link
Contributor

eschow commented Oct 27, 2013

No description provided.

@ajschumacher
Copy link
Contributor

What's wrong with the projection of DC? @eschow?

@eschow
Copy link
Contributor Author

eschow commented Nov 3, 2013

The north end of DC isn't pointing north. Cartographers I've worked insist on a different projection when we're only displaying DC. From my experience, if it's print, we go with some Maryland/VA specific projection but online it's the standard google projection.

The way it displays on our map now, it just feels like everything is skewed and distorted. Not square like we're used to!

Hope that clarifies.

@ajschumacher
Copy link
Contributor

Wow! I totally didn't notice that until you pointed it out - thanks! I switched it to a mercator projection and I think it looks a lot better as far as pointing in the right direction; take a look and let me know if I'm wrong about that. Also there's a nicer way of centering and zooming:

projection = d3.geo.mercator()
.center([-77.01551, 38.90755]) // Dunbar High School
.scale(150000)
.translate([width/2, height/2]);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants