<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Thanks for your support gents! For now, I have managed to get by, both compiling, converting and displaying (though it broke a few cool nerves in the process). <br><br>I tried Google Earth, and this handles large .kml files - I guess the data transfer is the issue in using online apps, like Google Maps. The ideal of course would be to fund a GPL alternative...<br><br>Again, thanks!<br><br>Mattias<br><br>&gt; From: even.rouault@mines-paris.org<br>&gt; To: gdal-dev@lists.osgeo.org<br>&gt; Subject: Re: [gdal-dev] ogr2ogr .SHP to .KML conversion problem<br>&gt; Date: Wed, 3 Feb 2010 19:28:00 +0100<br>&gt; CC: gregcoats@mac.com; powerphysics@hotmail.com<br>&gt; <br>&gt; No, this was not packages of 1.7.0 but 1.7.0dev of several months ago. I've <br>&gt; removed them from the site to avoid any confusion. Hopefully the UbuntuGIS <br>&gt; team will package 1.7.0 now it is released.<br>&gt; <br>&gt; Le Wednesday 03 February 2010 16:52:11 Greg Coats, vous avez écrit&nbsp;:<br>&gt; &gt; Even Rouault offers GDAL 1.7.0 compiled for Ubuntu at<br>&gt; &gt; http://even.rouault.free.fr/<br>&gt; &gt;<br>&gt; &gt; On Feb 3, 2010, at 3:14 AM, Mattias Carlsson wrote:<br>&gt; &gt; &gt; Thanks, that says version is 1.5.4. I guess an upgrade might do the<br>&gt; &gt; &gt; trick. However, as I am very green in Linux, I have yet to compile my<br>&gt; &gt; &gt; first source and would appreciate any simpler way, i.e. pre-compiled<br>&gt; &gt; &gt; binaries. Is there any such way, or any good reference for learning<br>&gt; &gt; &gt; necessary basics regarding compilation?  /Mattias<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Subject: Re: [gdal-dev] ogr2ogr .SHP to .KML conversion problem<br>&gt; &gt; &gt; From: gregcoats@mac.com<br>&gt; &gt; &gt; Date: Tue, 2 Feb 2010 18:06:28 -0500<br>&gt; &gt; &gt; CC: gdal-dev@lists.osgeo.org<br>&gt; &gt; &gt; To: powerphysics@hotmail.com<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Use gdal_translate --version<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Since you told me that you are using GDAL version 1.5.0 from December<br>&gt; &gt; &gt; 2007, I suggest that you upgrade to GDAL 1.7.0 from January 2010. Greg<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; On Feb 2, 2010, at 4:01 PM, Mattias Carlsson wrote:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Hi,<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; I am trying to learn how to use ogr2ogr to convert a shapefile to kml,<br>&gt; &gt; &gt; but fail to do so and cannot understand whether I am at all on the right<br>&gt; &gt; &gt; track or completely lost (very much beginner in GIS). I would like to<br>&gt; &gt; &gt; convert either, or all, of the files on<br>&gt; &gt; &gt; &lt;http://www.nationalgrid.com/uk/LandandDevelopment/DDC/GasElectricNW/unde<br>&gt; &gt; &gt;rgroundcables/shape/&gt; to .kml and try using<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;ogr2ogr -f "KML" LINE.kml LINE.shp<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; but get a buffer overflow (I can send a backtrace if this would help):<br>&gt; &gt; &gt; &gt;*** buffer overflow detected ***: ogr2ogr terminated<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; (btw, I am using Ubuntu 9.10)<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Apologies if this is the wrong forum or totally basic, but after many<br>&gt; &gt; &gt; frustrations I am getting desperate and, please, please, guide me in the<br>&gt; &gt; &gt; right direction...<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Thanks!<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; \Mattias<br>&gt; <br>&gt; <br>                                               <br /><hr />Hotmail: Trusted email with Microsoft’s powerful SPAM protection. <a href='https://signup.live.com/signup.aspx?id=60969' target='_new'>Sign up now.</a></body>
</html>