Changes between Version 22 and Version 23 of rfc61_support_for_measured_geometries
- Timestamp:
- Jan 29, 2016, 1:46:25 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
rfc61_support_for_measured_geometries
v22 v23 90 90 }}} 91 91 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. 92 Currently a hack to set nCoordDimension negative is used to denote an empty point. 93 94 The removal of nCoordinateDimension may imply changes to drivers etc. which get or set it. 93 95 94 96 The tests are … … 135 137 int !CoordinateDimension() should have the new semantics. The method name in simple features documents actually is without prefix get. 136 138 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). 139 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). In general the strategy should be to follow the existing strategy regarding Z (i.e., to strip or add). 138 140 139 141 Add property double m to class OGRPoint. Add constructor, getters, and setters for it. … … 185 187 int * pnMaxPoints, 186 188 int * pnReadPoints ); 187 void CPL_DLL OGRMakeWktCoordinateM( char *, double, double, double, double, int ); // int = 3 means XYM, int = 4 means XYZM189 void CPL_DLL OGRMakeWktCoordinateM( char *, double, double, double, double, int ); // int = flags OGR_G_3D OGR_G_MEASURED 188 190 }}} 189 191