pc_point_to_geometry_wkb : get_m fix

A typo was introduced while rebasing this PR: `z` values were assigned to both `z` and `m` output points
This commit is contained in:
Mathieu Brédif 2017-02-18 16:10:09 +01:00 committed by GitHub
parent df3821f7ba
commit ceefce2ca1

View File

@ -379,7 +379,7 @@ pc_point_to_geometry_wkb(const PCPOINT *pt, size_t *wkbsize)
if ( pt->schema->m_position > -1 )
{
m = pc_point_get_z(pt);
m = pc_point_get_m(pt);
memcpy(ptr, &m, 8); /* M */
ptr += 8;
}