Discussion:
[otb-users] PolygonClassStatisticsERROR
Efi
2018-08-01 13:51:12 UTC
Permalink
Hello everyone,

I like to run the PolygonClassStaitistics tool in OTB Monteverdi and the
command line and I get the following error:
"ERROR: ListViewParameter(000001E9C173BDF0): Value id not found in the list
of choices"
I suppose it has to do with the missing FIELD NAME parameter (should be a
List). Is there anywhere an example of how this List should be structured
and saved?
In the example provided in Orfeo Cookbook
(https://www.orfeo-toolbox.org/CookBook/Applications/app_PolygonClassStatistics.html)
the file seems to be an sqlite file

("variousVectors.sqlite").

How should a List file describing a polygon shapefile with 2 columns in the
attribute table look like in order to be read by OTB?

Thank you,
Efi
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Rémi
2018-08-02 06:51:36 UTC
Permalink
Dear Efi,

You have to tell PolygonClassStatistics what is the name of the field (the
column in the attribute table of your vector data) it should use. For
instance, "class".
Hope that helps.

Rémi
Post by Efi
Hello everyone,
I like to run the PolygonClassStaitistics tool in OTB Monteverdi and the
"ERROR: ListViewParameter(000001E9C173BDF0): Value id not found in the
list of choices"
I suppose it has to do with the missing FIELD NAME parameter (should be a
List). Is there anywhere an example of how this List should be structured
and saved?
In the example provided in Orfeo Cookbook (
https://www.orfeo-toolbox.org/CookBook/Applications/app_PolygonClassStatistics.html)
the file seems to be an sqlite file
("variousVectors.sqlite").
How should a List file describing a polygon shapefile with 2 columns in
the attribute table look like in order to be read by OTB?
Thank you,
Efi
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Efi Konstantinidou
2018-08-02 08:04:20 UTC
Permalink
Dear Remi,

Thank you for replying and the advice. Thing is, HOW do I tell the tool
what the column is. In the documentation it says that it should be a
'List'. Do you know how this should be, for example if the column is named
'class', I imagine that I need to create a file (.txt, .csv ..?) that
contains the field name. This is what I do not know, for now. In the
example provided in the documentation the assocaited file is
"variousVectors.sqlite", so it's an .sqlite file but still it is not clear
to me what the contents are.
Link to documentation:
https://www.orfeo-toolbox.org/CookBook/Applications/app_PolygonClassStatistics.html
I hope I express my question in a way that makes sense to you.
Thanks again,

Efi
Post by Rémi
Dear Efi,
You have to tell PolygonClassStatistics what is the name of the field (the
column in the attribute table of your vector data) it should use. For
instance, "class".
Hope that helps.
Rémi
Post by Efi
Hello everyone,
I like to run the PolygonClassStaitistics tool in OTB Monteverdi and the
"ERROR: ListViewParameter(000001E9C173BDF0): Value id not found in the
list of choices"
I suppose it has to do with the missing FIELD NAME parameter (should be a
List). Is there anywhere an example of how this List should be structured
and saved?
In the example provided in Orfeo Cookbook (https://www.orfeo-toolbox.org
/CookBook/Applications/app_PolygonClassStatistics.html) the file seems
to be an sqlite file
("variousVectors.sqlite").
How should a List file describing a polygon shapefile with 2 columns in
the attribute table look like in order to be read by OTB?
Thank you,
Efi
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Rémi
2018-08-02 08:35:37 UTC
Permalink
Efi,

Indeed the documentation could be quite confusing when you use the
application from command line.
The "list" makes sense if you use the app from GUI.
It is a single valued list, something more like "you want to chose
something in this list" kind of.
In GUI mode, the application updates the parameter, and display the
available fields.
In CLI mode, you can only provide 1 single value to this list.

Hope that helps,

Rémi
Post by Efi Konstantinidou
Dear Remi,
Thank you for replying and the advice. Thing is, HOW do I tell the tool
what the column is. In the documentation it says that it should be a
'List'. Do you know how this should be, for example if the column is named
'class', I imagine that I need to create a file (.txt, .csv ..?) that
contains the field name. This is what I do not know, for now. In the
example provided in the documentation the assocaited file is
"variousVectors.sqlite", so it's an .sqlite file but still it is not
clear to me what the contents are.
https://www.orfeo-toolbox.org/CookBook/Applications/app_PolygonClassStatistics.html
I hope I express my question in a way that makes sense to you.
Thanks again,
Efi
Post by Rémi
Dear Efi,
You have to tell PolygonClassStatistics what is the name of the field
(the column in the attribute table of your vector data) it should use. For
instance, "class".
Hope that helps.
Rémi
Post by Efi
Hello everyone,
I like to run the PolygonClassStaitistics tool in OTB Monteverdi and the
"ERROR: ListViewParameter(000001E9C173BDF0): Value id not found in the
list of choices"
I suppose it has to do with the missing FIELD NAME parameter (should be
a List). Is there anywhere an example of how this List should be structured
and saved?
In the example provided in Orfeo Cookbook (
https://www.orfeo-toolbox.org/CookBook/Applications/app_PolygonClassStatistics.html)
the file seems to be an sqlite file
("variousVectors.sqlite").
How should a List file describing a polygon shapefile with 2 columns in
the attribute table look like in order to be read by OTB?
Thank you,
Efi
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
<javascript:>
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Manuel Grizonnet
2018-08-03 12:40:31 UTC
Permalink
Feel free to create a gitlab issue to describe the possible confusion in
the application documentation:

https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/issues

It will be written somewhere and hopefully fix in the future.

Thanks,

Manuel
Post by Rémi
Efi,
Indeed the documentation could be quite confusing when you use the
application from command line.
The "list" makes sense if you use the app from GUI.
It is a single valued list, something more like "you want to chose
something in this list" kind of.
In GUI mode, the application updates the parameter, and display the
available fields.
In CLI mode, you can only provide 1 single value to this list.
Hope that helps,
Rémi
Post by Efi Konstantinidou
Dear Remi,
Thank you for replying and the advice. Thing is, HOW do I tell the tool
what the column is. In the documentation it says that it should be a
'List'. Do you know how this should be, for example if the column is named
'class', I imagine that I need to create a file (.txt, .csv ..?) that
contains the field name. This is what I do not know, for now. In the
example provided in the documentation the assocaited file is
"variousVectors.sqlite", so it's an .sqlite file but still it is not
clear to me what the contents are.
Link to documentation: https://www.orfeo-toolbox.org/
CookBook/Applications/app_PolygonClassStatistics.html
I hope I express my question in a way that makes sense to you.
Thanks again,
Efi
Post by Rémi
Dear Efi,
You have to tell PolygonClassStatistics what is the name of the field
(the column in the attribute table of your vector data) it should use. For
instance, "class".
Hope that helps.
Rémi
Post by Efi
Hello everyone,
I like to run the PolygonClassStaitistics tool in OTB Monteverdi and
"ERROR: ListViewParameter(000001E9C173BDF0): Value id not found in the
list of choices"
I suppose it has to do with the missing FIELD NAME parameter (should be
a List). Is there anywhere an example of how this List should be structured
and saved?
In the example provided in Orfeo Cookbook (
https://www.orfeo-toolbox.org/CookBook/Applications/app_Pol
ygonClassStatistics.html) the file seems to be an sqlite file
("variousVectors.sqlite").
How should a List file describing a polygon shapefile with 2 columns in
the attribute table look like in order to be read by OTB?
Thank you,
Efi
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
Manuel Grizonnet
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Rémi
2018-08-03 13:15:10 UTC
Permalink
Ok, I've put it here
<https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/issues/1686>.
Post by Manuel Grizonnet
Feel free to create a gitlab issue to describe the possible confusion in
https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/issues
It will be written somewhere and hopefully fix in the future.
Thanks,
Manuel
Post by Rémi
Efi,
Indeed the documentation could be quite confusing when you use the
application from command line.
The "list" makes sense if you use the app from GUI.
It is a single valued list, something more like "you want to chose
something in this list" kind of.
In GUI mode, the application updates the parameter, and display the
available fields.
In CLI mode, you can only provide 1 single value to this list.
Hope that helps,
Rémi
Post by Efi Konstantinidou
Dear Remi,
Thank you for replying and the advice. Thing is, HOW do I tell the tool
what the column is. In the documentation it says that it should be a
'List'. Do you know how this should be, for example if the column is named
'class', I imagine that I need to create a file (.txt, .csv ..?) that
contains the field name. This is what I do not know, for now. In the
example provided in the documentation the assocaited file is
"variousVectors.sqlite", so it's an .sqlite file but still it is not
clear to me what the contents are.
https://www.orfeo-toolbox.org/CookBook/Applications/app_PolygonClassStatistics.html
I hope I express my question in a way that makes sense to you.
Thanks again,
Efi
Post by Rémi
Dear Efi,
You have to tell PolygonClassStatistics what is the name of the field
(the column in the attribute table of your vector data) it should use. For
instance, "class".
Hope that helps.
Rémi
Post by Efi
Hello everyone,
I like to run the PolygonClassStaitistics tool in OTB Monteverdi and
"ERROR: ListViewParameter(000001E9C173BDF0): Value id not found in the
list of choices"
I suppose it has to do with the missing FIELD NAME parameter (should
be a List). Is there anywhere an example of how this List should be
structured and saved?
In the example provided in Orfeo Cookbook (
https://www.orfeo-toolbox.org/CookBook/Applications/app_PolygonClassStatistics.html)
the file seems to be an sqlite file
("variousVectors.sqlite").
How should a List file describing a polygon shapefile with 2 columns
in the attribute table look like in order to be read by OTB?
Thank you,
Efi
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
<javascript:>
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
Manuel Grizonnet
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Efi Konstantinidou
2018-08-08 08:45:45 UTC
Permalink
Dear Manuel,

Just saw your message, thanks for replying, will look into it.

Best,
Efi Konstantinidou
Post by Manuel Grizonnet
Feel free to create a gitlab issue to describe the possible confusion in
https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/issues
It will be written somewhere and hopefully fix in the future.
Thanks,
Manuel
Post by Rémi
Efi,
Indeed the documentation could be quite confusing when you use the
application from command line.
The "list" makes sense if you use the app from GUI.
It is a single valued list, something more like "you want to chose
something in this list" kind of.
In GUI mode, the application updates the parameter, and display the
available fields.
In CLI mode, you can only provide 1 single value to this list.
Hope that helps,
Rémi
Post by Efi Konstantinidou
Dear Remi,
Thank you for replying and the advice. Thing is, HOW do I tell the tool
what the column is. In the documentation it says that it should be a
'List'. Do you know how this should be, for example if the column is named
'class', I imagine that I need to create a file (.txt, .csv ..?) that
contains the field name. This is what I do not know, for now. In the
example provided in the documentation the assocaited file is
"variousVectors.sqlite", so it's an .sqlite file but still it is not
clear to me what the contents are.
Link to documentation: https://www.orfeo-toolbox.org/
CookBook/Applications/app_PolygonClassStatistics.html
I hope I express my question in a way that makes sense to you.
Thanks again,
Efi
Post by Rémi
Dear Efi,
You have to tell PolygonClassStatistics what is the name of the field
(the column in the attribute table of your vector data) it should use. For
instance, "class".
Hope that helps.
Rémi
Post by Efi
Hello everyone,
I like to run the PolygonClassStaitistics tool in OTB Monteverdi and
"ERROR: ListViewParameter(000001E9C173BDF0): Value id not found in
the list of choices"
I suppose it has to do with the missing FIELD NAME parameter (should
be a List). Is there anywhere an example of how this List should be
structured and saved?
In the example provided in Orfeo Cookbook (
https://www.orfeo-toolbox.org/CookBook/Applications/app_Pol
ygonClassStatistics.html) the file seems to be an sqlite file
("variousVectors.sqlite").
How should a List file describing a polygon shapefile with 2 columns
in the attribute table look like in order to be read by OTB?
Thank you,
Efi
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
Manuel Grizonnet
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...