This continues to baffle me. I tried a reindex with:
curl -v -u username:password -XPOST -H "Content-type: text/plain" -d 
"file://mnt/imagery/swathw" 
“http://<myserver>/rest/workspaces/gns/coveragestores/swath_west/external.imagemosaic<http://%3cmyserver%3e/rest/workspaces/gns/coveragestores/swath_west/external.imagemosaic>”

it comes back ok:
upload completely sent off: 25 out of 25 bytes
< HTTP/1.1 202 Accepted
< Date: Thu, 02 May 2019 21:58:57 GMT
< Server: Noelios-Restlet-Engine/1.0..8
< Access-Control-Allow-Origin: *
< Transfer-Encoding: chunked

However, if I view the tif in /mnt/imagery/swathw I see the new data. If I look 
at the corresponding layer in layer preview, I see the old tile (which has a 
giant unmistakable artefact in it, fixed in the new one). Somewhere the old 
data is persisting but where?
I have also tried deleting the layer and republishing but not change.


From: Phil Scadden <[email protected]>
Sent: Thursday, 2 May 2019 17:17
To: GeoServer Mailing List List <[email protected]>
Subject: [Geoserver-users] Image mosaic granule replaced but geoserver showing 
the old data.

Okay, lacking much info on how to replace a granule in an imagemosiac, I tried 
simply replacing the tile with a new one in the imagery directory. Geoserver 
didn’t like that (renderer complained about granule not found), but 
disabling/enabling the data store restored operation. Sort of. It is still 
displaying the old data. I have double checked that the Tif in in the imagery 
directory is the new one. There is no .ovr file. Tile caching is turned off but 
any case, the layer preview with single tile is still displaying the old tif. 
This is baffling. The old tif is gone – where on earth is getting the data 
from??

(and what is the approved way to replace a granule in an image mosaic?).


________________________________________________
Ngā mihi, Nā Phil Scadden
GNS Science Ltd 764 Cumberland St, Private Bag 1930,
Dunedin, New Zealand Ph +64 3 4799663, 027 3463185

“Whāia te iti kahurangi ki te tūohu koe me he maunga teitei”

Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
_______________________________________________
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

Reply via email to