WMS: add support for retrieving nodata, min and max values, defined per band or per dataset in the config file (extract of patch by Lucian Plesea, #4613)

git-svn-id: http://svn.osgeo.org/gdal/trunk@24232 f0d54148-0727-0410-94bb-9a71ac55c965
WMS: add support for GetColorTable(), that will be later used by the TiledWMS mini driver (extract of patch by Lucian Plesea, #4613)

git-svn-id: http://svn.osgeo.org/gdal/trunk@24233 f0d54148-0727-0410-94bb-9a71ac55c965
WMS: update TiledWMS mini-driver to support new variable substitution mechanism, min/max/nodata settings, color table support (extract of patch by Lucian Plesea, #4613)

git-svn-id: http://svn.osgeo.org/gdal/trunk@24234 f0d54148-0727-0410-94bb-9a71ac55c965
WMS: remove m_overview_count member (extract of patch by Lucian Plesea, #4613)

git-svn-id: http://svn.osgeo.org/gdal/trunk@24235 f0d54148-0727-0410-94bb-9a71ac55c965
Test a TiledWMS dataset with a color table (#4613)

git-svn-id: http://svn.osgeo.org/gdal/trunk@24236 f0d54148-0727-0410-94bb-9a71ac55c965
Indentation fixes

git-svn-id: http://svn.osgeo.org/gdal/trunk@24237 f0d54148-0727-0410-94bb-9a71ac55c965
OGRLayer::SetNextByIndex(): return OGRERR_FAILURE if index < 0

git-svn-id: http://svn.osgeo.org/gdal/trunk@24238 f0d54148-0727-0410-94bb-9a71ac55c965
Fix incorrect rounding in OGRFormatDouble (#4614)

git-svn-id: http://svn.osgeo.org/gdal/trunk@24239 f0d54148-0727-0410-94bb-9a71ac55c965
TiledWMS: fix potential segfault if BBOX is missing

git-svn-id: http://svn.osgeo.org/gdal/trunk@24241 f0d54148-0727-0410-94bb-9a71ac55c965
test_ogrsf: add testing for error conditions

git-svn-id: http://svn.osgeo.org/gdal/trunk@24242 f0d54148-0727-0410-94bb-9a71ac55c965
support USGS angular parameters in radians

git-svn-id: http://svn.osgeo.org/gdal/trunk@24243 f0d54148-0727-0410-94bb-9a71ac55c965
Better error messages. 
Some errors changed to warnings. 
Default to first band in GetRasterBand. 
Kosher use of blessed ... ->isa.
Cleverer and fixed use of arguments in Contours.
new method Geo::OGR::Layer::DataSource
new method Geo::OGR::Layer::HasField
Layer methods for fields check for existing field and do not require FieldDefn objects.
Some tests for Layer methods for fields.
Internal method Feature::Index to reduce code.
Default value "" for utf8_path argument.
Some new documentation.


git-svn-id: http://svn.osgeo.org/gdal/trunk@24244 f0d54148-0727-0410-94bb-9a71ac55c965
removed forgotten debug code


git-svn-id: http://svn.osgeo.org/gdal/trunk@24245 f0d54148-0727-0410-94bb-9a71ac55c965
JP2KAK: Fix writing of resolution box where the xresolution value was written instead of the yresolution one

git-svn-id: http://svn.osgeo.org/gdal/trunk@24246 f0d54148-0727-0410-94bb-9a71ac55c965
OpenJPEG: read and write JP2 Res box and translate it from/to TIFFTAG_XRESOLUTION, TIFFTAG_YRESOLUTION and TIFFTAG_RESOLUTIONUNIT metadata items

git-svn-id: http://svn.osgeo.org/gdal/trunk@24247 f0d54148-0727-0410-94bb-9a71ac55c965
Provide M_PI if not already in math.h.


git-svn-id: http://svn.osgeo.org/gdal/trunk@24248 f0d54148-0727-0410-94bb-9a71ac55c965
Disable RasterizeLayer() and ContourGenerate() functions if OGR is not enabled (OGR_ENABLED).

git-svn-id: http://svn.osgeo.org/gdal/trunk@24249 f0d54148-0727-0410-94bb-9a71ac55c965
Conversion for 8-bit unpacked CMYK (PHOTOMETRIC_SEPARATED) to RGBA.

git-svn-id: http://svn.osgeo.org/gdal/trunk@24250 f0d54148-0727-0410-94bb-9a71ac55c965
Feature class:
Geometry method accepts geometries in Perl structures 
and tests the geometry type.
Tuple and Row methods use the Geometry method.
Fixed a bug in FeatureDefn::create which changed the fields.
Layer class:
New experimental methods ForFeatures and ForGeometries.
InsertFeature, Tuple and Row methods use the Tuple and Row methods from Feature.
Documentation and tests for the above.


git-svn-id: http://svn.osgeo.org/gdal/trunk@24251 f0d54148-0727-0410-94bb-9a71ac55c965
Revert r24249, build changes are required to support OGR_ENABLED in SWIG.

git-svn-id: http://svn.osgeo.org/gdal/trunk@24252 f0d54148-0727-0410-94bb-9a71ac55c965