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

Does polymaps only support coordinates in lat/long pairs? #52

Closed
stodge opened this issue Jan 19, 2011 · 1 comment
Closed

Does polymaps only support coordinates in lat/long pairs? #52

stodge opened this issue Jan 19, 2011 · 1 comment

Comments

@stodge
Copy link

stodge commented Jan 19, 2011

Does polymaps only support coordinates in lat/long pairs? My dataset isn't lat/longs - it's basic X,Y originating at 0,0. Thanks

@mbostock
Copy link
Contributor

In Polymaps (and Modest Maps) terminology, locations are latitude-longitude pairs, and coordinates are x-y-z triples. So, if you have data that's already in Cartesian coordinates and does not need to be projected, you can use the coordinate-point mapping to figure out where to position them on screen.

That said, the GeoJSON layer currently only supports location data, and you can't customize the projection (spherical mercator). So you may need to provide your own layer implementation, instead of using the built-in po.geoJson.

This issue was closed.
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

2 participants