Hi all,
I submitted new script r.out.gmap for export of raster map to Google Maps tiles (in grass-addons).
Note that modul has to be run from LOCATION with correct mercator projection used by google maps (epsg 900913).
Tomas Cebecauer
Hi all,
I submitted new script r.out.gmap for export of raster map to Google Maps tiles (in grass-addons).
Note that modul has to be run from LOCATION with correct mercator projection used by google maps (epsg 900913).
Tomas Cebecauer
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.
but you can look in the esri.extra file to get the needed
'g.proj -c proj4=' parameters.
Hamish
____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.
http://tc.deals.yahoo.com/tc/blockbuster/text5.com
On Tue, Apr 8, 2008 at 11:23 AM, Hamish <hamish_b@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@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