Changes between Initial Version and Version 5 of Ticket #1323


Ignore:
Timestamp:
Apr 8, 2007, 7:02:36 AM (17 years ago)
Author:
Mateusz Łoskot
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1323 – Description

    initial v5  
    1 {{{
    21importWkb methods corrupt XYZM data when importing it since the dimension is incorrectly set to 2.5D. The dimension could be checked in the methods by statement
    32
     
    65The vertex data can be correctly imported then in XYZM case using
    76
     7{{{
    88for( i = 0; i < nPointCount; i++ ) {
    99      memcpy( paoPoints + i, pabyData + 9 + i*32, 16 );
    1010      memcpy( padfZ + i, pabyData + 9 + 16 + i*32, 8 );
    1111    }
     12}}}
    1213
    1314which should be executed if dimension == 4
    1415
    1516This is related to #1036 and should be fixed when it is fixed. The M data is discarded in both fixes, but support for it should be added to OGR. I'd be in fact interested in doing that.
    16 }}}