Re: [Geoserver-users] GeoServer SLD Unexpected Outcome

2018-10-06 Thread Tyler Youschak
I’ve gone back through this and read it again to try to familiarize myself with 
the situation.

Is there a reason why GeoServer currently does it in the order it does it? For 
instance, if I were to make the alternative — would it open up additional 
issues that were prevented it from doing it how GeoServer currently does it?

Also, if you would be able to, can you point to where it’s located in the code?

Thanks,
Tyler Youschak

On Fri, Aug 31, 2018 at 12:14 AM Andrea Aime < Andrea Aime ( Andrea Aime 
 ) > wrote:

> 
> 
> On Mon, Aug 27, 2018 at 6:47 PM Tyler Youschak < tyleryousc...@gmail.com >
> wrote:
> 
> 
>> For the layer thats been acting up, I went ahead and turned off bilinear
>> interpolation, and switched it back to nearest neighbor. This did fix my
>> issue, but lost all of the nice smoothing, which is not ideal.
>> 
>> 
>> Is there a way to “fix” this for bilinear situations?
>> 
>> 
>> Nearest Neighbor: 
>> https://drive.google.com/open?id=1gXNdGQ8_1pDA4ovZ7vhrb3i5H8A8tguY
>> (
>> https://share.polymail.io/v1/z/b/NWI4NDE5ZGFmYTdi/4CTsD9mjQzZdJe9BgvUYuORmavUuUGPEojb1yBKm7sDmY3TpnV8rH6EHkxdtK7UjDszTbP4qoDRJw9rjCw1K2VZplx_E48Klviq2M7w7eFiwl9bXCwUVUlPxVGn8tf8Q1FW2IEBjlJGJlHYyYg6F0omncaizSu7I4vtK0aBQgprvrUirnkqQbV5kViJFF8w8wI5mDKCvnZD2a30cwCSnhJ0g15Am7fVxV5yw7AbVfsEcGQbwTOG7bgF5COzHZQLd5LvZ
>> )
>> 
>> Bilinear: https://drive.google.com/open?id=1idQOhiHbv0IkmVnAX2dycZi9UqyWyWuR
>> (
>> https://share.polymail.io/v1/z/b/NWI4NDE5ZGFmYTdi/4CTsD9mjQzZdJe9BgvUYuORmavUuUGPEojb1yBKm7sDmY3TpnV8rH6EHkxdtK7UjDszTbP4qoDRJw9rjCw1K2VZplx_E48Klviq2M7w7eFiwl9bXCwUVUlPxVGn8tf8Q1FW2IEBjlJGJlHYyYg6F0omncaizSu7I4vtK0aBQgprvrUirnkqQbV5kViJFF8w8wI5mApywtr_OG0BbgCmN3aQ4zP9i4f5wPpy88U_tEcwsGQ2NnowybFdgbTFzIEEEPeby
>> ) (it also looks this way for bicubic)
>> 
>> 
>> 
>> 
> 
> 
> 
> Unsure... rescaling with bilinear interpolation happens before the palette
> is applied, so it other
> values that were not there in the original map, and then they get colored.
> 
> 
> 
> I did not translate the colormap back to human visible colors, but I'm
> guessing green is on one end 
> of the colormap, and the blue is on the other end, right?
> 
> 
> There is currently no way to apply the palette first, and then do the
> rescaling (and eventual
> reprojection) of image with interpolation. Doing that would allow the
> interpolation to just blend between
> green and blue, without going throught the other colors in the palette.
> It could certainly be added, but it's not a quick change. If you can
> develop in Java and know about image
> processing I can point you to the location in the code where the
> processing is done.
> Or, if you are in a position to sponsor development, you can check out the
> commercial support page and
> inquire companies about implementing the change for you: 
> http://geoserver.org/support/
> 
> 
> 
> Cheers
> Andrea
> 
> 
> ==
> 
> 

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V 
for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions 
S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: 
+39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it 
http://twitter.com/geosolutions_it 
--- Con riferimento alla 
normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento 
generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza 
inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è 
un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, 
ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene 
notizia. This email is intended only for the person or entity to which it is 
addressed and may contain information that is privileged, confidential or 
otherwise protected from disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or 
the information herein by anyone other than the intended recipient is 
prohibited. If you have received this email by mistake, please notify us 
immediately by telephone or e-mail.___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer SLD Unexpected Outcome

