[GRASSLIST:8195] i.ortho.photo cant select existing imagery group

Hello,

I've made good experiences using orthophoto rectification
with grass5. Since I upgraded to Version 6.1(cvs) I'm in
trouble selecting an existing imagery group. Instead of
the commandline tool now I get a window. With this
windows I'm able to change an imagery group but not
to simply select an existing one for use with i.ortho.photo.
How to proceed this step correctly with grass6?

Many thanks

Hartmut

Am Mittwoch, 7. September 2005 14:38 schrieb lada2hell@yahoo.de:

Hello,

Hi,

for me this problem doesn't exist. I can select, create or change an existing
imagery group within the popup.

Maybe I don't understand your question? What do you exactly mean with "simply
select an existing one"?

Otto

I've made good experiences using orthophoto rectification
with grass5. Since I upgraded to Version 6.1(cvs) I'm in
trouble selecting an existing imagery group. Instead of
the commandline tool now I get a window. With this
windows I'm able to change an imagery group but not
to simply select an existing one for use with i.ortho.photo.
How to proceed this step correctly with grass6?

sorry for my late reply...

for me this problem doesn't exist. I can select, create or change an existing
imagery group within the popup.

Maybe I don't understand your question? What do you exactly mean with "simply
select an existing one"?

I just want to select a group which was already created (result of r.in.gdal)
for use with i.ortho.photo. Here is an example of such a group:

i.group group=45-531_1210-1 -l
group [45-531_1210-1] references the following cellfiles
-------------
45-531_1210-1.red in 145 45-531_1210-1.green in 145
45-531_1210-1.blue in 145
-------------

If I only choose this group, I get the following error:

i.group group=45-531_1210-1

GRASS_INFO_ERROR(7533,1): No input map(s) specified.

I don't want to add/remove any raster layer from the
group, just want to tell i.ortho.photo which group it
should use. How to do with this dialog-window?

Many thanks

Hartmut

I've made good experiences using orthophoto rectification
with grass5. Since I upgraded to Version 6.1(cvs) I'm in
trouble selecting an existing imagery group. Instead of
the commandline tool now I get a window. With this
windows I'm able to change an imagery group but not
to simply select an existing one for use with i.ortho.photo.
How to proceed this step correctly with grass6?

i.group group=45-531_1210-1

GRASS_INFO_ERROR(7533,1): No input map(s) specified.

The i.group module is for editing the group lists. You haven't requested
it to take any action (add/remove/list maps) and so it doesn't know what
to do.

I don't want to add/remove any raster layer from the
group, just want to tell i.ortho.photo which group it
should use. How to do with this dialog-window?

i.ortho.photo both from the command prompt and from the d.m menu should
launch a prompt which asks you which which group you want to use.

Hamish

i.group group=45-531_1210-1

GRASS_INFO_ERROR(7533,1): No input map(s) specified.

The i.group module is for editing the group lists. You haven't requested
it to take any action (add/remove/list maps) and so it doesn't know what
to do.

yes, but in this case the old, cmd-line version of
i.group simply selected the group for rectification.

I don't want to add/remove any raster layer from the
group, just want to tell i.ortho.photo which group it
should use. How to do with this dialog-window?

i.ortho.photo both from the command prompt and from the d.m menu should
launch a prompt which asks you which which group you want to use.

sorry, at least the cmd-line version doesn't ask for a group
(call from d.m I didn't try yet). It just shows the group last used.

Hartmut

On Tue, 13 Sep 2005, Hartmut wrote:

I don't want to add/remove any raster layer from the
group, just want to tell i.ortho.photo which group it
should use. How to do with this dialog-window?

i.ortho.photo both from the command prompt and from the d.m menu should
launch a prompt which asks you which which group you want to use.

sorry, at least the cmd-line version doesn't ask for a group
(call from d.m I didn't try yet). It just shows the group last used.

If you want the command to run using the command-line parser rather than the GUI box, set the environment variable GRASS_UI_TERM to any value and then run the command by typing its name alone. This should work more like you are used to from earlier versions of GRASS.

Paul

>> i.group group=45-531_1210-1
>>
>> GRASS_INFO_ERROR(7533,1): No input map(s) specified.
>
> The i.group module is for editing the group lists. You haven't
> requested it to take any action (add/remove/list maps) and so it
> doesn't know what to do.

yes, but in this case the old, cmd-line version of
i.group simply selected the group for rectification.

I don't understand that. Which version of GRASS are you using? Which
version of GRASS do you mean by "old version"?

For the record, within the same version of GRASS, the GUI and command
line versions of almost all modules are infact the same program running
whichever version you choose. The difference is mostly cosmetic.

>> I don't want to add/remove any raster layer from the
>> group, just want to tell i.ortho.photo which group it
>> should use. How to do with this dialog-window?
>
> i.ortho.photo both from the command prompt and from the d.m menu
> should launch a prompt which asks you which which group you want to
> use.

sorry, at least the cmd-line version doesn't ask for a group
(call from d.m I didn't try yet). It just shows the group last used.

GRASS> i.ortho.photo

what happens next?

you should see:

Enter imagery group for ortho-rectification
Enter 'list' for a list of existing imagery groups
Enter 'list -f' for a verbose listing
Hit RETURN to cancel request

?
Hamish

yes, but in this case the old, cmd-line version of
i.group simply selected the group for rectification.

I don't understand that. Which version of GRASS are you using? Which
version of GRASS do you mean by "old version"?

actual version: GRASS 6.1.cvs (2005) last update: 2005 Sep 6
"old" version: GRASS 5.5-cvs (2004)

GRASS> i.ortho.photo

what happens next?

the term gets cleared and soon the main menu appears:

i.ortho.photo -- Imagery Group = 57-207_1210-4

Initialization Options:

    1. Select/Modify imagery group
    2. Select/Modify imagery group target
    3. Select/Modify target elevation model
...

you should see:

Enter imagery group for ortho-rectification
Enter 'list' for a list of existing imagery groups
Enter 'list -f' for a verbose listing
Hit RETURN to cancel request

Have never seen this, neither in Grass6 nor Grass5.
In Grass5, my 1st step always was (1.) in order to
select the group.
Since which version should i.ortho.photo ask for the
group? Maybe my cvs-archive is messy...

Hartmut

If you want the command to run using the command-line parser rather than the GUI box, set the environment variable GRASS_UI_TERM to any value and then run the command by typing its name alone. This should work more like you are used to from earlier versions of GRASS.

thank you for this hint!
Tried it, but unfortunately my problem doesn't depend on running
i.group in the term or the dialog-box - the functionality
was changed and the program is not suitable to select a group anymore.

Hartmut