Classes can be up to 64K (#5227)

git-svn-id: https://svn.osgeo.org/gdal/branches/1.10@26389 f0d54148-0727-0410-94bb-9a71ac55c965
handle attributes up to 64K properly (#5226)

git-svn-id: https://svn.osgeo.org/gdal/branches/1.10@26390 f0d54148-0727-0410-94bb-9a71ac55c965
fix resolution check typo in rasterlite driver

git-svn-id: https://svn.osgeo.org/gdal/branches/1.10@26398 f0d54148-0727-0410-94bb-9a71ac55c965
georaster - backport r26404, r26322 and r26103

git-svn-id: https://svn.osgeo.org/gdal/branches/1.10@26405 f0d54148-0727-0410-94bb-9a71ac55c965
linux compilation error, revert small change

git-svn-id: https://svn.osgeo.org/gdal/branches/1.10@26406 f0d54148-0727-0410-94bb-9a71ac55c965