PHP - Export Altitude (z dimension) from a geometry postgis position -
i have 3d point
01010000a0e6100000075f984c153c4a40705f07ce199141400000000000000000
and want export x,y , z dimensions using php. find geophp library in searches , seems supports 3d points.
i used library it's examples:
$wkb_reader = new wkb(); $geometry = $wkb_reader->read('01010000a0e6100000075f984c153c4a40705f07ce199141400000000000000000',true); print $geometry->getx() . " , " . $geometry->gety() . " , " . $geometry->getz();
but no getz() function defined :
fatal error: call undefined method point::getz()
what solution?
Comments
Post a Comment