Opened 11 years ago

Closed 11 years ago

#492 closed defect (fixed)

grass7: XY-location makes g.region segfault

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

Description

1) create location through wxgui wizard, option "Use arbitrary non-earth coordinate system (XY)" or option "Use coordinate system of selected georeferenced file" pointing at a non-georeferenced file.

2) g.region -p gives:

GRASS 7.0.svn (XY):~ > g.region -p
WARNING: <PROJ_INFO> file not found for location <XY>
WARNING: <PROJ_UNITS> file not found for location <XY>
Segmentation fault

This also leads to a crash of the GUI. I'll report this as a separate bug.

devel6-tree does not show this problem.

Moritz

Change History (6)

comment:1 Changed 11 years ago by martinl

Cc: grass-dev@… added
Owner: changed from grass-dev@… to martinl
Status: newassigned

Hopefully fixed in r35855.

comment:2 Changed 11 years ago by mlennert

Works now. Thanks !

Only question: I still get the warnings:

WARNING: <PROJ_INFO> file not found for location <XY>
WARNING: <PROJ_UNITS> file not found for location <XY>

Are they really necessary ?

Moritz

comment:3 in reply to:  2 ; Changed 11 years ago by hamish

Replying to mlennert:

Only question: I still get the warnings:

WARNING: <PROJ_INFO> file not found for location <XY>
WARNING: <PROJ_UNITS> file not found for location <XY>

Are they really necessary ?

not for a XY location, which is unPROJected.

create a simple XY location from the text prompts and you will see that those files are not created.

Hamish

comment:4 in reply to:  3 Changed 11 years ago by mlennert

Replying to hamish:

Replying to mlennert:

Only question: I still get the warnings:

WARNING: <PROJ_INFO> file not found for location <XY>
WARNING: <PROJ_UNITS> file not found for location <XY>

Are they really necessary ?

not for a XY location, which is unPROJected.

create a simple XY location from the text prompts and you will see that those files are not created.

My question referred to the warnings, not the files ;-)

Moritz

comment:5 in reply to:  2 ; Changed 11 years ago by martinl

Replying to mlennert:

> WARNING: <PROJ_INFO> file not found for location <XY>
> WARNING: <PROJ_UNITS> file not found for location <XY>

Are they really necessary ?

I think these warning could be suppressed for unprojected locations.

Martin

comment:6 in reply to:  5 Changed 11 years ago by martinl

Resolution: fixed
Status: assignedclosed

Replying to martinl:

Replying to mlennert:

> > WARNING: <PROJ_INFO> file not found for location <XY>
> > WARNING: <PROJ_UNITS> file not found for location <XY>

Are they really necessary ?

I think these warning could be suppressed for unprojected locations.

Done in r37590.

Martin

Note: See TracTickets for help on using tickets.