Hi Simone,

our data store as blob files in an oracle database.
To make it works with the ImageMosaicJDBC plugin i create db views with the 
needed structure, as described in the geoserver user manual.
I don't use another tools like gdal or something like this to serve the data.

When we started working with the jpeg2000 data, we were sure that we need a 
driver.
But after i create a test layer and the wms serve the jpeg2000 files with 
acceptable performance without a plugin, we see  no reason to install once.
We were amazed that it works without an jpeg2000 driver, but it works.


In your opinion, a jpeg2000 driver is necessary, right?
Can you give a recommendation for a jpeg2000 driver/plugin?


Thanks

Best regards
Sebastian


Von: Simone Giannecchini [mailto:simone.giannecch...@geo-solutions.it]
Gesendet: Freitag, 23. Februar 2018 11:05
An: Janitzek, Sebastian (LDBV)
Cc: Simone Giannecchini; geoserver-users
Betreff: Re: [Geoserver-users] WMS does not deliver jpeg 2000 data since update 
to geoserver 2.12.0 using the ImageMosaicJDBC Plugin

Dear Sebastian,
I don't see how you could serve JPEG2000 data without using a JPEG2000 driver.

I am not too familiar with the ImageMosaicJDBC plugin, but can y ou clarify on 
how you preprocessed and ingested the data?


Regards,
Simone Giannecchini
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==
Ing. Simone Giannecchini
@simogeo
Founder/Director

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

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, Feb 23, 2018 at 8:39 AM, 
<sebastian.janit...@ldbv.bayern.de<mailto:sebastian.janit...@ldbv.bayern.de>> 
wrote:
Hi Simone,

thanks for taking time.

I don’t use any additionally jpeg 2000 driver or plugin.

I use for the test a fresh geoserver 2.12.0 warfile with the ImageMosaicJDBC 
plugin, nothing else.
For the "dummy" geoserver  i take the geoserver 2.11.0 warfile without any 
plugins, both from the geoserver.org<http://geoserver.org> download section.
As soon as I stop the "dummy" geoserver, the wms doesn't deliver the jpeg 2000 
files.
I think so too, some libs are missing in the 2.12.0 version.


Regards
Sebastian


Von: Simone Giannecchini 
[mailto:simone.giannecch...@geo-solutions.it]<mailto:[mailto:simone.giannecch...@geo-solutions.it]>
Gesendet: Donnerstag, 22. Februar 2018 16:07
An: Janitzek, Sebastian (LDBV)
Cc: geoserver-users
Betreff: Re: [Geoserver-users] WMS does not deliver jpeg 2000 data since update 
to geoserver 2.12.0 using the ImageMosaicJDBC Plugin

Dear Sebastian,
I don't see anything obviously wrong, we might need to investigate deeper.

One quick, is what driver/plugin do you use for JPEG2000?
That fact things work when the two GeoServer's are deployed make me wonder if 
this is a problem with some libs missing in the standard deploy of 2.12.


Regards,
Simone Giannecchini
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==
Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via di Montramito 
3/A<https://maps.google.com/?q=Via+di+Montramito+3/A+%0D+55054+%C2%A0Massarosa&entry=gmail&source=g>
55054  
Massarosa<https://maps.google.com/?q=Via+di+Montramito+3/A+%0D+55054+%C2%A0Massarosa&entry=gmail&source=g>
 (LU)
Italy
phone: +39 0584 962313<tel:0584%20962313>
fax:     +39 0584 1660272<tel:0584%20166%200272>
mob:   +39  333 8128928<tel:333%20812%208928>

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 Wed, Feb 21, 2018 at 6:36 PM, 
<sebastian.janit...@ldbv.bayern.de<mailto:sebastian.janit...@ldbv.bayern.de>> 
wrote:
Hi,

since upgrade to geoserver 2.12.0 using the ImageMosaicJDBC Plugin our wms 
layer does not provide jpeg 2000 data.

Our raster data store as a pyramid in a oracle database.
We use 4 band tiff files for the low and 4 band jpeg 2000 files for the high 
resolution images.
Before update to geoserver 2.12.0 we have no problems, the switch from the tiff 
to the jpeg 2000 files and back works fine.

