Opened 15 years ago

Closed 15 years ago

#919 closed enhancement (fixed)

add a layer selector to r.region

Reported by: timmie Owned by: grass-dev@…
Priority: normal Milestone: 6.4.0
Component: Raster Version: svn-releasebranch64
Keywords: r.region Cc:
CPU: All Platform: All

Description

r.region has the option to adapt the region boundaries to raster or vector layers in the "option" tag.

Currently, users are forced to enter the layer name manually.

Please add a drop-down box here.

Change History (3)

comment:1 by hamish, 15 years ago

Component: defaultRaster
CPU: UnspecifiedAll
Keywords: r.region added
Platform: UnspecifiedAll
Type: defectenhancement
Version: unspecifiedsvn-releasebranch64
+  parm.raster->gisprompt = "old,cell,raster";

should do it. but better would to use G_standard_option()s for map,raster,align and vector map options. and perhaps region and 3dview too?

Hamish

in reply to:  1 comment:2 by glynn, 15 years ago

Replying to hamish:

but better would to use G_standard_option()s for map,raster,align and vector map options.

Done in r40902.

and perhaps region and 3dview too?

There aren't standard options for these, but I've added ->gisprompt settings for them (copied from g.region).

comment:3 by neteler, 15 years ago

Resolution: fixed
Status: newclosed

Backported to 6.5 and 6.4. Closing (feel free to reopen if needed).

Note: See TracTickets for help on using tickets.