Opened 6 years ago

Closed 6 years ago

#2216 closed defect (invalid)

Location wizard fails on EPSG 3049

Reported by: marisn Owned by: grass-dev@…
Priority: major Milestone: 7.0.0
Component: Startup Version: svn-trunk
Keywords: Cc:
CPU: Unspecified Platform: Unspecified

Description

Steps to reproduce:

  • Start the Location Wizard and choose to define location by EPSG code
  • Enter the number 3049 as EPSG code
  • Observe how totally incorrect PROJ4 string is displayed (a latlon projection).

A correct string is present in EPSG file:

+proj=utm +zone=37 +ellps=GRS80 +units=m +no_defs 

Attachments (2)

grass_location_3049_fail.jpg (56.7 KB) - added by marisn 6 years ago.
Wrong proj4 string selected by EPSG code
grass644_loc_wiz_epsg3049.png (87.3 KB) - added by neteler 6 years ago.
Screenshot with successful creation (just for the record)

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by marisn

Wrong proj4 string selected by EPSG code

comment:1 Changed 6 years ago by neteler

Here it works fine - also from command line (using PROJ.4 V4.8.0):

grass70 -c epsg:3049 ~/grassdata/testlocation

GRASS 7.0.svn (testlocation):~ > g.proj -w
PROJCS["UTM Zone 37, Northern Hemisphere",
    GEOGCS["grs80",
        DATUM["European_Terrestrial_Reference_System_1989",
            SPHEROID["Geodetic_Reference_System_1980",6378137,298.257222101]],
        PRIMEM["Greenwich",0],
        UNIT["degree",0.0174532925199433]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",39],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",500000],
    PARAMETER["false_northing",0],
    UNIT["Meter",1]]

GRASS 7.0.svn (testlocation):~ > g.version -e
GRASS 7.0.svn (2014)
PROJ.4: 4.8.0
GDAL/OGR: 1.10.1
GRASS not compiled with GEOS support
SQLite: 3.8.3

Maris, which PROJ4 version do you use?

comment:2 Changed 6 years ago by marisn

Resolution: invalid
Status: newclosed

Thanks, Markus, for quick answer. svn revert on g.proj fixed problem.

Note to myself: svn status and svn revert before any bug hunting.

Changed 6 years ago by neteler

Screenshot with successful creation (just for the record)

Note: See TracTickets for help on using tickets.