<br><br><div class="gmail_quote">2009/6/19 Hamish <span dir="ltr">&lt;<a href="mailto:hamish_b@yahoo.com">hamish_b@yahoo.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
Moritz wrote:<br>
&gt; Sorry, just reread your message, and my answer is probably<br>
&gt; not really helpful. In fact v.out.ogr does transform your<br>
&gt; data to EPSG 4326, as the following message shows:<br>
&gt;<br>
&gt; &gt;&gt; Warning 1: Longitude 638073.992861 has been modified to fit into range<br>
&gt; &gt;&gt; [-180,180]. This warning will not be issued any more<br>
<br>
</div>by &quot;modified&quot; I would guess that it means it just throws away anything<br>
out of that range, or sets it to the nearest -180,180 edge, not<br>
reprojecting it.</blockquote><div>This is true, I got a kml, but the range is obviously false.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
<div class="im"><br>
&gt; You still might want to try to reproject (v.proj) to EPSG<br>
&gt; 4326, just to see what happens.<br>
<br>
</div>probably required. if so probably update the v.out.ogr help page and<br>
perhaps add something like this in the code:<br>
<br>
 if( G_strcasecmp(frmt_opt-&gt;answer, &quot;KML&quot;) == 0  &amp;&amp;<br>
     G_projection != PROJECTION_LL )<br>
   G_fatal_error(_(&quot;KML format requires lat/lon data&quot;));<br>
<br>
or if you really wanted you could have it try to reproject to WGS84 LL<br>
in the program instead of giving that fatal error.</blockquote><div>I am trying to change the projection ,but have not successed...... </div><div>Maven</div></div>