<html><head><base href="x-msg://30/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Use gdal_translate --version</div><div><br></div><div>Since you told me that you are using GDAL version 1.5.0 from December 2007, I suggest that you upgrade to GDAL 1.7.0 from January 2010. Greg</div><div><br></div><div><div>On Feb 2, 2010, at 4:01 PM, Mattias Carlsson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="hmmessage" style="font-size: 10pt; font-family: Verdana; ">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 <<a href="http://www.nationalgrid.com/uk/LandandDevelopment/DDC/GasElectricNW/undergroundcables/shape/">http://www.nationalgrid.com/uk/LandandDevelopment/DDC/GasElectricNW/undergroundcables/shape/</a>> 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.<span class="Apple-converted-space"> </span><a href="https://signup.live.com/signup.aspx?id=60969" target="_new">Sign up now.</a><span class="Apple-converted-space"> </span>_______________________________________________<br>gdal-dev mailing list<br><a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></div></blockquote></div><br></body></html>