Skip to content

Expose featureCount property. Fixes #40.#41

Open
stevage wants to merge 2 commits into
mbostock:masterfrom
stevage:40-featureCount
Open

Expose featureCount property. Fixes #40.#41
stevage wants to merge 2 commits into
mbostock:masterfrom
stevage:40-featureCount

Conversation

@stevage

@stevage stevage commented Jan 5, 2018

Copy link
Copy Markdown

No description provided.

@mbostock

mbostock commented Jan 9, 2018

Copy link
Copy Markdown
Owner

Could we call it “size” instead of “featureCount”?

@stevage

stevage commented Jan 9, 2018

Copy link
Copy Markdown
Author

Might be confused with file size, but up to you.

@petitlegume petitlegume left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It shoud use getUint32 instead of getUint16. The number of records in the file refers to the byte offset 4 - 7 in the DBF head.

petitlegume pushed a commit to petitlegume/shapefile that referenced this pull request Jan 13, 2021
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

Successfully merging this pull request may close these issues.

3 participants