ogr2ogr: make sure that target dataset is properly closed when a CreateFeature() fails (so that truncated shapefiles have their header file properly updated)

git-svn-id: https://svn.osgeo.org/gdal/trunk@26658 f0d54148-0727-0410-94bb-9a71ac55c965
Test shapefile .shp 2GB / 4GB limit

git-svn-id: https://svn.osgeo.org/gdal/trunk@26659 f0d54148-0727-0410-94bb-9a71ac55c965
DXF: accept reading files starting with a TABLES section (#5307)

git-svn-id: https://svn.osgeo.org/gdal/trunk@26660 f0d54148-0727-0410-94bb-9a71ac55c965
Implemented the where= parameter.


git-svn-id: https://svn.osgeo.org/gdal/trunk@26662 f0d54148-0727-0410-94bb-9a71ac55c965
OpenJPEG: avoid writing dummy GeoJP2 box when source dataset has no georeferencing (#5306)

git-svn-id: https://svn.osgeo.org/gdal/trunk@26663 f0d54148-0727-0410-94bb-9a71ac55c965
JP2ECW: avoid writing dummy GeoJP2 box when source dataset has no georeferencing (#5306)

git-svn-id: https://svn.osgeo.org/gdal/trunk@26665 f0d54148-0727-0410-94bb-9a71ac55c965
JP2OpenJPEG: test multi-threaded reading

git-svn-id: https://svn.osgeo.org/gdal/trunk@26667 f0d54148-0727-0410-94bb-9a71ac55c965
DWG: Add support for reading AcDb3dPolyline (patch by wayne, #5260)

git-svn-id: https://svn.osgeo.org/gdal/trunk@26668 f0d54148-0727-0410-94bb-9a71ac55c965
DXF: fix an error when processing clockwise circle arc (patch by ermite, #5182)

git-svn-id: https://svn.osgeo.org/gdal/trunk@26669 f0d54148-0727-0410-94bb-9a71ac55c965
DXF: avoid building an invalid polygon from A POLYGON when edges cannot be reassembled: turn it into a multilinestring

git-svn-id: https://svn.osgeo.org/gdal/trunk@26670 f0d54148-0727-0410-94bb-9a71ac55c965
DXF: use CPLAtof() instead of atof() to avoid issues with locales

git-svn-id: https://svn.osgeo.org/gdal/trunk@26671 f0d54148-0727-0410-94bb-9a71ac55c965
DXF and DWG: fix linear approximation of circular and elliptic arc in HATCH boundaries (patch by ermite, #5182)

git-svn-id: https://svn.osgeo.org/gdal/trunk@26672 f0d54148-0727-0410-94bb-9a71ac55c965
DXF: completementary fix for arc in HATCH objects (#5182)

git-svn-id: https://svn.osgeo.org/gdal/trunk@26673 f0d54148-0727-0410-94bb-9a71ac55c965
GTiff: make SetColorInterpretation() round-trip with GetColorInterpreation(); read color interpretation from PAM if it exists (overrides internal tiff color interpretation); set TIFFTAG_PHOTOMETRIC=PHOTOMETRIC_RGB if calling SetColorInterpretation() with R,G,B and no explicit PHOTOMETRIC creation option defined

git-svn-id: https://svn.osgeo.org/gdal/trunk@26674 f0d54148-0727-0410-94bb-9a71ac55c965
Internal libtiff: upgrade to latest CVS

git-svn-id: https://svn.osgeo.org/gdal/trunk@26675 f0d54148-0727-0410-94bb-9a71ac55c965
Revert tif_dir.c to previous version since upstream libtiff is broken

git-svn-id: https://svn.osgeo.org/gdal/trunk@26676 f0d54148-0727-0410-94bb-9a71ac55c965
Internal libtiff: upgrade to latest CVS

git-svn-id: https://svn.osgeo.org/gdal/trunk@26677 f0d54148-0727-0410-94bb-9a71ac55c965
S57: fix GetFeature() on DSID layer

git-svn-id: https://svn.osgeo.org/gdal/trunk@26678 f0d54148-0727-0410-94bb-9a71ac55c965
MySQL: resolve SRS before assigning it to geometry of feature; run test_ogrsf in autotest suite

git-svn-id: https://svn.osgeo.org/gdal/trunk@26679 f0d54148-0727-0410-94bb-9a71ac55c965
Fix warning about ignoring return value of chdir()

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