Thanks a lot.

I have to investigate about these zeros. Are they expected in a DBF file ? Or have we only come upon an odd shapefile ? I will try to load few shapefile from everywhere to see how the fields names are usually declared. Because I don't know if Apache SIS is already able to save a Shapefile, but maybe if we load a shapefile "with terminal zeroes", we are expected to save this shapefile with these zeros too ?

Marc.

-----Message d'origine----- From: Martin Desruisseaux
Sent: Tuesday, September 30, 2014 6:45 PM
To: dev@sis.apache.org
Subject: Re: Shapefile / DenseFeature : first name searched for returns a null value.

As a side note, I also modified the ShapeFile reader for trimming the
trailing null characters ('\0') and spaces in attribute names and
values. I presume that they were not intended, especially the null
character.

   Martin


Le 30/09/14 18:26, Martin Desruisseaux a écrit :
Hello Marc

I committed the fix on the JDK8 branch. Thanks again for the bug report
and the fix (your proposal sound good). I committed the test in
FeatureTestCase.testGetProperty() in a modified form (without dependency
to the shapefile) and added your name to the author list. Please let me
know if there is any issue.

    Martin



Reply via email to