2011/7/26 Fernando González <[email protected]>: > Hi, I'm dealing with a problem in the geotools shapefile store > regarding null geometries. With this code[1] I write a shapefile with > a null geometry. Then, when I read it, a POINT(NaN, NaN) is obtained > [2]. > > This is the case with 2.7.2 and 8.0-M1 versions. > > I think it is a bug because null geometries are supported in shapefile > format and they are also meaningful values. It can be easily solved by > including an "if" in the ShapefileReader.Record.shape() method and > keeping the handler to deal with the null geometry. > > Are you interested in a patch with the fix and a test case? In any > case, I'd like to know the way to proceed.
Yep, build a patch with a test case and attach it to a bug report at http://jira.codehaus.org/browse/GEOT The module maintainer will review and apply the patch as spare time allows. Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ 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
