Hi Daniele,
Thank you for your reply. The gdalinfo output for one of the files in the
ImageMosaic is below. Please let me know any other details would be helpful.
Kind regards,
Andrew
__________________________________________________________________________________________________________
Size is 63186, 85092
Coordinate System is:
PROJCS["GDA94_Australian_Albers",
GEOGCS["GCS_GDA_1994",
DATUM["Geocentric_Datum_of_Australia_1994",
SPHEROID["GRS_1980",6378137,298.257222101,
AUTHORITY["EPSG","7019"]],
AUTHORITY["EPSG","6283"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433]],
PROJECTION["Albers_Conic_Equal_Area"],
PARAMETER["standard_parallel_1",-18],
PARAMETER["standard_parallel_2",-36],
PARAMETER["latitude_of_center",0],
PARAMETER["longitude_of_center",132],
PARAMETER["false_easting",0],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]]]
Origin = (404205.000000000000000,-855425.000000000000000)
Pixel Size = (30.000000000000000,-30.000000000000000)
Metadata:
AREA_OR_POINT=Area
Image Structure Metadata:
COMPRESSION=DEFLATE
INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left ( 404205.000, -855425.000) (135d32'12.63"E, 8d 8'51.45"S)
Lower Left ( 404205.000,-3408185.000) (136d17' 9.50"E, 31d13'56.41"S)
Upper Right ( 2299785.000, -855425.000) (151d57'51.89"E, 6d30'17.28"S)
Lower Right ( 2299785.000,-3408185.000) (156d 6'16.81"E, 29d21' 4.58"S)
Center ( 1351995.000,-2131805.000) (144d55'21.91"E, 19d16'24.63"S)
Band 1 Block=256x256 Type=Byte, ColorInterp=Red
Min=6.000 Max=255.000
Minimum=6.000, Maximum=255.000, Mean=128.943, StdDev=21.915
NoData Value=0
Overviews: 15797x21273, 7899x10637, 3950x5319, 1975x2660, 988x1330, 494x665,
247x333, 124x167
Metadata:
PIXEL_SCALING=GAIN:0.01 OFFSET:-1.0 UNITS:fraction USAGE:val=DN*gain+offset
NULLVAL_DN:0.0 NULLVAL_UNITS:-1.0
SLATS_Metadata2_zipped=eNqN2F1vo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xE1Q7thTV7qT6oc9LP4VC7fLhAfieyfeB7VU7TETovaxExN+P/OvB+cUjq4sluVAVuVT3xPOJx6YRnYYRuV6fEhMBRj7xjaRRsP11eDYeNsOmmT3sU9RH3KlvW9vzXBYGvv16Nbe3Z8nq9Gq+XM8/X/bnXAzPIVFbUotGVpoMDwnJK9JVef8UEPMcfZFZn3urf3VnAmI+HfDhfd7LP50zC9c=
STATISTICS_EXCLUDEDVALUES=0.0
STATISTICS_HISTOBINFUNCTION=direct
STATISTICS_HISTOBINVALUES=0|0|0|0|0|0|1|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|0|0|0|1|0|1|0|0|1|1|0|0|0|1|0|0|0|0|0|1|1|1|0|1|0|1|1|1|3|2|0|3|2|5|4|4|6|3|2|8|8|8|12|20|8|12|21|27|34|35|53|59|69|74|104|126|142|235|311|405|580|844|1247|2003|3170|5896|11584|28122|82323|337955|3432273|82332841|47322470|45452611|46019523|48617553|49476403|49484740|48772152|47487172|45980557|44224582|42345069|40456003|38541767|36701319|35069599|33655988|32414076|31317247|30438560|29759437|29237128|28826099|28400183|28045332|27930777|27960698|27960484|27897016|28061774|28220247|28455985|28711194|28912652|28872567|28724271|28820106|28899570|28779381|28456461|28474417|28345272|28089628|27768141|27239383|26502969|25832120|25032892|23987900|22948157|22459095|21735923|20845239|19846172|18902263|17878741|16870028|16020816|15135946|14281153|13475325|12766517|12150121|11592503|11079056|10599804|10132055|9607758|8981825|8408390|7953707|7631974|7277685|6814626|6408278|6062839|5707270|5295315|4910657|4578890|4253381|3920331|3594137|3280236|2999445|2738723|2492592|2266991|2056750|1867099|1707125|1582699|1495152|1468777|1471911|1550524|1709697|1464856|874776|301950|112966|12966|2595|1150|717|516|317|247|189|131|133|76|64|64|42|43|30|23|12|24|16|12|8|15|8|8|12|5|5|6|5|3|0|7|1|0|1|1|2|3|0|3|2|0|0|1|1|2|3|2|1|0|0|1|0|3|
STATISTICS_HISTOMAX=255
STATISTICS_HISTOMIN=0
STATISTICS_HISTONUMBINS=256
STATISTICS_MAXIMUM=255.0
STATISTICS_MEAN=128.9430632605046
STATISTICS_MEDIAN=126
STATISTICS_MINIMUM=6.0
STATISTICS_MODE=100
STATISTICS_SKIPFACTORX=1
STATISTICS_SKIPFACTORY=1
STATISTICS_STDDEV=21.914724246377162
Band 2 Block=256x256 Type=Byte, ColorInterp=Green
Min=1.000 Max=255.000
Minimum=1.000, Maximum=255.000, Mean=119.587, StdDev=17.895
NoData Value=0
Overviews: 15797x21273, 7899x10637, 3950x5319, 1975x2660, 988x1330, 494x665,
247x333, 124x167
Metadata:
PIXEL_SCALING=GAIN:0.01 OFFSET:-1.0 UNITS:fraction USAGE:val=DN*gain+offset
NULLVAL_DN:0.0 NULLVAL_UNITS:-1.0
STATISTICS_EXCLUDEDVALUES=0.0
STATISTICS_HISTOBINFUNCTION=direct
STATISTICS_HISTOBINVALUES=0|2|0|0|1|0|0|0|0|0|0|1|0|0|1|1|1|0|0|0|0|0|0|0|0|1|0|0|0|0|0|0|0|1|0|1|0|0|0|0|0|0|0|1|0|1|1|2|0|3|2|2|2|1|0|2|1|4|2|0|1|2|4|4|6|5|5|4|8|6|9|10|10|15|13|16|16|26|28|27|40|59|61|89|92|137|168|204|290|393|572|829|1173|1806|3125|5559|11539|28512|91414|1060454|77439015|70108352|96509686|125053573|130820504|115150567|95493052|78671339|65296430|55341618|47481196|42262460|38494999|35586419|32892894|31082809|29621881|28408820|27237724|26837539|26606815|26419403|26425775|26570555|26631752|26765741|26806222|27075306|27262326|27334258|27217607|26959368|26868351|26552239|26031752|25536139|25098673|24536906|23778935|22906038|22402739|21675378|20426235|19649423|18663494|17726125|16824133|15848828|14817940|13812154|12874493|11953678|11100549|10304583|9504907|8800184|8107143|7520489|6928018|6399172|5877157|5399708|4988459|4603288|4260451|3906963|3594063|3280160|2986086|2730713|2487185|2256793|2042280|1841324|1654140|1477325|1333072|1190069|1068452|956574|857144|765540|682514|609036|547158|481575|422628|366204|310048|258568|211083|169432|133824|106212|76072|50699|34466|23622|17366|12829|7946|3199|1993|1365|953|637|501|356|226|166|150|93|87|67|62|42|35|32|18|23|18|14|19|10|11|4|4|6|12|5|7|4|1|3|1|3|3|1|3|3|0|2|1|0|3|0|2|0|1|1|0|0|2|1|0|8|
STATISTICS_HISTOMAX=255
STATISTICS_HISTOMIN=0
STATISTICS_HISTONUMBINS=256
STATISTICS_MAXIMUM=255.0
STATISTICS_MEAN=119.58710894910986
STATISTICS_MEDIAN=113
STATISTICS_MINIMUM=1.0
STATISTICS_MODE=104
STATISTICS_SKIPFACTORX=1
STATISTICS_SKIPFACTORY=1
STATISTICS_STDDEV=17.89533291249844
Band 3 Block=256x256 Type=Byte, ColorInterp=Blue
Min=1.000 Max=255.000
Minimum=1.000, Maximum=255.000, Mean=150.084, StdDev=15.284
NoData Value=0
Overviews: 15797x21273, 7899x10637, 3950x5319, 1975x2660, 988x1330, 494x665,
247x333, 124x167
Metadata:
PIXEL_SCALING=GAIN:0.01 OFFSET:-1.0 UNITS:fraction USAGE:val=DN*gain+offset
NULLVAL_DN:0.0 NULLVAL_UNITS:-1.0
STATISTICS_EXCLUDEDVALUES=0.0
STATISTICS_HISTOBINFUNCTION=direct
STATISTICS_HISTOBINVALUES=0|1|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|1|0|0|0|1|0|0|1|0|1|0|0|1|0|1|1|0|0|0|0|1|1|1|3|2|3|2|3|3|1|1|2|1|0|4|1|2|6|6|4|7|3|9|5|15|4|9|9|11|12|17|25|29|20|21|46|35|68|63|99|92|121|106|169|233|292|346|493|644|850|1225|1591|2408|3715|6292|11314|24495|66560|229745|1156105|6611841|2352507|2101413|2110019|2226785|2397498|2602481|2835443|3102177|3399248|3731465|4088534|4479218|4883414|5307784|5761738|6246683|6775932|7316127|7887052|8468692|9081201|9786920|10553782|11270422|12031709|12898273|13859582|14767153|15701752|16891194|18279854|19791732|21255895|22729535|24258150|25898775|27698944|29627151|31744134|34080610|36570520|39136228|41733989|44647012|47573899|50448156|53389766|56145976|58665409|61293588|63862904|66018245|67447781|68335950|68808077|68425394|67255838|65354003|62725597|59324382|55661389|51587716|46960779|42381569|38034056|33740956|29613136|25789074|22337352|19228499|16438378|14066203|11950363|10115376|8554401|7270125|6197052|5252879|4483531|3847223|3316462|2863433|2500288|2187282|1939490|1751018|1604953|1484510|1376607|1287668|1217342|1170401|1131765|1097554|1041126|1019755|1026754|1076964|1336964|3657891|507854|98590|25323|8072|3275|1593|1002|687|486|316|274|211|168|131|90|94|81|59|46|37|34|28|25|26|24|12|11|16|9|9|3|7|6|11|4|3|3|6|3|5|1|4|7|6|3|2|0|0|1|1|1|0|1|1|16|
STATISTICS_HISTOMAX=255
STATISTICS_HISTOMIN=0
STATISTICS_HISTONUMBINS=256
STATISTICS_MAXIMUM=255.0
STATISTICS_MEAN=150.08418475089576
STATISTICS_MEDIAN=152
STATISTICS_MINIMUM=1.0
STATISTICS_MODE=155
STATISTICS_SKIPFACTORX=1
STATISTICS_SKIPFACTORY=1
STATISTICS_STDDEV=15.284313311004041
________________________________
From: Daniele Romagnoli <[email protected]>
Sent: Wednesday, 25 September 2019 5:12 PM
To: Andrew Cleland <[email protected]>
Cc: [email protected]
<[email protected]>
Subject: Re: [Geoserver-users] ImageMosaic GrayChannel Styling
Hi Andrew,
can you share some details about your dataset?
A gdalinfo command run on the configured file can provide some info on it
(datatype, bands, ...)
Please, let us know.
Regards,
Daniele
On Wed, Sep 25, 2019 at 5:06 AM Andrew Cleland
<[email protected]<mailto:[email protected]>> wrote:
Hi all,
I'm migrating some layers from Geoserver 2.9.3 to 2.15.1. A Style for an
ImageMosaic layer is behaving unexpectedly on the new version of Geoserver.
The SLD is here: https://pastebin.com/DKyZhuZU
When this style is applied to a 3 band ImageMosaic, it shows up as completely
black. I've tried changing the Input Transparency Color and Output Transparency
Color in the Coverage Parameters options, which worked to fix other layers, but
did not help in this case.
I found some documentation about GrayChannel
here<https://docs.geoserver.org/stable/en/user/styling/sld/reference/rastersymbolizer.html#channelselection>,
which suggests that this should work. It works on Geoserver 2.9.3. Have any
changes been made since then which could affect how GrayChannel styling is
applied?
Kind regards,
Andrew
_______________________________________________
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
[email protected]<mailto:[email protected]>
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users