Re: [Geoserver-users] Unable to update 'cached' image mosaic image

2016-11-09 Thread Simone Giannecchini
Ciao,
please, read my feedback inline below...

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 Thu, Oct 13, 2016 at 7:16 PM, eting123  wrote:
> Hi all
> I'm using Geoserver 2.9, and I'm wondering about how Geoserver caches the
> image mosaic images.
>
> My set up
> 1. in the Database, I use the field 'dataset_id' to uniquely identify the
> image, and the path to the image is also stored.
> 2. I try to view the image like this
> http://localhost:8082/geoserver/ name>/wms?SERVICE=WMS=1.1.1=GetMap=image%2Fjpeg=true= mosaic layer
> name>=EPSG%3A4326=768=384=-112.05,40.0,-110,41.0_FILTER=%20dataset_id%3D%2713033%27%20
>
> My observation
> 1. First, I added an image. Everything was good, I could view it with no
> problem.
> 2. Next, I updated the image path in the Database to point to a different
> image, for the same dataset_id.
> 3. Then I tried to view the image, but I still got the old image, not the
> new one.
>
> I have tried
> - Turning off Geowebcache
> - Turning off Tile Caching for the Image Mosaic layer

with a request like the one above, geowebcache does not get activated.
There is no TILED=TRUE and also you are not asking a proper tile W and
H

> - Ensuring all the 'caching' properties are set to false in the Image Mosaic
> config files (datastore.properties, indexer.properties,  table>.properties

correct

> - Clearing my browser cache (as I was viewing the image via OpenLayers on a
> web browser)
>

> Restarting Geoserver does work, but we do not want to restart Geoserver.
>

Well, if you have not enabled low-level caching in the ImageMosaic,
restarting GeoServer is not required.
You can turn on verbose logging and GeoServer will tell you which
granules is using so you can better investigate.

Ideally, you should use the GeoServer REST Api for managing granules:
- 
http://docs.geoserver.org/latest/en/user/rest/examples/curl.html#uploading-and-modifying-a-image-mosaic
- http://geoserver.geo-solutions.it/edu/en/multidim/rest/index.html




> Any ideas/comments are welcome.
>
> Thanks
> eting
>
>
>
>
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/Unable-to-update-cached-image-mosaic-image-tp5290626.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
> --
> 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
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel 

[Geoserver-users] Unable to update 'cached' image mosaic image

2016-10-13 Thread eting123
Hi all
I'm using Geoserver 2.9, and I'm wondering about how Geoserver caches the
image mosaic images.

My set up
1. in the Database, I use the field 'dataset_id' to uniquely identify the
image, and the path to the image is also stored. 
2. I try to view the image like this
http://localhost:8082/geoserver//wms?SERVICE=WMS=1.1.1=GetMap=image%2Fjpeg=true==EPSG%3A4326=768=384=-112.05,40.0,-110,41.0_FILTER=%20dataset_id%3D%2713033%27%20

My observation
1. First, I added an image. Everything was good, I could view it with no
problem.
2. Next, I updated the image path in the Database to point to a different
image, for the same dataset_id.
3. Then I tried to view the image, but I still got the old image, not the
new one.

I have tried
- Turning off Geowebcache
- Turning off Tile Caching for the Image Mosaic layer
- Ensuring all the 'caching' properties are set to false in the Image Mosaic
config files (datastore.properties, indexer.properties, .properties
- Clearing my browser cache (as I was viewing the image via OpenLayers on a
web browser)

Restarting Geoserver does work, but we do not want to restart Geoserver.

Any ideas/comments are welcome.

Thanks
eting




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Unable-to-update-cached-image-mosaic-image-tp5290626.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

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