Re: [GRASS-dev] Is r.in.wms actually working? (Italian territory example)

2013-02-03 Thread Margherita Di Leo
Martin, Stepan,

Thanks for the hint,

On Sat, Feb 2, 2013 at 8:06 PM, Martin Landa landa.mar...@gmail.com wrote:



 btw, Stepan recently implemented experimental support for WMS in wxGUI [1].


All three of the services listed  (NASA and 2 OSM) give: Unable to
connect.
It would be nice to have the possibility to expand a window showing the
result of the verbose mode, in order to understand the problem.

Thanks
madi


 Martin

 [1]
 http://grasswiki.osgeo.org/wiki/WxGUI/Video_tutorials#Add_web_service_layer





-- 
Margherita DI LEO
Postdoctoral Researcher

European Commission - DG JRC
Institute for Environment and Sustainability (IES). Unit H03 – FRC
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-...@jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not
in any circumstance be regarded as stating an official position of the
European Commission.
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] Is r.in.wms actually working? (Italian territory example)

2013-02-03 Thread Luca Delucchi
2013/2/3 Margherita Di Leo dileomargher...@gmail.com:

 All three of the services listed  (NASA and 2 OSM) give: Unable to
 connect.

I test all the services and they are working, only iceds.ge.ucl.ac.uk
is not working for me


 Thanks
 madi

-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] Is r.in.wms actually working? (Italian territory example)

2013-02-03 Thread Martin Landa
Hi,

2013/2/3 Margherita Di Leo dileomargher...@gmail.com:
 All three of the services listed  (NASA and 2 OSM) give: Unable to
 connect.
 It would be nice to have the possibility to expand a window showing the
 result of the verbose mode, in order to understand the problem.

make sense to me. Stepan could you take a look on this issue? Thanks, Martin

-- 
Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] Is r.in.wms actually working? (Italian territory example)

2013-02-02 Thread Rashad M
Hi,

Are you behind a firewall or proxy?

Because r.in.wms in not hanging for me

 r.in.wms 
mapserver=http://watzmann-geog.urz.uni-heidelberg.de/cached/osmlayers=osm_auto:all
output=osm format=png srs=900913
Downloading data from WMS server...
Reprojecting raster...
Importing raster map into GRASS...

ERROR: Sorry, input is not a valid parameter
ERROR: r.mask failed
ERROR: No existing MASK to remove
ERROR: r.mask failed
Exception SystemExit: 1 in bound method WMSGdalDrv.__del__ of
wms_gdal_drv.WMSGdalDrv instance at 0x1b60050 ignored

Yes, Its not working yet but still downloading


On Sat, Feb 2, 2013 at 6:30 PM, Margherita Di Leo dileomargher...@gmail.com
 wrote:

 Hi,

 I was trying to check if r.in.wms works on G7. I've tried to download from
 the pcn [1] but it seems not working, anyone has experienced this?
 BTW, I've tried also the examples from the manual page:

 r.in.wms url=http://irs.gis-lab.info layers=osm output=osm format=png
 Downloading data from WMS server...
 ERROR: Unable to fetch capabilities from: 'http://irs.gis-lab.info'

 and

 r.in.wms 
 url=http://watzmann-geog.urz.uni-heidelberg.de/cached/osmlayers=osm_auto:all 
 output=osm format=png
 Downloading data from WMS server...

 Takes forever, and when I try to kill it with Ctrl + C it doesn't respond..

 I would like to know if anyone of you has an example which is working for
 the Italian territory.

 Thank you,
 Madi


 [1] http://www.pcn.minambiente.it/PCNDYN/catalogowms.jsp

 --
 Margherita DI LEO
 Postdoctoral Researcher

 European Commission - DG JRC
 Institute for Environment and Sustainability (IES). Unit H03 – FRC
 Via Fermi, 2749
 I-21027 Ispra (VA) - Italy - TP 261

 Tel. +39 0332 78 3600
 margherita.di-...@jrc.ec.europa.eu

 Disclaimer: The views expressed are purely those of the writer and may not
 in any circumstance be regarded as stating an official position of the
 European Commission.

 ___
 grass-dev mailing list
 grass-dev@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-dev




