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

DbaseFileReader default encoding error and so on... #21

Closed
bouyeijiang opened this issue Mar 5, 2019 · 4 comments
Closed

DbaseFileReader default encoding error and so on... #21

bouyeijiang opened this issue Mar 5, 2019 · 4 comments

Comments

@bouyeijiang
Copy link

question 1:
var reader= new DbaseFileReader(file,encoding);
throw an error and that the object not instance ;
question 2:
for example code;
while (reader.Read())
{
var f = new Feature() { Geometry = reader.Geometry };
f.Attributes = new AttributesTable();
int num = reader.DbaseHeader.NumFields;

                for (int i = 0; i < num; ++i)
                {
                    _name = reader.DbaseHeader.Fields[i].Name;
                    object val = reader.GetValue(i+1);//here is bug,attrbiute table not match column name index
                }

};
question 3:
ShapefileDataWriter can't setting default encoding

@airbreather airbreather transferred this issue from NetTopologySuite/NetTopologySuite Mar 5, 2019
@Conscientious
Copy link

May I ask how the solution was finally solved? Could you share the method?

@bouyeijiang
Copy link
Author

bouyeijiang commented May 13, 2023 via email

@Conscientious
Copy link

朋友,请问你编码的问题最后是如何解决的?

@KubaSzostak
Copy link
Member

I would like to remind you that the development of this project has been discontinued and will be no longer maintained. Please consider NetTopologySuite.IO.Esri as a replacement. It contains rewritten logic for dBase reader. If the problem still exist, submit an issue directly in the new project, please.

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