[JPP-Devel] [jump-pilot:bugs] #483 RasterStyleDialog freezes if the selected raster has only one value (raster used as mask)

2020-08-29 Thread Giuseppe Aruta via Jump-pilot-devel
- **status**: pending --> closed-fixed
- **Milestone**:  --> undecided



---

** [bugs:#483] RasterStyleDialog freezes if the selected raster has only one 
value (raster used as mask)**

**Status:** closed-fixed
**Milestone:** undecided
**Created:** Thu Dec 20, 2018 11:25 AM UTC by Giuseppe Aruta
**Last Updated:** Sat Aug 29, 2020 08:31 AM UTC
**Owner:** Giuseppe Aruta


RasterStyleDialog freezes if the selected raster has only one value. Raster 
layers where cells can have only one value are typically used as mask on other 
raster layer. Tecnically these raster have only cells with a defined unique 
value (generally 1) and other cells that have a nodata value. 

The problem seems connected to the metter that OpenJUMP sextante raster defines 
by defaut a stretched classification as style on a raster ( 
RasterSymbology.TYPE_RAMP). It is required at least 2 values (ex. 1 and 0) dor 
a stretched classification while mask raster layer could have only one.

The solution which I am going to apply on SVN

a) RasterLayer.class. Make a default classification (only for such mask raster) 
as single interval (RasterSymbology.TYPE_SINGLE) so that the layer tree legend 
is obliged to show only one value

b) RasterSymbologyDialog.class. Create a dummy panel that substitutes stretched 
classification panel  (only for such mask raster) and shown a message that 
selected raster has only one value


---

Sent from sourceforge.net because jump-pilot-devel@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/jump-pilot/bugs/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/jump-pilot/admin/bugs/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] [jump-pilot:bugs] #483 RasterStyleDialog freezes if the selected raster has only one value (raster used as mask)

2020-08-29 Thread edgar . soldin
Peppe,

please reply on sf.net and close/tag the tickets appropriately
usually there is a link in the message like
>> * [bugs:#483] 

..ede

On 29.08.2020 10:43, Giuseppe Aruta wrote:
> Yes. It Is solved in my tests. No feedback from whom pointed out the bug
>
> Il sab 29 ago 2020, 10:31 AM michael michaud via Jump-pilot-devel <
> jump-pilot-devel@lists.sourceforge.net> ha scritto:
>
>> Peppe, is thi salready fixed in 1.15?
>> --
>>
>> * [bugs:#483] 
>> RasterStyleDialog freezes if the selected raster has only one value (raster
>> used as mask)*
>>
>> *Status:* pending
>> *Milestone:*
>> *Created:* Thu Dec 20, 2018 11:25 AM UTC by Giuseppe Aruta
>> *Last Updated:* Thu Dec 20, 2018 05:25 PM UTC
>> *Owner:* Giuseppe Aruta
>>
>> RasterStyleDialog freezes if the selected raster has only one value.
>> Raster layers where cells can have only one value are typically used as
>> mask on other raster layer. Tecnically these raster have only cells with a
>> defined unique value (generally 1) and other cells that have a nodata
>> value.
>>
>> The problem seems connected to the metter that OpenJUMP sextante raster
>> defines by defaut a stretched classification as style on a raster (
>> RasterSymbology.TYPE_RAMP). It is required at least 2 values (ex. 1 and 0)
>> dor a stretched classification while mask raster layer could have only one.
>>
>> The solution which I am going to apply on SVN
>>
>> a) RasterLayer.class. Make a default classification (only for such mask
>> raster) as single interval (RasterSymbology.TYPE_SINGLE) so that the layer
>> tree legend is obliged to show only one value
>>
>> b) RasterSymbologyDialog.class. Create a dummy panel that substitutes
>> stretched classification panel (only for such mask raster) and shown a
>> message that selected raster has only one value
>> --
>>
>> Sent from sourceforge.net because jump-pilot-devel@lists.sourceforge.net
>> is subscribed to https://sourceforge.net/p/jump-pilot/bugs/
>>
>> To unsubscribe from further messages, a project admin can change settings
>> at https://sourceforge.net/p/jump-pilot/admin/bugs/options. Or, if this
>> is a mailing list, you can unsubscribe from the mailing list.
>> ___
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>
>
>
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>



