[Geoserver-users] image mosaic plugin bad working

Hi all,

I have some problem with my geoserver installation.

I have installed geoserver 2.6.1 on an Ubuntu server x64 14.04 LTS.
I have installed also gdal with ecw support from ECW SDK 5.1.

I create an image mosaic from a folder with some ecw images.
Geoserver create the shapefile index and the properties file correctly, but in the layer preview i see only blank images.

I have tried to change some attributes (tile size, output format, wms version, …) but the result not change.

I see that the properties file has attributes different from those on geoserver documentation. This is my properties file:

#-Automagically created from GeoTools-
#Thu Jan 08 15:49:51 CET 2015
Levels=0.5,0.5
Heterogeneous=false
AbsolutePath=false
Name=Napoli
TypeName=Napoli
Caching=false
ExpandToRGB=false
LocationAttribute=location
SuggestedSPI=it.geosolutions.imageio.plugins.ecw.ECWImageReaderSpi
CheckAuxiliaryMetadata=false
LevelsNum=1

Anyone has some ideas? Thanks a lot.

Giuseppe

Hi all,

add other information. I have installed native JAI but the behaviour is the same.
This is the log on a getMap request:

2015-01-09 12:05:04,122 INFO [geoserver.wms] -
Request: getMap
Width = 1512
Height = 603
Palette = null
Tiled = false
SRS = EPSG:26592
FeatureVersion = null
Styles = [StyleImpl[ name=raster]]
Layers = [org.geoserver.wms.MapLayerInfo@anonymised.com]
MaxFeatures = null
Crs = PROJCS[“Monte Mario (Rome) / Italy zone 2”,
GEOGCS[“Monte Mario (Rome)”,
DATUM[“Monte Mario (Rome)”,
SPHEROID[“International 1924”, 6378388.0, 297.0, AUTHORITY[“EPSG”,“7022”]],
AUTHORITY[“EPSG”,“6806”]],
PRIMEM[“Rome”, 12.452333333333332, AUTHORITY[“EPSG”,“8906”]],
UNIT[“degree”, 0.017453292519943295],
AXIS[“Geodetic longitude”, EAST],
AXIS[“Geodetic latitude”, NORTH],
AUTHORITY[“EPSG”,“4806”]],
PROJECTION[“Transverse_Mercator”, AUTHORITY[“EPSG”,“9807”]],
PARAMETER[“central_meridian”, 15.0],
PARAMETER[“latitude_of_origin”, 0.0],
PARAMETER[“scale_factor”, 0.9996],
PARAMETER[“false_easting”, 2520000.0],
PARAMETER[“false_northing”, 0.0],
UNIT[“m”, 1.0],
AXIS[“Easting”, EAST],
AXIS[“Northing”, NORTH],
AUTHORITY[“EPSG”,“26592”]]
Bbox = SRSEnvelope[2456504.6459961 : 2463685.3540039, 4512498.1326294 : 4515361.8673706]
RemoteOwsType = null
RemoteOwsURL = null
Env = {}
FormatOptions = {}
Angle = 0.0
CQLFilter = null
Elevation =
FeatureId = null
StartIndex = null
ViewParams = null
BgColor = java.awt.Color[r=255,g=255,b=255]
Transparent = true
StyleFormat = sld
SldBody = null
ValidateSchema = false
Sld = null
StyleUrl = null
TilesOrigin = null
Exceptions = SE_XML
StyleBody = null
SldVersion = null
StyleVersion = null
Format = image/png
Buffer = 0
Time =
Filter = null
Filters = null
Get = true
RawKvp = {TRANSPARENT=TRUE, BBOX=2456504.6459961,4512498.1326294,2463685.3540039,4515361.8673706, VERSION=1.1.1, FORMAT=image/png, SERVICE=WMS, HEIGHT=603, LAYERS=topp:Napoli, REQUEST=GetMap, STYLES=, SRS=EPSG:26592, WIDTH=1512}
BaseUrl = http://192.168.11.16:8080/geoserver/
RequestCharset = UTF-8
Version = 1.1.1
Request = GetMap
2015-01-09 12:05:04,123 DEBUG [wms.map] - Writing png image …
2015-01-09 12:05:04,135 DEBUG [geotools.styling] - number of fts set 1
2015-01-09 12:05:04,247 DEBUG [wms.map] - Writing png image … done!
2015-01-09 12:05:04,247 DEBUG [geoserver.filters] - Not compressing output for mimetype: image/png
2015-01-09 12:05:04,247 DEBUG [filter.GeoServerSecurityContextPersistenceFilter$1] - SecurityContextHolder now cleared, as request processing completed

