[GRASS5] r.in.wms

Jáchym Čepický jachym.cepicky at centrum.cz
Sat Jan 14 16:36:45 EST 2006


For every body, who is using this script: it could destroy your .* files!  I'm really sorry, for annoucing this. 

If the variable $IMAGEFILE is not set, the script could start to remove all '.*' files in current directory -- see line 67 of the script. It should not happen.
But it could, I'm not by the linux machine now, to test the conditions...

I'm working on new version, which is able to pool avaliable layers from the server first (GetCapabilities) and in this version, I will take more care about it.

If you are using the script, pleace, change the line 67 for example to 

if [ "${IMAGEFILE}" != "" ]; then
          rm -iv ${IMAGEFILE}.*
fi

Sorry for this again, I'll take advice for me.

jachym
 
______________________________________________________________
> Od: jachym.cepicky at centrum.cz
> Komu:  GRASS Developers list <grass5 at grass.itc.it>
> CC:  
> Datum: 12.01.2006 18:45
> Předmět: [GRASS5] r.in.wms
>
>  hallo
> according to script r.in.onearth from Soeren Gebbert, I tryed to write
> other script, which is on r.in.onearth based.
> 
> It should be able to work with nearly *every* WMS server, thought I
> tested it only against two servers...
> 
> Is anybody interested for testing?
> 
> Jachym
> -- 
> Jachym Cepicky
> e-mail: jachym.cepicky at centrum.cz
> URL: http://les-ejk.cz
> GPG: http://les-ejk.cz/gnupg_public_key/
> -----------------------------------------
> OFFICE:
> Department of Geoinformation Technologies
> LDF MZLU v Brně
> Zemědělská 3
> 613 00 Brno
> e-mail: xcepicky at node.mendelu.cz
> URL:    http://mapserver.mendelu.cz
> Tel.:   +420 545 134 514
> 
> 




More information about the grass-dev mailing list