<html><head><base href="x-msg://37/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Even Rouault offers GDAL 1.7.0 compiled for Ubuntu at <a href="http://even.rouault.free.fr/">http://even.rouault.free.fr/</a></div><br><div><div>On Feb 3, 2010, at 3:14 AM, Mattias Carlsson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="hmmessage" style="font-size: 10pt; font-family: Verdana; ">Thanks, that says version is 1.5.4. I guess an upgrade might do the trick. However, as I am very green in Linux, I have yet to compile my first source and would appreciate any simpler way, i.e. pre-compiled binaries. Is there any such way, or any good reference for learning necessary basics regarding compilation? /Mattias<span class="Apple-converted-space"> </span><br><br><hr id="stopSpelling">Subject: Re: [gdal-dev] ogr2ogr .SHP to .KML conversion problem<br>From:<span class="Apple-converted-space"> </span><a href="mailto:gregcoats@mac.com">gregcoats@mac.com</a><br>Date: Tue, 2 Feb 2010 18:06:28 -0500<br>CC:<span class="Apple-converted-space"> </span><a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>To:<span class="Apple-converted-space"> </span><a href="mailto:powerphysics@hotmail.com">powerphysics@hotmail.com</a><br><br><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="ecxApple-interchange-newline"><blockquote><div class="ecxhmmessage" 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></div></blockquote></div></div></blockquote></div><br></body></html>