I noticed that in mosaic properties file missing envelope 2D params. It’s normal? Anyone has some ideas?

Thanks again.

Giuseppe

···

2015-01-08 17:23 GMT+01:00 Giuseppe Falcone <falcone.giuseppe@anonymised.com>:

Hi all,

I have some problem with my geoserver installation.

I have installed geoserver 2.6.1 on an Ubuntu server x64 14.04 LTS.
I have installed also gdal with ecw support from ECW SDK 5.1.

I create an image mosaic from a folder with some ecw images.
Geoserver create the shapefile index and the properties file correctly, but in the layer preview i see only blank images.

I have tried to change some attributes (tile size, output format, wms version, …) but the result not change.

I see that the properties file has attributes different from those on geoserver documentation. This is my properties file:

#-Automagically created from GeoTools-
#Thu Jan 08 15:49:51 CET 2015
Levels=0.5,0.5
Heterogeneous=false
AbsolutePath=false
Name=Napoli
TypeName=Napoli
Caching=false
ExpandToRGB=false
LocationAttribute=location
SuggestedSPI=it.geosolutions.imageio.plugins.ecw.ECWImageReaderSpi
CheckAuxiliaryMetadata=false
LevelsNum=1

Anyone has some ideas? Thanks a lot.

Giuseppe

Hi Giuseppe,

We didn’t try with the latest ECW SDK yet.

Do you have any chance to setup an ECW CoverageStore (instead of the ImageMosaic one) on top of a single ECW file and check it on the layer preview?

This will allow us to understand if is it a problem at ImageMosaic side or if the underlying reader which doesn’t work, in order to isolate the issue.

Please, let us know.

Best Regards,

Daniele

···

On Fri, Jan 9, 2015 at 12:10 PM, Giuseppe Falcone <falcone.giuseppe@anonymised.com> wrote:

Hi all,

add other information. I have installed native JAI but the behaviour is the same.
This is the log on a getMap request:

2015-01-09 12:05:04,122 INFO [geoserver.wms] -
Request: getMap
Width = 1512
Height = 603
Palette = null
Tiled = false
SRS = EPSG:26592
FeatureVersion = null
Styles = [StyleImpl[ name=raster]]
Layers = [org.geoserver.wms.MapLayerInfo@anonymised.com]
MaxFeatures = null
Crs = PROJCS[“Monte Mario (Rome) / Italy zone 2”,
GEOGCS[“Monte Mario (Rome)”,
DATUM[“Monte Mario (Rome)”,
SPHEROID[“International 1924”, 6378388.0, 297.0, AUTHORITY[“EPSG”,“7022”]],
AUTHORITY[“EPSG”,“6806”]],
PRIMEM[“Rome”, 12.452333333333332, AUTHORITY[“EPSG”,“8906”]],
UNIT[“degree”, 0.017453292519943295],
AXIS[“Geodetic longitude”, EAST],
AXIS[“Geodetic latitude”, NORTH],
AUTHORITY[“EPSG”,“4806”]],
PROJECTION[“Transverse_Mercator”, AUTHORITY[“EPSG”,“9807”]],
PARAMETER[“central_meridian”, 15.0],
PARAMETER[“latitude_of_origin”, 0.0],
PARAMETER[“scale_factor”, 0.9996],
PARAMETER[“false_easting”, 2520000.0],
PARAMETER[“false_northing”, 0.0],
UNIT[“m”, 1.0],
AXIS[“Easting”, EAST],
AXIS[“Northing”, NORTH],
AUTHORITY[“EPSG”,“26592”]]
Bbox = SRSEnvelope[2456504.6459961 : 2463685.3540039, 4512498.1326294 : 4515361.8673706]
RemoteOwsType = null
RemoteOwsURL = null
Env = {}
FormatOptions = {}
Angle = 0.0
CQLFilter = null
Elevation =
FeatureId = null
StartIndex = null
ViewParams = null
BgColor = java.awt.Color[r=255,g=255,b=255]
Transparent = true
StyleFormat = sld
SldBody = null
ValidateSchema = false
Sld = null
StyleUrl = null
TilesOrigin = null
Exceptions = SE_XML
StyleBody = null
SldVersion = null
StyleVersion = null
Format = image/png
Buffer = 0
Time =
Filter = null
Filters = null
Get = true
RawKvp = {TRANSPARENT=TRUE, BBOX=2456504.6459961,4512498.1326294,2463685.3540039,4515361.8673706, VERSION=1.1.1, FORMAT=image/png, SERVICE=WMS, HEIGHT=603, LAYERS=topp:Napoli, REQUEST=GetMap, STYLES=, SRS=EPSG:26592, WIDTH=1512}
BaseUrl = http://192.168.11.16:8080/geoserver/
RequestCharset = UTF-8
Version = 1.1.1
Request = GetMap
2015-01-09 12:05:04,123 DEBUG [wms.map] - Writing png image …
2015-01-09 12:05:04,135 DEBUG [geotools.styling] - number of fts set 1
2015-01-09 12:05:04,247 DEBUG [wms.map] - Writing png image … done!
2015-01-09 12:05:04,247 DEBUG [geoserver.filters] - Not compressing output for mimetype: image/png
2015-01-09 12:05:04,247 DEBUG [filter.GeoServerSecurityContextPersistenceFilter$1] - SecurityContextHolder now cleared, as request processing completed

