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

Support for SRID transformations? #14

Closed
abmohan opened this issue Sep 11, 2014 · 3 comments
Closed

Support for SRID transformations? #14

abmohan opened this issue Sep 11, 2014 · 3 comments

Comments

@abmohan
Copy link

abmohan commented Sep 11, 2014

Thanks for developing this tool!

I'm using it to import Canadian electoral districts into MongoDB. Here's a sample file: http://ftp2.cits.rncan.gc.ca/pub/geott/electoral/2011/fed308.2011.zip

The shapefile is in NAD83 CNT and the points have to be transformed to WGS84 for visualization. Are you planning on implementing a tool that performs such calculations, and if not, would you be willing to incorporate one if it were to be written?

@calvinmetcalf
Copy link

since it turns it into geojson you can use something like https://github.com/calvinmetcalf/proj4geojson to convert the geojson

@mbostock
Copy link
Owner

mbostock commented Sep 3, 2016

Sorry for not replying this issue. This is just a Shapefile parser, so it wouldn’t be the right place to implement coordinate system transformations. I’d either use ogr2ogr for that or a GeoJSON-based tool as Calvin suggested. Hope you figured something out already. 😉

@mbostock mbostock closed this as completed Sep 3, 2016
@abmohan
Copy link
Author

abmohan commented Nov 25, 2016

I did, indeed. At the time, I used ogr2ogr. Thanks, @mbostock

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

3 participants