Alen
2018-07-02 10:19:33 UTC
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.
<Loading Image...
>
--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
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.
<Loading Image...
--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html