[GRASSLIST:678] Re: r.in.wms problems on cygwin

Wolfgang wollez at gmx.net
Wed Apr 12 05:30:22 EDT 2006


Hello Jachym,

now I created a new location and used the new r.in.wms from the file 
below and it workes fine now!

Thanks for providing this script!

Wolfgang

Jachym Cepicky schrieb:
> Hallo,
> 
> don't know -  format "image/png" should not harm. How old is your
> r.in.wms? Try this : http://les-ejk.cz/programs/grass/r.in.wms.tgz
> 
> try the flag "-v" and tell me, what is it writing. 
> 
> If this does not help, could you send me your PERMANENT directory?
> 
> Jachym
> 
> On Tue, Apr 11, 2006 at 11:35:45PM +0200, Wolfgang wrote:
>> I think it is your one:
>>
>>
>> #!/bin/sh
>> #############################################################################
>> # Download and import wms layers images direct from     #
>> # any wms server into GRASS.     #
>> # written by Jachym Cepicky jachym.cepicky AT centrum dot cz     #
>> # 17.1.2006     #
>> # based on r.in.onearth from Soeren Gebbert     #
>> #     #
>> # COPYRIGHT:	(C) 2005 by the GRASS Development Team                      #
>> #     #
>> #		This program is free software under the GNU General Public  #
>> #		License (>=v2). Read the file COPYING that comes with GRASS #
>> #		for details.                                                #
>> #     #
>> #############################################################################
>>
>> Jachym Cepicky schrieb:
>>> Hallo,
>>> On Tue, Apr 11, 2006 at 09:37:41PM +0200, Wolfgang wrote:
>>>> Hi,
>>>>
>>>> I have some problems using the r.in.wms on windows cygwin. I think the problems is witing the "format=image/png" part of the wget 
>>>> call.
>>>>
>>>> This call works if pasted to iexplore.exe (v.6.0):
>>>> http://deutschlandviewer.bayern.de/ogc/getogc.cgi?request=GetMap&srs=EPSG:31468&transparent=FALSE&width=100&height=100&bbox=4575000,5285000,4577000,5287000&format=image/png&version=1.1.0&layers=DOP
>>>>
>>>> And this also works with wget if I put it into an text-file (eg. link.txt) and then use wget -i link.txt
>>>>
>>>>
>>>> An other problem on this server is that I don't get the capabilities displayes when calling this option from r.in.wms. I used 
>>>> firefox to download the xml file with the capabilities.
>>>>
>>>> Regards
>>>> Wolfgang
>>>>
>>> what kind of r.in.wms are you using? That one from Cedrick or version of
>>> mine? Jachym
> 




More information about the grass-user mailing list