~ubuntu-branches/ubuntu/precise/grass/precise

« back to all changes in this revision

Viewing changes to scripts/v.in.wfs/v.in.wfs

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2011-04-13 17:08:41 UTC
  • mfrom: (8.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110413170841-ss1t9bic0d0uq0gz
Tags: 6.4.1-1
* New upstream version.
* Now build-dep on libjpeg-dev and current libreadline6-dev.
* Removed patch swig: obsolete.
* Policy bumped to 3.9.2, without changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
# AUTHOR(S):    Markus Neteler. neteler itc it
7
7
#               Hamish Bowman (fixes)
8
8
# PURPOSE:      WFS support
9
 
# COPYRIGHT:    (C) 2006-2008 Markus Neteler and GRASS Development Team
 
9
# COPYRIGHT:    (C) 2006-2008, 2010 Markus Neteler and GRASS Development Team
10
10
#
11
11
#               This program is free software under the GNU General Public
12
12
#               License (>=v2). Read the file COPYING that comes with GRASS
18
18
 
19
19
#%Module
20
20
#% description: Import GetFeature from WFS
21
 
#%End
 
21
#% keywords: vector, import, wfs
 
22
#%end
22
23
#%option
23
24
#% key: wfs
24
25
#% type: string
25
 
#% description: GetFeature URL starting with http
26
 
#%End
 
26
#% description: GetFeature URL starting with 'http'
 
27
#%end
27
28
#%option
28
29
#% key: output
29
30
#% type: string
30
31
#% gisprompt: new,vector,vector
31
 
#% description: Vector output map
 
32
#% description: Name for output vector map
32
33
#% required : yes
33
 
#%End
 
34
#%end
34
35
 
35
36
if  [ -z "$GISBASE" ] ; then
36
37
    echo "You must be in GRASS GIS to run this program." 1>&2
39
40
 
40
41
# save command line
41
42
if [ "$1" != "@ARGS_PARSED@" ] ; then
42
 
    CMDLINE="`basename $0`"
 
43
    CMDLINE=`basename "$0"`
43
44
    for arg in "$@" ; do
44
45
        CMDLINE="$CMDLINE \"$arg\""
45
46
    done