I noticed that in mosaic properties file missing envelope 2D params. It’s normal? Anyone has some ideas?

Thanks again.

Giuseppe


Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

2015-01-08 17:23 GMT+01:00 Giuseppe Falcone <falcone.giuseppe@anonymised.com>:

Hi all,

I have some problem with my geoserver installation.

I have installed geoserver 2.6.1 on an Ubuntu server x64 14.04 LTS.
I have installed also gdal with ecw support from ECW SDK 5.1.

I create an image mosaic from a folder with some ecw images.
Geoserver create the shapefile index and the properties file correctly, but in the layer preview i see only blank images.

I have tried to change some attributes (tile size, output format, wms version, …) but the result not change.

I see that the properties file has attributes different from those on geoserver documentation. This is my properties file:

#-Automagically created from GeoTools-
#Thu Jan 08 15:49:51 CET 2015
Levels=0.5,0.5
Heterogeneous=false
AbsolutePath=false
Name=Napoli
TypeName=Napoli
Caching=false
ExpandToRGB=false
LocationAttribute=location
SuggestedSPI=it.geosolutions.imageio.plugins.ecw.ECWImageReaderSpi
CheckAuxiliaryMetadata=false
LevelsNum=1

Anyone has some ideas? Thanks a lot.

Giuseppe

Hi Giuseppe,
please, keep the mailing list CC-ed to all your replies so that other people can eventually provide additional comments on the current topic.

Do you have any chance to share the full geoserver LOG (with logging set to VERBOSE) and a sample ECW replicating the issue (in case the data you are using can be shared)?

Best Regards,
Daniele

···

On Fri, Jan 9, 2015 at 8:18 PM, Giuseppe Falcone <falcone.giuseppe@anonymised.com> wrote:

Hi Daniele,

thanks a lot for the response.
I have tried to create a layer with a single ecw and it’s working in geoserver preview.
The layer created with the image mosaic plugin working if I doing a getMap request; don’t working (blank images) from geoserver preview.

Best regards.

Giuseppe

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

2015-01-09 14:13 GMT+01:00 Daniele Romagnoli <daniele.romagnoli@anonymised.com.1107…>:

Hi Giuseppe,

We didn’t try with the latest ECW SDK yet.

Do you have any chance to setup an ECW CoverageStore (instead of the ImageMosaic one) on top of a single ECW file and check it on the layer preview?

This will allow us to understand if is it a problem at ImageMosaic side or if the underlying reader which doesn’t work, in order to isolate the issue.

Please, let us know.

Best Regards,

Daniele

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

On Fri, Jan 9, 2015 at 12:10 PM, Giuseppe Falcone <falcone.giuseppe@anonymised.com> wrote:

Hi all,

add other information. I have installed native JAI but the behaviour is the same.
This is the log on a getMap request:

