Changes between Version 22 and Version 23 of rfc61_support_for_measured_geometries


Ignore:
Timestamp:
Jan 29, 2016, 1:46:25 AM (8 years ago)
Author:
Ari Jolma
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • rfc61_support_for_measured_geometries

    v22 v23  
    9090}}}
    9191
    92 Currently a hack to set nCoordDimension negative is used to denote an empty point. This implies many changes to drivers etc. which get or set nCoordinateDimension.
     92Currently a hack to set nCoordDimension negative is used to denote an empty point.
     93
     94The removal of nCoordinateDimension may imply changes to drivers etc. which get or set it.
    9395
    9496The tests are
     
    135137int !CoordinateDimension() should have the new semantics. The method name  in simple features documents actually is without prefix get.
    136138
    137 Whether set3D and setMeasured should affect the children geometries in a collection is an issue. Currently doc for setCoordinateDimension says "Setting the dimension of a geometry collection will affect the children geometries.", thus we have already committed to maintaining dimensions of children in collections. It is proposed that set3D and setMeasured either add or strip Z or M values to or from the geometry (including possible children).
     139Whether set3D and setMeasured should affect the children geometries in a collection is an issue. Currently doc for setCoordinateDimension says "Setting the dimension of a geometry collection will affect the children geometries.", thus we have already committed to maintaining dimensions of children in collections. It is proposed that set3D and setMeasured either add or strip Z or M values to or from the geometry (including possible children). In general the strategy should be to follow the existing strategy regarding Z (i.e., to strip or add).
    138140
    139141Add property double m to class OGRPoint. Add constructor, getters, and setters for it.
     
    185187                                       int * pnMaxPoints,
    186188                                       int * pnReadPoints );
    187 void CPL_DLL OGRMakeWktCoordinateM( char *, double, double, double, double, int ); // int = 3 means XYM, int = 4 means XYZM
     189void CPL_DLL OGRMakeWktCoordinateM( char *, double, double, double, double, int ); // int = flags OGR_G_3D OGR_G_MEASURED
    188190}}}
    189191