[GRASS-dev] r.out.gmap: export raster to Google Map tiles
Markus Neteler
neteler at osgeo.org
Tue Apr 8 06:09:07 EDT 2008
On Tue, Apr 8, 2008 at 11:23 AM, Hamish <hamish_b at yahoo.com> wrote:
> Tomas Cebecauer wrote:
> > Note that modul has to be run from LOCATION with correct mercator
> > projection used by google maps (epsg 900913).
>
>
> note that GRASS does not currently include /usr/share/proj/esri.extra
> (and other unofficial "add-on" EPSG codes in that dir) in
> $GISBASE/etc/ogr_csv/*, so you can't use 'g.proj -c epsg=900913' to
> create the location.
Note sure, works for me:
GRASS 6.3.svn (spearfish60):~ > g.proj -c epsg=900913 loc=tets
Location tets created!
cd grassdata/tets/PERMANENT
[neteler at markus PERMANENT]$ cat PROJ_INFO
name: Mercator
proj: merc
datum: wgs84
ellps: wgs84
lat_ts: 0.0
lon_0: 0.0
x_0: 0.0
y_0: 0
k: 1.0
nadgrids: @null
wktext: defined
no_defs: defined
Compare:
cd /usr/local/share/proj
grep 900913 esri.extra
<900913> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0
+x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs <>
cs2cs -le | grep -i WGS84
WGS84 a=6378137.0 rf=298.257223563 WGS 84
Doesn't look so bad?
Markus
More information about the grass-dev
mailing list