2015-01-09 12:05:04,122 INFO [geoserver.wms] -
Request: getMap
Width = 1512
Height = 603
Palette = null
Tiled = false
SRS = EPSG:26592
FeatureVersion = null
Styles = [StyleImpl[ name=raster]]
Layers = [org.geoserver.wms.MapLayerInfo@anonymised.com]
MaxFeatures = null
Crs = PROJCS[“Monte Mario (Rome) / Italy zone 2”,
GEOGCS[“Monte Mario (Rome)”,
DATUM[“Monte Mario (Rome)”,
SPHEROID[“International 1924”, 6378388.0, 297.0, AUTHORITY[“EPSG”,“7022”]],
AUTHORITY[“EPSG”,“6806”]],
PRIMEM[“Rome”, 12.452333333333332, AUTHORITY[“EPSG”,“8906”]],
UNIT[“degree”, 0.017453292519943295],
AXIS[“Geodetic longitude”, EAST],
AXIS[“Geodetic latitude”, NORTH],
AUTHORITY[“EPSG”,“4806”]],
PROJECTION[“Transverse_Mercator”, AUTHORITY[“EPSG”,“9807”]],
PARAMETER[“central_meridian”, 15.0],
PARAMETER[“latitude_of_origin”, 0.0],
PARAMETER[“scale_factor”, 0.9996],
PARAMETER[“false_easting”, 2520000.0],
PARAMETER[“false_northing”, 0.0],
UNIT[“m”, 1.0],
AXIS[“Easting”, EAST],
AXIS[“Northing”, NORTH],
AUTHORITY[“EPSG”,“26592”]]
Bbox = SRSEnvelope[2456504.6459961 : 2463685.3540039, 4512498.1326294 : 4515361.8673706]
RemoteOwsType = null
RemoteOwsURL = null
Env = {}
FormatOptions = {}
Angle = 0.0
CQLFilter = null
Elevation =
FeatureId = null
StartIndex = null
ViewParams = null
BgColor = java.awt.Color[r=255,g=255,b=255]
Transparent = true
StyleFormat = sld
SldBody = null
ValidateSchema = false
Sld = null
StyleUrl = null
TilesOrigin = null
Exceptions = SE_XML
StyleBody = null
SldVersion = null
StyleVersion = null
Format = image/png
Buffer = 0
Time =
Filter = null
Filters = null
Get = true
RawKvp = {TRANSPARENT=TRUE, BBOX=2456504.6459961,4512498.1326294,2463685.3540039,4515361.8673706, VERSION=1.1.1, FORMAT=image/png, SERVICE=WMS, HEIGHT=603, LAYERS=topp:Napoli, REQUEST=GetMap, STYLES=, SRS=EPSG:26592, WIDTH=1512}
BaseUrl = http://192.168.11.16:8080/geoserver/
RequestCharset = UTF-8
Version = 1.1.1
Request = GetMap
2015-01-09 12:05:04,123 DEBUG [wms.map] - Writing png image …
2015-01-09 12:05:04,135 DEBUG [geotools.styling] - number of fts set 1
2015-01-09 12:05:04,247 DEBUG [wms.map] - Writing png image … done!
2015-01-09 12:05:04,247 DEBUG [geoserver.filters] - Not compressing output for mimetype: image/png
2015-01-09 12:05:04,247 DEBUG [filter.GeoServerSecurityContextPersistenceFilter$1] - SecurityContextHolder now cleared, as request processing completed

I noticed that in mosaic properties file missing envelope 2D params. It’s normal? Anyone has some ideas?

Thanks again.

Giuseppe


Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net


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

2015-01-08 17:23 GMT+01:00 Giuseppe Falcone <falcone.giuseppe@anonymised.com>:

Hi all,

I have some problem with my geoserver installation.

I have installed geoserver 2.6.1 on an Ubuntu server x64 14.04 LTS.
I have installed also gdal with ecw support from ECW SDK 5.1.

I create an image mosaic from a folder with some ecw images.
Geoserver create the shapefile index and the properties file correctly, but in the layer preview i see only blank images.

I have tried to change some attributes (tile size, output format, wms version, …) but the result not change.

I see that the properties file has attributes different from those on geoserver documentation. This is my properties file:

#-Automagically created from GeoTools-
#Thu Jan 08 15:49:51 CET 2015
Levels=0.5,0.5
Heterogeneous=false
AbsolutePath=false
Name=Napoli
TypeName=Napoli
Caching=false
ExpandToRGB=false
LocationAttribute=location
SuggestedSPI=it.geosolutions.imageio.plugins.ecw.ECWImageReaderSpi
CheckAuxiliaryMetadata=false
LevelsNum=1

Anyone has some ideas? Thanks a lot.

Giuseppe