Opened 16 years ago

Closed 16 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 by martinl, 16 years ago

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

Hopefully fixed in r35855.

comment:2 by mlennert, 16 years ago

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

in reply to:  2 ; comment:3 by hamish, 16 years ago

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

in reply to:  3 comment:4 by mlennert, 16 years ago

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

in reply to:  2 ; comment:5 by martinl, 16 years ago

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

in reply to:  5 comment:6 by martinl, 16 years ago

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.