2018-08-30 Thread Andrea Aime
On Mon, Aug 27, 2018 at 6:47 PM Tyler Youschak 
wrote:

> For the layer thats been acting up, I went ahead and turned off bilinear
> interpolation, and switched it back to nearest neighbor. This did fix my
> issue, but lost all of the nice smoothing, which is not ideal.
>
> Is there a way to “fix” this for bilinear situations?
>
> Nearest Neighbor:
> https://drive.google.com/open?id=1gXNdGQ8_1pDA4ovZ7vhrb3i5H8A8tguY
> 
> Bilinear:
> https://drive.google.com/open?id=1idQOhiHbv0IkmVnAX2dycZi9UqyWyWuR
> 
>  (it
> also looks this way for bicubic)
>
>
Unsure... rescaling with bilinear interpolation happens before the palette
is applied, so it other
values that were not there in the original map, and then they get colored.

I did not translate the colormap back to human visible colors, but I'm
guessing green is on one end
of the colormap, and the blue is on the other end, right?

There is currently no way to apply the palette first, and then do the
rescaling (and eventual
reprojection) of image with interpolation. Doing that would allow the
interpolation to just blend between
green and blue, without going throught the other colors in the palette.
It could certainly be added, but it's not a quick change. If you can
develop in Java and know about image
processing I can point you to the location in the code where the processing
is done.
Or, if you are in a position to sponsor development, you can check out the
commercial support page and
inquire companies about implementing the change for you:
http://geoserver.org/support/

Cheers
Andrea

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information. == Ing. Andrea Aime @geowolf Technical Lead
GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39
0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
http://www.geo-solutions.it http://twitter.com/geosolutions_it
--- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer SLD Unexpected Outcome

2018-08-30 Thread Tyler Youschak
I haven't heard anything since... anyone able to take a look? Thanks!

Tyler Youschak

On Mon, Aug 27th, 2018 at 11:41 AM, Tyler Youschak  
wrote:

> 
> 
> I’ve been doing some more digging during my free time.
> 
> 
> For the layer thats been acting up, I went ahead and turned off bilinear
> interpolation, and switched it back to nearest neighbor. This did fix my
> issue, but lost all of the nice smoothing, which is not ideal.
> 
> 
> Is there a way to “fix” this for bilinear situations?
> 
> 
> Nearest Neighbor: 
> https://drive.google.com/open?id=1gXNdGQ8_1pDA4ovZ7vhrb3i5H8A8tguY
> 
> 
> Bilinear: https://drive.google.com/open?id=1idQOhiHbv0IkmVnAX2dycZi9UqyWyWuR
>  (it also looks this way for bicubic)
> 
> 
> 
> Thanks,
> Tyler Youschak
> 
> 
> On Sun, Aug 26, 2018 at 11:21 PM Tyler Youschak < Tyler Youschak ( Tyler
> Youschak  ) > wrote:
> 
> 
>> Hello,
>> 
>> 
>> (Forgot to reply all...)
>> 
>> 
>> Thanks for the quick reply!
>> 
>> 
>> I went ahead and fixed that and also made a few changes to the color table
>> in addition to that and I am getting the same outcome.
>> 
>> 
>> Updated example (of what I'm trying to fix): 
>> https://drive.google.com/open?id=1kQBCfqnqweEcELJyjApoou0nfbQot82f
>> 
>> Updated SLD file: 
>> https://drive.google.com/open?id=1Tr9Tw7UiFpgUrqsEnkIVWVSItz_tNbM2
>> 
>> 
>> 
>> Thanks,
>> Tyler
>> 
>> 
>> On Sun, Aug 26, 2018 at 10:58 PM < br...@frogmouth.net > wrote:
>> 
>> 
>>> 
>>> 
>>> Perhaps the
>>> 
>>> 
>>> 
>>> >> opacity="1"/>
>>> 
>>> 
>>> 
>>> line is confusing it. I’d try making the quantity increase at each
>>> interval.
>>> 
>>> 
>>> 
>>>  
>>> 
>>> 
>>> 
>>> Brad
>>> 
>>> 
>>> 
>>>  
>>> 
>>> 
>>> 
>> 
>> 
> 
> 
>--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer SLD Unexpected Outcome

2018-08-27 Thread Tyler Youschak
I’ve been doing some more digging during my free time.

For the layer thats been acting up, I went ahead and turned off bilinear 
interpolation, and switched it back to nearest neighbor. This did fix my issue, 
but lost all of the nice smoothing, which is not ideal.

Is there a way to “fix” this for bilinear situations?

Nearest Neighbor: 
https://drive.google.com/open?id=1gXNdGQ8_1pDA4ovZ7vhrb3i5H8A8tguY ( 
https://share.polymail.io/v1/z/b/NWI4NDE5ZGFmYTdi/4CTsD9mjQzZdJe9BgvUYuORmavUuUGPEojb1yBKm7sDmY3TpnV8rH6EHkxdtK7UjDszTbP4qoDRJw9rjCw1K2VZplx_E48Klviq2M7w7eFiwl9bXCwUVUlPxVGn8tf8Q1FW2IEBjlJGJlHYyYg6F0omncaizSu7I4vtK0aBQgprvrUirnkqQbV5kViJFF8w8wI5mDKCvnZD2a30cwCSnhJ0g15Am7fVxV5yw7AbVfsEcGQbwTOG7bgF5COzHZQLd5LvZ
 )

