[QGIS-Developer] Export layer with measures
radim.blazek at gmail.com
Tue May 30 02:03:01 PDT 2017
On Mon, May 29, 2017 at 11:39 PM, Nyall Dawson >>>
QgsVectorFileWriter::ogrTypeFromWkbType( QgsWkbTypes::Type type )
>>> type = QgsWkbTypes::dropM( type );
>> It works without that line, can I remove it or there is any reason?
> I suspect that's probably a remnant from GDAL < 2.1. I can't see any
> reason to keep it for the newer gdal versions.
Min required is GDAL 2.0, I used:
+#if GDAL_VERSION_NUM < GDAL_COMPUTE_VERSION(2,1,0)
type = QgsWkbTypes::dropM( type );
More information about the QGIS-Developer