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

Issue with 'L' Column in DBF with Length greater than 1. #51

Closed
mahdirastegari opened this issue Jul 2, 2024 · 1 comment
Closed

Issue with 'L' Column in DBF with Length greater than 1. #51

mahdirastegari opened this issue Jul 2, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@mahdirastegari
Copy link
Contributor

I encountered a shapefile with an 'L' column where the Length is greater than 1. However, when reading the logical column, You will encounter an exception as the position of the reading stream is mismatched.
image

Here is the shape file zipped which I face the issue.
roads4.zip

Although I understand that the Logic column should have a Length of 1, other importers such as QGIS can import this file correctly, so I believe we should address the issue.

mahdirastegari added a commit to mahdirastegari/NetTopologySuite.IO.Esri that referenced this issue Jul 2, 2024
Fix the issue with the column length mismatch: the 'D' column should be 8 characters long, and the 'L' column should be 1 character long.
@KubaSzostak KubaSzostak added the bug Something isn't working label Jul 28, 2024
KubaSzostak added a commit that referenced this issue Jul 28, 2024
Issue #51, Fix the issue with the column length mismatch
@KubaSzostak
Copy link
Member

Fixed by #52. Thank you @mahdirastegari.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants