calvinmetcalf / fileGDB.js

parse a file GDB
http://calvinmetcalf.github.io/fileGDB.js
MIT License
68 stars 10 forks source link

Fixed default value leng on text fieldtype and nullable flag on shape… #10

Open sainsb opened 8 years ago

sainsb commented 8 years ago

Field parsing was getting corrupted b/c no reservation for length of default field value in field header. Also, shape-type field meta.nullable was hardcoded to false. Added in the parse of the flag value for shape field.

calvinmetcalf commented 8 years ago

looks good though test ?

sainsb commented 8 years ago

you mean like this https://pbs.twimg.com/media/Cf3I4zQUUAEwBCB.jpg:large ? OK, added an fgdb with an fc that has a geom field that is nullable and another field that has a default value. Added a test against said fgdb.