Actually we using a workaround. We find out, if there an older version of 
geoserver (2.10 or 2.11)  is running in the same tomcat container, everything 
is fine.
But if we stop the older version of geoserver, our wms layer doesn't deliver 
the jpeg 2000 files ( see the logfile snippets below).
Temporary this workaround is ok for us, but not for the long term.

Any Ideas?


regards,
Sebastian


Tomcat 8.0.41
Java 1.8.0_111
Linux and Windows 7

logfile, only geoserver 2.12.0 is running:

2018-02-21 18:11:10,729 WARN [imagemosaic.jdbc] - Could not read 914277 from 
stream, switch to JAI
2018-02-21 18:11:10,729 WARN [imagemosaic.jdbc] - Could not read 914273 from 
stream, switch to JAI
2018-02-21 18:11:10,763 WARN [imagemosaic.jdbc] - Could not read 914275 from 
stream, switch to JAI
2018-02-21 18:11:10,796 WARN [imagemosaic.jdbc] - Could not read 914279 from 
stream, switch to JAI
2018-02-21 18:11:10,796 WARN [imagemosaic.jdbc] - Could not read 914278 from 
stream, switch to JAI
2018-02-21 18:11:10,828 WARN [imagemosaic.jdbc] - Could not read 914276 from 
stream, switch to JAI
2018-02-21 18:11:10,938 WARN [lite.gridcoverage2d] - Could not reduce the grid 
geometry inside the valid area bounds: ReferencedEnvelope[-36.0 : 54.0, -85.0 : 
85.0]
Grid geometry isGridGeometry2D[GeneralGridEnvelope[0..1464, 0..956], 
PARAM_MT["Affine",
  PARAMETER["num_row", 3],
  PARAMETER["num_col", 3],
  PARAMETER["elt_0_0", 0.3150763362010388],
  PARAMETER["elt_0_2", 32555504.087072816],
  PARAMETER["elt_1_1", -0.31507633619843484],
  PARAMETER["elt_1_2", 5265164.783295045]]]
2018-02-21 18:11:10,938 WARN [lite.gridcoverage2d] - Could not reduce the grid 
geometry inside the valid area bounds: ReferencedEnvelope[-36.0 : 54.0, -85.0 : 
85.0]
Grid geometry isGridGeometry2D[GeneralGridEnvelope[0..1464, 0..956], 
PARAM_MT["Affine",
  PARAMETER["num_row", 3],
  PARAMETER["num_col", 3],
  PARAMETER["elt_0_0", 0.3150763362010388],
  PARAMETER["elt_0_2", 32555504.087072816],
  PARAMETER["elt_1_1", -0.31507633619843484],
  PARAMETER["elt_1_2", 5265164.783295045]]]


logfile, if in the same tomcat container geoserver 2.12.0 and 2.11.0 is running:

2018-02-21 18:13:22,149 WARN [lite.gridcoverage2d] - Could not reduce the grid 
geometry inside the valid area bounds: ReferencedEnvelope[-36.0 : 54.0, -85.0 : 
85.0]
Grid geometry isGridGeometry2D[GeneralGridEnvelope[0..1464, 0..956], 
PARAM_MT["Affine",
  PARAMETER["num_row", 3],
  PARAMETER["num_col", 3],
  PARAMETER["elt_0_0", 0.3150763362010388],
  PARAMETER["elt_0_2", 32555504.087072816],
  PARAMETER["elt_1_1", -0.31507633619843484],
  PARAMETER["elt_1_2", 5265164.783295045]]]
2018-02-21 18:13:22,149 WARN [lite.gridcoverage2d] - Could not reduce the grid 
geometry inside the valid area bounds: ReferencedEnvelope[-36.0 : 54.0, -85.0 : 
85.0]
Grid geometry isGridGeometry2D[GeneralGridEnvelope[0..1464, 0..956], 
PARAM_MT["Affine",
  PARAMETER["num_row", 3],
  PARAMETER["num_col", 3],
  PARAMETER["elt_0_0", 0.3150763362010388],
  PARAMETER["elt_0_2", 32555504.087072816],
  PARAMETER["elt_1_1", -0.31507633619843484],
  PARAMETER["elt_1_2", 5265164.783295045]]]

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


------------------------------------------------------------------------------
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

Reply via email to