-
Notifications
You must be signed in to change notification settings - Fork 149
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
Support Float type fields in DBReader #28
base: master
Are you sure you want to change the base?
Conversation
Thanks Simon, will review at earliest!
|
Do you need an issue against this as well? |
dis.readFully(b) | ||
val fld = new Text() | ||
fld.clear() | ||
fld.set(new String(b)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- do you need new String(b) here, i am not in front of a IDE but i thought there is a set method on text which accepts a byte array and start/ end positions?
- do you need clear on a newly allocated text object?
@simonellistonball , no need for an issue against this.. as soon as the code review is done and the test is in place, i can do a final pass and pull the patch in. |
Replaced test data with generated data to avoid license problem
Replaced test data with generated data to avoid license problem
This added simple support for the Float type in DBF files, which exists in some shapefile sources.
Test to come, when I dig up appropriately licensed data.