[GRASS-dev] [GRASS GIS] #2140: m.proj does not handle cs2cs failure

GRASS GIS trac at osgeo.org
Thu Jul 30 18:06:01 PDT 2015


#2140: m.proj does not handle cs2cs failure
---------------------------------+---------------------------
  Reporter:  wenzeslaus          |      Owner:  grass-dev@…
      Type:  defect              |     Status:  new
  Priority:  normal              |  Milestone:  7.0.0
 Component:  Projections/Datums  |    Version:  svn-trunk
Resolution:                      |   Keywords:  m.proj, cs2cs
       CPU:  All                 |   Platform:  All
---------------------------------+---------------------------

Comment (by jrobparsons):

 This is interesting...


 Output from GRASS GUI Command Console
 ----------------------------------------------------

 (Thu Jul 30 20:38:52 2015)
 m.proj input=test.txt proj_out=bla bla bla proj_in=another bla bla bla
 Rel. 4.8.0, 6 March 2012
 <cs2cs.EXE>:
 projection initialization failure
 cause: Unknown error
 program abnormally terminated
 ERROR: Using from definition:
 (Thu Jul 30 20:38:54 2015) Command finished (1 sec)


 Output from GRASS Command Line
 ----------------------------------------------------

 C:\>m.proj input=test.txt proj_out=bla bla bla proj_in=another bla bla bla

 Description:
  Converts coordinates from one projection to another (cs2cs frontend).

 Keywords:
  miscellaneous, projection

 Usage:
  m.proj.py [-iodec] [coordinates=east,north] [input=name] [output=name]
    [separator=character] [proj_in=string] [proj_out=string] [--overwrite]
    [--help] [--verbose] [--quiet] [--ui]

 Flags:
   -i   Use LL WGS84 as input and current location as output projection
   -o   Use current location as input and LL WGS84 as output projection
   -d   Output long/lat in decimal degrees, or other projections with many
 decimal places
   -e   Include input coordinates in output file
   -c   Include column names in output file
  --o   Allow output files to overwrite existing files
  --h   Print usage summary
  --v   Verbose module output
  --q   Quiet module output
  --ui  Force launching GUI dialog

 Parameters:
   coordinates   Input coordinates to reproject
         input   Name of input coordinate file
                  '-' for standard input
        output   Name for output coordinate file (omit to send to stdout)
     separator   Field separator (format: input[,output])
                  Special characters: pipe, comma, space, tab, newline
                 default: pipe
       proj_in   Input projection parameters (PROJ.4 style)
      proj_out   Output projection parameters (PROJ.4 style)

 ERROR: Sorry <bla> is not a valid option
 ERROR: Sorry <bla> is not a valid option
 ERROR: Sorry <bla> is not a valid option
 ERROR: Sorry <bla> is not a valid option
 ERROR: Sorry <bla> is not a valid option

 C:\>

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2140#comment:5>
GRASS GIS <http://grass.osgeo.org>
GRASS GIS, commonly referred to as GRASS (Geographic Resources Analysis Support System), is a free and open source Geographic Information System (GIS) software suite used for geospatial data management and analysis, image processing, graphics and maps production, spatial modeling, and visualization. GRASS GIS is currently used in academic and commercial settings around the world, as well as by many governmental agencies and environmental consulting companies. It is a founding member of the Open Source Geospatial Foundation (OSGeo).


More information about the grass-dev mailing list