[GRASS-user] wms import fail

Andres Kuusk andres at aai.ee
Mon Jun 25 01:09:08 PDT 2012



Sun, 24 Jun 2012, Martin Landa:

> could you try `r.in.wms2` from GRASS Addons?

It works. Great!

.../.grass7/addons/scripts/r.in.wms2 -d output=p_orto 
mapserver=http://kaart.maaamet.ee/wms/alus layers=of10000 srs=3301 
format=tiff method=near --overwrite --verbose
Input parameters: '+proj=lcc +lat_1=58 +lat_2=59.33333333
+lat_0=57.51755393056 +lon_0=24 +x_0=500000 +y_0=6375000 +no_defs
+a=6378137 +rf=298.257223563 +towgs84=0.000,0.000,0.000 +to_meter=1'
Output parameters: '+proj=lcc +lat_1=59.33333333333334 +lat_2=58
+lat_0=57.51755393055556 +lon_0=24 +x_0=500000 +y_0=6375000 +no_defs
+a=6378137 +rf=298.257222101 +towgs84=0,0,0,0,0,0,0 +to_meter=1'
Downloading data from WMS server...
Reprojecting raster...
Creating output file that is 1020P x 1000L.
Processing input file /home/grass/... 
Using band 4 of source image as alpha.
Using band 4 of destination image as alpha.
0...10...20...30...40...50...60...70...80...90...100 - done.
Importing raster map into GRASS...
WARNING: Raster map <p_orto> already exists and will be overwritten
WARNING: Datum <unknown> not recognised by GRASS and no parameters found
WARNING: Raster map <p_orto.alpha at CHRIS> is a base map for <MASK at CHRIS>.
          Remove forced.


Thanks!

Andres


More information about the grass-user mailing list