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

TypeError: Cannot read property 'point-radius' of undefined #117

Closed
orcutt989 opened this issue May 22, 2017 · 3 comments
Closed

TypeError: Cannot read property 'point-radius' of undefined #117

orcutt989 opened this issue May 22, 2017 · 3 comments

Comments

@orcutt989
Copy link

Hey Mike - when I try...

geo2svg -w 960 -h 960 < ca-albers.json > ca-albers.svg

I get...

TypeError: Cannot read property 'point-radius' of undefined
    at transform (/usr/lib/node_modules/d3-geo-projection/bin/geo2svg:49:26)
    at callbackObject (/usr/lib/node_modules/d3-geo-projection/bin/read.js:33:12)
    at process._tickCallback (internal/process/next_tick.js:109:7)

I apologize for raising an issue if I'm just doing something wrong. Thanks for your help.

@mbostock
Copy link
Member

mbostock commented May 22, 2017

Ah. There’s a bug when the feature’s properties is null. One moment please.

@mbostock
Copy link
Member

Fix released in 2.1.2.

@orcutt989
Copy link
Author

Thanks!

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

No branches or pull requests

2 participants