Skip to content
Permalink
Browse files

Skip m-coordinates in geos import

  • Loading branch information
mhugent committed Jul 29, 2015
1 parent c42b8c1 commit 335644e580bd89b944b5d64de39792e6bc755538
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/geometry/qgsgeos.cpp
@@ -1375,7 +1375,7 @@ GEOSCoordSequence* QgsGeos::createCoordinateSequence( const QgsCurveV2* curve )
}

bool hasZ = line->is3D();
bool hasM = line->isMeasure();
bool hasM = false; //line->isMeasure(); //disabled until geos supports m-coordinates
int coordDims = 2;
if ( hasZ )
{
@@ -1432,7 +1432,7 @@ GEOSGeometry* QgsGeos::createGeosPoint( const QgsAbstractGeometryV2* point, int
{
GEOSCoordSeq_setOrdinate_r( geosinit.ctxt, coordSeq, 0, 2, pt->z() );
}
if ( pt->isMeasure() )
if ( 0 /*pt->isMeasure()*/ ) //disabled until geos supports m-coordinates
{
GEOSCoordSeq_setOrdinate_r( geosinit.ctxt, coordSeq, 0, 3, pt->m() );
}

0 comments on commit 335644e

Please sign in to comment.
You can’t perform that action at this time.