<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi,<br><br>I am trying to learn how to use ogr2ogr to convert a shapefile to kml, but fail to do so and cannot understand whether I am at all on the right track or completely lost (very much beginner in GIS). I would like to convert either, or all, of the files on <http://www.nationalgrid.com/uk/LandandDevelopment/DDC/GasElectricNW/undergroundcables/shape/> to .kml and try using<br><br>>ogr2ogr -f "KML" LINE.kml LINE.shp<br><br>but get a buffer overflow (I can send a backtrace if this would help):<br><br>>*** buffer overflow detected ***: ogr2ogr terminated<br><br>(btw, I am using Ubuntu 9.10)<br><br>Apologies if this is the wrong forum or totally basic, but after many frustrations I am getting desperate and, please, please, guide me in the right direction...<br><br>Thanks!<br><br>\Mattias<br>                                            <br /><hr />Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. <a href='https://signup.live.com/signup.aspx?id=60969' target='_new'>Sign up now.</a></body>
</html>