mirror of
https://github.com/pgpointcloud/pointcloud.git
synced 2025-12-08 20:36:04 +00:00
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:
parent
df3821f7ba
commit
ceefce2ca1
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user