Ticket #1570 (closed defect: fixed)
KML: 3D export appears 2D
| Reported by: | neteler | Owned by: | mloskot |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5.0 |
| Component: | OGR_SF | Version: | unspecified |
| Severity: | normal | Keywords: | kml |
| Cc: | condit@…, warmerdam, Didge |
Description
Frank,
I am using GRASS' v.out.ogr to export to KML (before that I have extruded 2D polygons to 3D with v.extrude and height= parameter, in NVIZ they are 3D blocks). However, the resulting view in Google Earth is 2D buildings.
Hacking manually in <altitudeMode>absolute</altitudeMode> into each <Polygon> tag, I achieve 3D view. Is it possible that <altitudeMode> is lacking in the KML driver?
Secondly, the exported 3D blocks are flying over the terrain, probably a WGS84 vs. sphere (or whatever GE uses!) problem. But the distance 3D block to terrain looks similar to the height of the block itself.
Attached two screenshots.
Best regards, Markus

