Hi:It seems that I have
encountered the same problem,actually you should reproject
your map by yourself if you are using a earlier
version.In the later version it can reproject
autoly.
i.e. a bug in GDAL/OGR got fixed so you need a newish version of
that.
you might also try v.out.gpsbabel which attempts to reproject to
WGS84 LL in GRASS. (less than optimal but it seems to work)
> encountered the same problem,actually you should reproject
> your map by yourself if you are using a earlier
> version.In the later version it can reproject
> autoly.
i.e. a bug in GDAL/OGR got fixed so you need a newish version of
that.
So this means that using gdal/ogr >= version 1.6 would automatically reproject
data exported from state plane into WGS84?
encountered the same problem,actually you should reproject
your map by yourself if you are using a earlier
version.In the later version it can reproject
autoly.
i.e. a bug in GDAL/OGR got fixed so you need a newish version of
that.
So this means that using gdal/ogr >= version 1.6 would automatically reproject
data exported from state plane into WGS84?
I think so but I am not sure,maybe you can have try .
Actually,I have reproject the map-----I create a new location with the latitude (epsg 4326),then use r.proj commond to reproject the map,however when I display the map I found there is a very serious distortion,the exported kml is also …So I have give up the idea.
Actually,I have reproject the map-----I create a new location with the
latitude (epsg 4326),then use r.proj commond to reproject the map,however when I
display the map I found there is a very serious distortion,the exported kml is
also ....So I have give up the idea.
I am talking about vectors.
Seem you are talking about raster data.
Well, I would like to have the possibility to export a raster with its colors
and legend.
But that's another story.
# Export map as png and make null data transparent
g.region rast=$map
export `g.region zoom=$map -lg` # Get map bounds in Lat Long
r.out.png $map
mogrify -transparent white $map.png
# Tile for Google Earth
gdal2tiles.py -title $map -forcekml $map\4326.tif $map
--
Dr John Stevenson
Postdoctoral Research Associate
School of Earth, Atmospheric and Environmental Sciences
Williamson Building (Room 2.42)
University of Manchester
Manchester M13 9PL, UK
tel. +44(0)161 306 6585; fax. +44(0)161 306 9361;
john.stevenson@manchester.ac.uk