[GEOT-2791] ShapefileReader uses a safer memory/buffer-address translation.
Added testcase for reading sparse shape files.
Added testcase for reading sparse shape files.
Modified StyleShapePainter to allow for rescaled legend graphics
Fix for GEOT-2791 ported to shapefile-ng. Fixes IllegalArgumentException in buffer when reading sparse shape files.
Changed scaling condition for Legend graphics (was restricted to (scalefactor > 1)
Merge pull request #167 from volaya/rescaled_legend

Modified StyleShapePainter to allow for rescaled legend graphics
Merge pull request #134 from DieterDePaepe/master

[GEOT-2791] Fixed IllegalArgument in buffer when reading a sparse shape file
Merge branch 'master' of https://github.com/geotools/geotools into multidim