Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Skip m-coordinates in geos import
  • Loading branch information
mhugent committed Jul 29, 2015
1 parent c42b8c1 commit 335644e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/geometry/qgsgeos.cpp
Expand Up @@ -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 )
{
Expand Down Expand Up @@ -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() );
}
Expand Down

0 comments on commit 335644e

Please sign in to comment.