Bilinear: https://drive.google.com/open?id=1idQOhiHbv0IkmVnAX2dycZi9UqyWyWuR ( 
https://share.polymail.io/v1/z/b/NWI4NDE5ZGFmYTdi/4CTsD9mjQzZdJe9BgvUYuORmavUuUGPEojb1yBKm7sDmY3TpnV8rH6EHkxdtK7UjDszTbP4qoDRJw9rjCw1K2VZplx_E48Klviq2M7w7eFiwl9bXCwUVUlPxVGn8tf8Q1FW2IEBjlJGJlHYyYg6F0omncaizSu7I4vtK0aBQgprvrUirnkqQbV5kViJFF8w8wI5mApywtr_OG0BbgCmN3aQ4zP9i4f5wPpy88U_tEcwsGQ2NnowybFdgbTFzIEEEPeby
 ) (it also looks this way for bicubic)

Thanks,
Tyler Youschak

On Sun, Aug 26, 2018 at 11:21 PM Tyler Youschak < Tyler Youschak ( Tyler 
Youschak  ) > wrote:

> 
> Hello,
> 
> 
> (Forgot to reply all...)
> 
> 
> Thanks for the quick reply!
> 
> 
> I went ahead and fixed that and also made a few changes to the color table
> in addition to that and I am getting the same outcome.
> 
> 
> Updated example (of what I'm trying to fix): 
> https://drive.google.com/open?id=1kQBCfqnqweEcELJyjApoou0nfbQot82f
> 
> Updated SLD file: 
> https://drive.google.com/open?id=1Tr9Tw7UiFpgUrqsEnkIVWVSItz_tNbM2
> 
> 
> 
> Thanks,
> Tyler
> 
> 
> On Sun, Aug 26, 2018 at 10:58 PM < br...@frogmouth.net > wrote:
> 
> 
>> 
>> 
>> Perhaps the
>> 
>> 
>> 
>> > opacity="1"/>
>> 
>> 
>> 
>> line is confusing it. I’d try making the quantity increase at each
>> interval.
>> 
>> 
>> 
>>  
>> 
>> 
>> 
>> Brad
>> 
>> 
>> 
>>  
>> 
>> 
>> 
> 
>--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer SLD Unexpected Outcome

2018-08-26 Thread Tyler Youschak
Hello,

(Forgot to reply all...)

Thanks for the quick reply!

I went ahead and fixed that and also made a few changes to the color table
in addition to that and I am getting the same outcome.

Updated example (of what I'm trying to fix):
https://drive.google.com/open?id=1kQBCfqnqweEcELJyjApoou0nfbQot82f
Updated SLD file:
https://drive.google.com/open?id=1Tr9Tw7UiFpgUrqsEnkIVWVSItz_tNbM2

Thanks,
Tyler

On Sun, Aug 26, 2018 at 10:58 PM  wrote:

> Perhaps the
>
>  opacity="1"/>
>
> line is confusing it. I’d try making the quantity increase at each
> interval.
>
>
>
> Brad
>
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer SLD Unexpected Outcome

2018-08-26 Thread bradh
Perhaps the 



line is confusing it. I’d try making the quantity increase at each interval.

 

Brad

 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users