-- 
Regards,
   Rashad
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] Is r.in.wms actually working? (Italian territory example)

2013-02-02 Thread Margherita Di Leo
Thank you Rashad, it was simply slow, now managed to download with:

r.in.wms url=http://watzmann-geog.urz.uni-heidelberg.de/cached/osm
layers=osm_auto:all
output=osm format=png

The other OSM example on the manual page is yet not working for me, maybe
should be changed/removed?

cheers,
madi


On Sat, Feb 2, 2013 at 2:16 PM, Rashad M mohammedrasha...@gmail.com wrote:

 Hi,

 Are you behind a firewall or proxy?

 Because r.in.wms in not hanging for me

  r.in.wms 
 mapserver=http://watzmann-geog.urz.uni-heidelberg.de/cached/osmlayers=osm_auto:all
  output=osm format=png srs=900913
 Downloading data from WMS server...
 Reprojecting raster...
 Importing raster map into GRASS...

 ERROR: Sorry, input is not a valid parameter
 ERROR: r.mask failed
 ERROR: No existing MASK to remove
 ERROR: r.mask failed
 Exception SystemExit: 1 in bound method WMSGdalDrv.__del__ of
 wms_gdal_drv.WMSGdalDrv instance at 0x1b60050 ignored

 Yes, Its not working yet but still downloading


 On Sat, Feb 2, 2013 at 6:30 PM, Margherita Di Leo 
 dileomargher...@gmail.com wrote:

 Hi,

 I was trying to check if r.in.wms works on G7. I've tried to download
 from the pcn [1] but it seems not working, anyone has experienced this?
 BTW, I've tried also the examples from the manual page:

 r.in.wms url=http://irs.gis-lab.info layers=osm output=osm format=png
 Downloading data from WMS server...
 ERROR: Unable to fetch capabilities from: 'http://irs.gis-lab.info'

 and

 r.in.wms 
 url=http://watzmann-geog.urz.uni-heidelberg.de/cached/osmlayers=osm_auto:all 
 output=osm format=png
 Downloading data from WMS server...

 Takes forever, and when I try to kill it with Ctrl + C it doesn't
 respond..

 I would like to know if anyone of you has an example which is working for
 the Italian territory.

 Thank you,
 Madi


 [1] http://www.pcn.minambiente.it/PCNDYN/catalogowms.jsp

 --
 Margherita DI LEO
 Postdoctoral Researcher

 European Commission - DG JRC
 Institute for Environment and Sustainability (IES). Unit H03 – FRC
 Via Fermi, 2749
 I-21027 Ispra (VA) - Italy - TP 261

 Tel. +39 0332 78 3600
 margherita.di-...@jrc.ec.europa.eu

 Disclaimer: The views expressed are purely those of the writer and may
 not in any circumstance be regarded as stating an official position of the
 European Commission.

 ___
 grass-dev mailing list
 grass-dev@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-dev




 --
 Regards,
Rashad




-- 
Margherita DI LEO
Postdoctoral Researcher

European Commission - DG JRC
Institute for Environment and Sustainability (IES). Unit H03 – FRC
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-...@jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not
in any circumstance be regarded as stating an official position of the
European Commission.
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] Is r.in.wms actually working? (Italian territory example)

2013-02-02 Thread Markus Neteler
On Sat, Feb 2, 2013 at 7:41 PM, Margherita Di Leo
dileomargher...@gmail.com wrote:
 Thank you Rashad, it was simply slow, now managed to download with:

You may need to verify the g.region settings!

 r.in.wms url=http://watzmann-geog.urz.uni-heidelberg.de/cached/osm
 layers=osm_auto:all output=osm format=png

 The other OSM example on the manual page is yet not working for me, maybe
 should be changed/removed?

Well, I have added them recently (provided by Stepan) :) They worked
nicely. Please check g.region first.
But I fully agree that a reasonable g.region setting should be added to
the examples.

ciao
Markus
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] Is r.in.wms actually working? (Italian territory example)

2013-02-02 Thread Martin Landa
Hi all,

