ShapefileReader does not return null on null shapefile records
--------------------------------------------------------------
Key: GEOT-3759
URL: https://jira.codehaus.org/browse/GEOT-3759
Project: GeoTools
Issue Type: Bug
Components: shapefile plugin
Affects Versions: 8.0-M1
Reporter: Fernando González Cortés
Assignee: Andrea Aime
Attachments: shp_null_geom.patch
ShapefileReader returns a POINT (NaN, NaN) (in case of point shapefiles) when
the type of the shapefile record is ShpType.NULL. This last code means that
there is no geometry for that record.
I attach a patch with a proposed fix and a test case that writes a null
geometry but obtains a non-null one.
I've tested it on trunk and all shapefile tests cases work.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel