[GRASS-user] v.out.ogr to KML ERROR 1: Latitude is invalide
Micha Silver
micha at arava.co.il
Fri Jun 19 00:24:49 EDT 2009
maven apache wrote:
> This is a vector layer transfered from a raster and its general info
> can be seen as follows:
>
....
> |
>
> | Projection: Universe Transverse Mercator (zone 0)
>
> | N: 2762370.84493965 S: 2668889.78644383
>
> | E: 636604.74247833 W: 592287.35339113
>
> |
>
> | Digitization threshold: 0
>
> | Comments:
>
> |
>
> +----------------------------------------------------------------------------+
> then I want to export it to kml and add it to the google earth, I use
> the commond:
> g.region vect=swi_blue at PERMANENT
> v.out.ogr input=swi_blue at PERMANENT type=area dsn=d:/blueNew.kml
> layer=1 format=KML
> and I got the errors:
> ---------------------------------------------------------------
> arning 1: Layer name 'swi_blue at PERMANENT' adjusted to
> 'swi_blue_PERMANENT' for XML validity.
>
> Exporting 4893 areas (may take some time) ...
> ERROR 1: Latitude 2764980.037140 is invalid. Valid range is [-90,90].
> This warning will not be issued any more
> Warning 1: Longitude 638073.992861 has been modified to fit into range
> [-180,180]. This warning will not be issued any more
>
If I'm not mistaken, kml files need to be in Lat/Lon. WGS84 datum, *not*
UTM
More information about the grass-user
mailing list