2013/2/2 Markus Neteler nete...@osgeo.org:
 Well, I have added them recently (provided by Stepan) :) They worked
 nicely. Please check g.region first.
 But I fully agree that a reasonable g.region setting should be added to
 the examples.

btw, Stepan recently implemented experimental support for WMS in wxGUI [1].

Martin

[1] http://grasswiki.osgeo.org/wiki/WxGUI/Video_tutorials#Add_web_service_layer

-- 
Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] Is r.in.wms actually working? (Italian territory example)

2013-02-02 Thread Margherita Di Leo
Thank you Markus,

On Sat, Feb 2, 2013 at 8:01 PM, Markus Neteler nete...@osgeo.org wrote:

 On Sat, Feb 2, 2013 at 7:41 PM, Margherita Di Leo
 dileomargher...@gmail.com wrote:
  Thank you Rashad, it was simply slow, now managed to download with:

 You may need to verify the g.region settings!


GRASS 7.0.svn (Genova):~  g.region -p
projection: 1 (UTM)
zone:   32
datum:  wgs84
ellipsoid:  wgs84
north:  4916343
south:  4915829
west:   496791
east:   497402
nsres:  1
ewres:  1
rows:   514
cols:   611
cells:  314054

although it's 1x1 cells, it's a small area. As I wrote, the error I get is:

GRASS 7.0.svn (Genova):~  r.in.wms url=http://irs.gis-lab.info layers=osm
output=osm1 format=png
Downloading data from WMS server...
ERROR: Unable to fetch capabilities from: 'http://irs.gis-lab.info'

Thanks,
madi



  r.in.wms url=http://watzmann-geog.urz.uni-heidelberg.de/cached/osm
  layers=osm_auto:all output=osm format=png

  The other OSM example on the manual page is yet not working for me, maybe
  should be changed/removed?

 Well, I have added them recently (provided by Stepan) :) They worked
 nicely. Please check g.region first.
 But I fully agree that a reasonable g.region setting should be added to
 the examples.

 ciao
 Markus




-- 
Margherita DI LEO
Postdoctoral Researcher

European Commission - DG JRC
Institute for Environment and Sustainability (IES). Unit H03 – FRC
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-...@jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not
in any circumstance be regarded as stating an official position of the
European Commission.
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] Is r.in.wms actually working? (Italian territory example)

2013-02-02 Thread Luca Delucchi
2013/2/2 Margherita Di Leo dileomargher...@gmail.com:
 Thank you Markus,


Hi Madi,

 On Sat, Feb 2, 2013 at 8:01 PM, Markus Neteler nete...@osgeo.org wrote:

 On Sat, Feb 2, 2013 at 7:41 PM, Margherita Di Leo
 dileomargher...@gmail.com wrote:
  Thank you Rashad, it was simply slow, now managed to download with:

 You may need to verify the g.region settings!


 GRASS 7.0.svn (Genova):~  g.region -p
 projection: 1 (UTM)
 zone:   32
 datum:  wgs84
 ellipsoid:  wgs84
 north:  4916343
 south:  4915829
 west:   496791
 east:   497402
 nsres:  1
 ewres:  1
 rows:   514
 cols:   611
 cells:  314054

 although it's 1x1 cells, it's a small area. As I wrote, the error I get is:

 GRASS 7.0.svn (Genova):~  r.in.wms url=http://irs.gis-lab.info layers=osm
 output=osm1 format=png
 Downloading data from WMS server...
 ERROR: Unable to fetch capabilities from: 'http://irs.gis-lab.info'


could please send me (out of the list)  a location and mapset with the
same region.

 Thanks,
 madi



-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] Is r.in.wms actually working? (Italian territory example)

2013-02-02 Thread Martin Landa
Hi,

2013/2/2 Rashad M mohammedrasha...@gmail.com:
  r.in.wms mapserver=http://watzmann-geog.urz.uni-heidelberg.de/cached/osm
 layers=osm_auto:all output=osm format=png srs=900913

from this command (parameter 'mapserver' has been renamed to 'url') I
guess that you have old version of r.in.wms. Please update your
installation.

Martin

-- 
Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev