[GRASS-dev] [GRASS GIS] #3585: Don't require -c for --tmp-location

GRASS GIS trac at osgeo.org
Tue Aug 14 18:40:57 PDT 2018


#3585: Don't require -c for --tmp-location
-------------------------+-------------------------------------------------
  Reporter:  wenzeslaus  |      Owner:  grass-dev@…
      Type:              |     Status:  closed
  enhancement            |
  Priority:  normal      |  Milestone:  8.0.0
 Component:  Startup     |    Version:  svn-trunk
Resolution:  fixed       |   Keywords:  init, grass.py, location, tmp-
       CPU:              |  location, CRS, CLI, gsoc2018
  Unspecified            |   Platform:  Unspecified
-------------------------+-------------------------------------------------
Changes (by wenzeslaus):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"73096" 73096]:
 {{{
 #!CommitTicketReference repository="" revision="73096"
 init: -c not needed for --tmp-location (closes #3585)

 --tmp-location required -c flag because -c was associated with EPSG
 specification.
 The new approach is that EPSG is a value of whatever flag/option which
 needs
 EPSG or equivalent.

 No changes in the code. Parsing just takes any ARG (non-flag) available.
 We check if EPSG was provided and that mapset was not provided (i.e.
 exactly
 one ARG was provided). It is no longer possible to use --tmp-location
 without
 ARG to create an XY location.
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3585#comment:4>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list