<br><br><div class="gmail_quote">2009/6/19 Hamish <span dir="ltr"><<a href="mailto:hamish_b@yahoo.com">hamish_b@yahoo.com</a>></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>
> Sorry, just reread your message, and my answer is probably<br>
> not really helpful. In fact v.out.ogr does transform your<br>
> data to EPSG 4326, as the following message shows:<br>
><br>
> >> Warning 1: Longitude 638073.992861 has been modified to fit into range<br>
> >> [-180,180]. This warning will not be issued any more<br>
<br>
</div>by "modified" 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>
> You still might want to try to reproject (v.proj) to EPSG<br>
> 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->answer, "KML") == 0 &&<br>
G_projection != PROJECTION_LL )<br>
G_fatal_error(_("KML format requires lat/lon data"));<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>