#492: grass7: XY-location makes g.region segfault
-------------------------+--------------------------------------------------
Reporter: mlennert | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 7.0.0
Component: default | Version: svn-trunk
Keywords: | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
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.
Replying to [comment:2 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.
Replying to [comment:3 hamish]:
> Replying to [comment:2 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
Replying to [comment:2 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.
Replying to [comment:5 martinl]:
> Replying to [comment:2 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.