Changeset 17792


Ignore:
Timestamp:
Oct 11, 2009 10:44:13 AM (7 years ago)
Author:
rouault
Message:

Avoid making a 2D5 geometry from a 2D only linestring when reprojecting (reported by jbronn)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gdal/ogr/ogrlinestring.cpp

    r16853 r17792  
    12171217    else
    12181218    {
    1219         setPoints( nPointCount, xyz, xyz+nPointCount, xyz+nPointCount*2 );
     1219        setPoints( nPointCount, xyz, xyz+nPointCount,
     1220                   ( padfZ ) ? xyz+nPointCount*2 : NULL);
    12201221        CPLFree( xyz );
    12211222
Note: See TracChangeset for help on using the changeset viewer.