[Geoserver-users] Reload Catalog required to refresh ImageMosaic layer

I am dynamically updating a PostGIS indexed ImageMosaic store by copying files into place and updating the db table. However, newly loaded data does not automatically show up in WMS requests until I restart the server or do a catalog reload from the server status page.

According to my understanding of how ImageMosaic works, I don’t even understand how this is possible. Is the tile index being cached somewhere? And if so, why?

···

Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
jason@anonymised.com64…

Ciao Jason,
the only reason I can think of ( I'd need to check the code) is that
the new data falls outside the existing BBOX which might be cached in
GeoServer (not sure I'd need to check).

If that is the case you can recompute the bbox and do a put via rest
interface to update.

If that is not the case, can you clarify a bi tmore what you mean by
"does not automatically show up in WMS requests"?

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 Mon, Apr 18, 2016 at 2:59 PM, Jason Newmoyer
<jason@anonymised.com> wrote:

I am dynamically updating a PostGIS indexed ImageMosaic store by copying
files into place and updating the db table. However, newly loaded data does
not automatically show up in WMS requests until I restart the server or do a
catalog reload from the server status page.

According to my understanding of how ImageMosaic works, I don't even
understand how this is possible. Is the tile index being cached somewhere?
And if so, why?

Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
jason@anonymised.com

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers
of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Simone,

I found the edge of the data where the imagery data does not immediately show in the openlayers layer preview. It was right on the boundary of the layer bounds. So, I updated the bounds, widening it just a smidgen. I requested a new image and no change. I then went to Server Status and clicked the Clear Resources button this time. This time requesting a new image showed the new data.

The way I can tell where the new imagery data should be is I am overlaying a wireframe using the tile index as an actual layer.

So, it appears to me that the layer bounds is the cause, but that it is also being cached. And that cache may not be properly cleared when the layer definition is updated.

Thanks,
Jason

···

On Mon, Apr 18, 2016 at 1:23 PM, Simone Giannecchini <simone.giannecchini@anonymised.com> wrote:

Ciao Jason,
the only reason I can think of ( I’d need to check the code) is that
the new data falls outside the existing BBOX which might be cached in
GeoServer (not sure I’d need to check).

If that is the case you can recompute the bbox and do a put via rest
interface to update.

If that is not the case, can you clarify a bi tmore what you mean by
“does not automatically show up in WMS requests”?

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 Mon, Apr 18, 2016 at 2:59 PM, Jason Newmoyer
<jason@anonymised.com> wrote:

I am dynamically updating a PostGIS indexed ImageMosaic store by copying
files into place and updating the db table. However, newly loaded data does
not automatically show up in WMS requests until I restart the server or do a
catalog reload from the server status page.

According to my understanding of how ImageMosaic works, I don’t even
understand how this is possible. Is the tile index being cached somewhere?
And if so, why?

Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
jason@anonymised.com


Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers
of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z


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

Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
jason@anonymised.com

Hi Jason,
did you try using anything other than the openlayers preview?
As far as I know, the current preview just does not allow you to pan out
of the configured bounding box, so you might be seeing a limit in the WMS
service that’s actually baked in the preview itself.

Could you try with some other client?

Cheers
Andrea

···

On Mon, Apr 18, 2016 at 9:53 PM, Jason Newmoyer <jason@anonymised.com> wrote:

Simone,

I found the edge of the data where the imagery data does not immediately show in the openlayers layer preview. It was right on the boundary of the layer bounds. So, I updated the bounds, widening it just a smidgen. I requested a new image and no change. I then went to Server Status and clicked the Clear Resources button this time. This time requesting a new image showed the new data.

The way I can tell where the new imagery data should be is I am overlaying a wireframe using the tile index as an actual layer.

So, it appears to me that the layer bounds is the cause, but that it is also being cached. And that cache may not be properly cleared when the layer definition is updated.

Thanks,
Jason


Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z


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

Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
jason@anonymised.com

On Mon, Apr 18, 2016 at 1:23 PM, Simone Giannecchini <simone.giannecchini@anonymised.com…1107…> wrote:

Ciao Jason,
the only reason I can think of ( I’d need to check the code) is that
the new data falls outside the existing BBOX which might be cached in
GeoServer (not sure I’d need to check).

If that is the case you can recompute the bbox and do a put via rest
interface to update.

If that is not the case, can you clarify a bi tmore what you mean by
“does not automatically show up in WMS requests”?

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 Mon, Apr 18, 2016 at 2:59 PM, Jason Newmoyer
<jason@anonymised.com> wrote:

I am dynamically updating a PostGIS indexed ImageMosaic store by copying
files into place and updating the db table. However, newly loaded data does
not automatically show up in WMS requests until I restart the server or do a
catalog reload from the server status page.

According to my understanding of how ImageMosaic works, I don’t even
understand how this is possible. Is the tile index being cached somewhere?
And if so, why?

Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
jason@anonymised.com


Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers
of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z


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

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

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.


Ciao Andrea,
the problem may also be with a client like QGIS that works by the
GetCapabilities where the cached BBOX is reported.

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 Wed, Apr 20, 2016 at 9:31 AM, Andrea Aime
<andrea.aime@anonymised.com> wrote:

Hi Jason,
did you try using anything other than the openlayers preview?
As far as I know, the current preview just does not allow you to pan out
of the configured bounding box, so you might be seeing a limit in the WMS
service that's actually baked in the preview itself.

Could you try with some other client?

Cheers
Andrea

On Mon, Apr 18, 2016 at 9:53 PM, Jason Newmoyer
<jason@anonymised.com> wrote:

Simone,

I found the edge of the data where the imagery data does not immediately
show in the openlayers layer preview. It was right on the boundary of the
layer bounds. So, I updated the bounds, widening it just a smidgen. I
requested a new image and no change. I then went to Server Status and
clicked the Clear Resources button this time. This time requesting a new
image showed the new data.

The way I can tell where the new imagery data should be is I am overlaying
a wireframe using the tile index as an actual layer.

So, it appears to me that the layer bounds is the cause, but that it is
also being cached. And that cache may not be properly cleared when the layer
definition is updated.

Thanks,
Jason

Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
jason@anonymised.com

On Mon, Apr 18, 2016 at 1:23 PM, Simone Giannecchini
<simone.giannecchini@anonymised.com> wrote:

Ciao Jason,
the only reason I can think of ( I'd need to check the code) is that
the new data falls outside the existing BBOX which might be cached in
GeoServer (not sure I'd need to check).

If that is the case you can recompute the bbox and do a put via rest
interface to update.

If that is not the case, can you clarify a bi tmore what you mean by
"does not automatically show up in WMS requests"?

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 Mon, Apr 18, 2016 at 2:59 PM, Jason Newmoyer
<jason@anonymised.com> wrote:
> I am dynamically updating a PostGIS indexed ImageMosaic store by
> copying
> files into place and updating the db table. However, newly loaded data
> does
> not automatically show up in WMS requests until I restart the server or
> do a
> catalog reload from the server status page.
>
> According to my understanding of how ImageMosaic works, I don't even
> understand how this is possible. Is the tile index being cached
> somewhere?
> And if so, why?
>
>
> Jason Newmoyer
> Newmoyer Geospatial Solutions
> 843.606.0424
> jason@anonymised.com
>
>
>
>
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers
> of
> your business applications. It resolves application problems quickly
> and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications
Manager
Applications Manager provides deep performance insights into multiple
tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--

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

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, Apr 20, 2016 at 9:47 AM, Simone Giannecchini <
simone.giannecchini@anonymised.com> wrote:

Ciao Andrea,
the problem may also be with a client like QGIS that works by the
GetCapabilities where the cached BBOX is reported.

Indeed it can... but from memory, those clients normally ask whatever area
they are looking at, without
intersecting it with the bbox used in the caps, which is used instead for
"zoom to layer".

That said, it would indeed be nice to have the ability to mark a layer to
have a dynamic bbox, computed
on the fly each time... of course, that would also make caps generation
slower, but if one for any reason
cannot or does not want update the bbox using the rest api when data
changes, it's a way.
On the opposite end, it would be nice to be able to configure/cache time
and elevation instead, which are
always computed on the fly instead.
That is, allow the admin to choose between static and dynamic on a as
needed basis.
Both good subjects for sponsoring :-p

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

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

-------------------------------------------------------

I tried updating the bbox parameter in the URL of the OL preview, but it did not seem to restrict my ability to pan outside of that area. I will try in another client when I get back to that spot in my testing.

Thanks.

···

On Wed, Apr 20, 2016 at 3:31 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

Hi Jason,
did you try using anything other than the openlayers preview?
As far as I know, the current preview just does not allow you to pan out
of the configured bounding box, so you might be seeing a limit in the WMS
service that’s actually baked in the preview itself.

Could you try with some other client?

Cheers
Andrea

Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
jason@anonymised.com

On Mon, Apr 18, 2016 at 9:53 PM, Jason Newmoyer <jason@anonymised.com> wrote:

Simone,

I found the edge of the data where the imagery data does not immediately show in the openlayers layer preview. It was right on the boundary of the layer bounds. So, I updated the bounds, widening it just a smidgen. I requested a new image and no change. I then went to Server Status and clicked the Clear Resources button this time. This time requesting a new image showed the new data.

The way I can tell where the new imagery data should be is I am overlaying a wireframe using the tile index as an actual layer.

So, it appears to me that the layer bounds is the cause, but that it is also being cached. And that cache may not be properly cleared when the layer definition is updated.

Thanks,
Jason


Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z


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

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

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.


Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
jason@anonymised.com7364…

On Mon, Apr 18, 2016 at 1:23 PM, Simone Giannecchini <simone.giannecchini@anonymised.com> wrote:

Ciao Jason,
the only reason I can think of ( I’d need to check the code) is that
the new data falls outside the existing BBOX which might be cached in
GeoServer (not sure I’d need to check).

If that is the case you can recompute the bbox and do a put via rest
interface to update.

If that is not the case, can you clarify a bi tmore what you mean by
“does not automatically show up in WMS requests”?

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 Mon, Apr 18, 2016 at 2:59 PM, Jason Newmoyer
<jason@anonymised.com> wrote:

I am dynamically updating a PostGIS indexed ImageMosaic store by copying
files into place and updating the db table. However, newly loaded data does
not automatically show up in WMS requests until I restart the server or do a
catalog reload from the server status page.

According to my understanding of how ImageMosaic works, I don’t even
understand how this is possible. Is the tile index being cached somewhere?
And if so, why?

Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
jason@anonymised.com


Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers
of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z


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

Dynamic bbox might be a nice feature for data layers that update frequently.

In this case, I’m fine with making a REST call to expand the bbox. I’m just not sure if that actually clears the cached value properly. I will continue to test this.

···

On Wed, Apr 20, 2016 at 4:16 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
jason@anonymised.com

On Wed, Apr 20, 2016 at 9:47 AM, Simone Giannecchini <simone.giannecchini@anonymised.com> wrote:

Ciao Andrea,
the problem may also be with a client like QGIS that works by the
GetCapabilities where the cached BBOX is reported.

Indeed it can… but from memory, those clients normally ask whatever area they are looking at, without
intersecting it with the bbox used in the caps, which is used instead for “zoom to layer”.

That said, it would indeed be nice to have the ability to mark a layer to have a dynamic bbox, computed
on the fly each time… of course, that would also make caps generation slower, but if one for any reason
cannot or does not want update the bbox using the rest api when data changes, it’s a way.
On the opposite end, it would be nice to be able to configure/cache time and elevation instead, which are
always computed on the fly instead.
That is, allow the admin to choose between static and dynamic on a as needed basis.
Both good subjects for sponsoring :-p

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

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.