___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] [jump-pilot:bugs] #483 RasterStyleDialog freezes if the selected raster has only one value (raster used as mask)

2020-08-29 Thread Giuseppe Aruta
Yes. It Is solved in my tests. No feedback from whom pointed out the bug

Il sab 29 ago 2020, 10:31 AM michael michaud via Jump-pilot-devel <
jump-pilot-devel@lists.sourceforge.net> ha scritto:

> Peppe, is thi salready fixed in 1.15?
> --
>
> * [bugs:#483] 
> RasterStyleDialog freezes if the selected raster has only one value (raster
> used as mask)*
>
> *Status:* pending
> *Milestone:*
> *Created:* Thu Dec 20, 2018 11:25 AM UTC by Giuseppe Aruta
> *Last Updated:* Thu Dec 20, 2018 05:25 PM UTC
> *Owner:* Giuseppe Aruta
>
> RasterStyleDialog freezes if the selected raster has only one value.
> Raster layers where cells can have only one value are typically used as
> mask on other raster layer. Tecnically these raster have only cells with a
> defined unique value (generally 1) and other cells that have a nodata
> value.
>
> The problem seems connected to the metter that OpenJUMP sextante raster
> defines by defaut a stretched classification as style on a raster (
> RasterSymbology.TYPE_RAMP). It is required at least 2 values (ex. 1 and 0)
> dor a stretched classification while mask raster layer could have only one.
>
> The solution which I am going to apply on SVN
>
> a) RasterLayer.class. Make a default classification (only for such mask
> raster) as single interval (RasterSymbology.TYPE_SINGLE) so that the layer
> tree legend is obliged to show only one value
>
> b) RasterSymbologyDialog.class. Create a dummy panel that substitutes
> stretched classification panel (only for such mask raster) and shown a
> message that selected raster has only one value
> --
>
> Sent from sourceforge.net because jump-pilot-devel@lists.sourceforge.net
> is subscribed to https://sourceforge.net/p/jump-pilot/bugs/
>
> To unsubscribe from further messages, a project admin can change settings
> at https://sourceforge.net/p/jump-pilot/admin/bugs/options. Or, if this
> is a mailing list, you can unsubscribe from the mailing list.
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] [jump-pilot:bugs] #483 RasterStyleDialog freezes if the selected raster has only one value (raster used as mask)

2020-08-29 Thread michael michaud via Jump-pilot-devel
Peppe, is thi salready fixed in 1.15?


---

** [bugs:#483] RasterStyleDialog freezes if the selected raster has only one 
value (raster used as mask)**

**Status:** pending
**Milestone:** 
**Created:** Thu Dec 20, 2018 11:25 AM UTC by Giuseppe Aruta
**Last Updated:** Thu Dec 20, 2018 05:25 PM UTC
**Owner:** Giuseppe Aruta


RasterStyleDialog freezes if the selected raster has only one value. Raster 
layers where cells can have only one value are typically used as mask on other 
raster layer. Tecnically these raster have only cells with a defined unique 
value (generally 1) and other cells that have a nodata value. 

The problem seems connected to the metter that OpenJUMP sextante raster defines 
by defaut a stretched classification as style on a raster ( 
RasterSymbology.TYPE_RAMP). It is required at least 2 values (ex. 1 and 0) dor 
a stretched classification while mask raster layer could have only one.

The solution which I am going to apply on SVN

a) RasterLayer.class. Make a default classification (only for such mask raster) 
as single interval (RasterSymbology.TYPE_SINGLE) so that the layer tree legend 
is obliged to show only one value

b) RasterSymbologyDialog.class. Create a dummy panel that substitutes stretched 
classification panel  (only for such mask raster) and shown a message that 
selected raster has only one value


---

Sent from sourceforge.net because jump-pilot-devel@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/jump-pilot/bugs/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/jump-pilot/admin/bugs/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel