Support null values as shapelib does ------------------------------------ Key: GEOT-3204 URL: http://jira.codehaus.org/browse/GEOT-3204 Project: GeoTools Issue Type: Improvement Components: data shapefile Affects Versions: 2.6.1 Environment: All Reporter: Eric Engle Assignee: Andrea Aime Attachments: DbaseFileReader.diff
The shapefile plugin has a decent enough dbf reader included. However, it does not handle null values. This is not necessarily bad, since the shapefile standard does not discuss the dbf contents in depth, but common C libraries (including the one used by ogr2ogr and postgis) do handle null values. For one example see http://shapelib.maptools.org. This thus presents a compatibility problem, if not against the standard, then merely against standard practice (at least for our use of shapefiles.) I have attached a patch that adds support to the dbf reader in the shapefile plugin in geotools 2.6.1. I would love to see this included in a future release of geotools, so please let me know if I can improve it in any way. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel