[mapguide-users] LINESTRING XYZ geometries fun

Alen alen.kelemen at edc.hr
Mon Jul 2 03:19:33 PDT 2018


As SQLite and sdf files can have LINESTRING XYZ geometries it is tempting to
try to show them in Cesium.js.
So I changed line 229 in czmlwriter.php:
$str .= $coord->GetX().",".$coord->GetY().",".$zval;
to
$str .= $coord->GetX().",".$coord->GetY().",".$coord->GetZ();
This way one can make mapguide-rest to provide czml for 3D polylines, not
only for extruded polygons.

<http://osgeo-org.1560.x6.nabble.com/file/t215886/42036917-3204da2a-7ae7-11e8-8976-e53e15b5ad85.png> 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html


More information about the mapguide-users mailing list