Re: [Geoserver-users] ImageMosaic problem with grayscale JPEG image

2021-11-07 Thread Ashley Mort via Geoserver-users
I just wanted to follow up on this and say that the solution I ended up using 
was to convert every single band grayscale image to a 3band image using GDAL.  
Then every file in my image mosaic was 3 bands and then color and grayscale 
images would display as expected with no further modifications or style 
customizations needed.

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

From: Vera Green 
Sent: Wednesday, May 26, 2021 2:35 PM
To: Daniele Romagnoli 
Cc: Ashley Mort ; GeoServer Mailing List List 

Subject: [External] Re: [Geoserver-users] ImageMosaic problem with grayscale 
JPEG image

I concur with that request for gdal info. We have had to use custom styles for 
gray scale images to display properly, tailor the style to the DN range if your 
data.

Vera

On Mon., May 24, 2021, 3:00 a.m. Daniele Romagnoli, 
mailto:daniele.romagn...@geo-solutions.it>> 
wrote:
Hi Ashley,
could you please run a gdalinfo on that image and report its output?

Are you applying any style on it?



On Fri, May 21, 2021 at 12:41 AM Ashley Mort via Geoserver-users 
mailto:geoserver-users@lists.sourceforge.net>>
 wrote:
I have a single band (8bit unsigned) grayscale JPEG w/ worldfile that’s 1908 x 
9804 pixels.  When I put it into an ImageMosaic, the image shows up totally 
black.  If I use GDAL to make it into a 3band color image, then it displays 
properly in my ImageMosaic.

Is it possible to have single band grayscale images in an ImageMosaic?  Are 
there any special requirements for doing this that I need to be aware of?  
Thanks!!

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

___
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<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Regards,
Daniele Romagnoli
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V 
for more information.
==

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:  +39 0584 1660272

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<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
___
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-re

Re: [Geoserver-users] ImageMosaic problem with grayscale JPEG image

2021-05-26 Thread Vera Green
I concur with that request for gdal info. We have had to use custom styles
for gray scale images to display properly, tailor the style to the DN range
if your data.

Vera

On Mon., May 24, 2021, 3:00 a.m. Daniele Romagnoli, <
daniele.romagn...@geo-solutions.it> wrote:

> Hi Ashley,
> could you please run a gdalinfo on that image and report its output?
>
> Are you applying any style on it?
>
>
>
> On Fri, May 21, 2021 at 12:41 AM Ashley Mort via Geoserver-users <
> geoserver-users@lists.sourceforge.net> wrote:
>
>> I have a single band (8bit unsigned) grayscale JPEG w/ worldfile that’s
>> 1908 x 9804 pixels.  When I put it into an ImageMosaic, the image shows up
>> totally black.  If I use GDAL to make it into a 3band color image, then it
>> displays properly in my ImageMosaic.
>>
>>
>>
>> Is it possible to have single band grayscale images in an ImageMosaic?
>> Are there any special requirements for doing this that I need to be aware
>> of?  Thanks!!
>>
>>
>>
>> Ashley Mort
>>
>> Sr. Software Engineer
>>
>> 972-638-6317 office
>>
>> 814-571-3039 cell
>>
>>
>> ___
>> 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
>>
>
>
> --
> Regards,
> Daniele Romagnoli
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Ing. Daniele Romagnoli
> Senior Software Engineer
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:  +39 0584 1660272
>
> 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
>
___
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] ImageMosaic problem with grayscale JPEG image

2021-05-24 Thread Daniele Romagnoli
Hi Ashley,
could you please run a gdalinfo on that image and report its output?

Are you applying any style on it?



On Fri, May 21, 2021 at 12:41 AM Ashley Mort via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> I have a single band (8bit unsigned) grayscale JPEG w/ worldfile that’s
> 1908 x 9804 pixels.  When I put it into an ImageMosaic, the image shows up
> totally black.  If I use GDAL to make it into a 3band color image, then it
> displays properly in my ImageMosaic.
>
>
>
> Is it possible to have single band grayscale images in an ImageMosaic?
> Are there any special requirements for doing this that I need to be aware
> of?  Thanks!!
>
>
>
> Ashley Mort
>
> Sr. Software Engineer
>
> 972-638-6317 office
>
> 814-571-3039 cell
>
>
> ___
> 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
>


-- 
Regards,
Daniele Romagnoli
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:  +39 0584 1660272

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


[Geoserver-users] ImageMosaic problem with grayscale JPEG image

2021-05-20 Thread Ashley Mort via Geoserver-users
I have a single band (8bit unsigned) grayscale JPEG w/ worldfile that's 1908 x 
9804 pixels.  When I put it into an ImageMosaic, the image shows up totally 
black.  If I use GDAL to make it into a 3band color image, then it displays 
properly in my ImageMosaic.

Is it possible to have single band grayscale images in an ImageMosaic?  Are 
there any special requirements for doing this that I need to be aware of?  
Thanks!!

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

___
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