Thread:User talk:Jeroen De Dauw/Kml export/reply (2)

There was a problem for "/Maps/includes/Maps_KMLFormatter.php" line 157. The parser tries to get the altitude value from the database that doesn't exist. (KML file has altitude values besides lat/long, and is supposed to be zero if there's no value). I basically changed that line to: "$coordinates->getLongitude . ',' . $coordinates->getLatitude . ',0'" and the problem goes away. There might be a better way to do this, but if the geo coordinate property is not designed to hold altitude, then have the altitude value hard coded as zero may still be suitable.