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

Parsing dbf file returns unexpected null values #70

Closed
mkfreeman opened this issue Feb 7, 2022 · 3 comments
Closed

Parsing dbf file returns unexpected null values #70

mkfreeman opened this issue Feb 7, 2022 · 3 comments

Comments

@mkfreeman
Copy link

The .dbf file downloaded here returns null values for each district. See this notebook for an example.

Other parsers (such as the one in R) detect values:
Screen Shot 2022-02-07 at 4 21 13 PM

@Fil noted that:

the file is full of \x00 then fails on !(value = value.trim()) || isNaN(value = +value) ? null : value; in the readNumber function. I guess we should trim the \x00 not only spaces

@Fil
Copy link

Fil commented Feb 7, 2022

I see \x00 everywhere in my shape files, not just in number fields. It's always a bit of pain to eradicate.

@Fil
Copy link

Fil commented Feb 8, 2022

duplicate of #68

@mbostock
Copy link
Owner

mbostock commented Feb 8, 2022

Closing as duplicate.

@mbostock mbostock closed this as completed Feb 8, 2022
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