Re: [Geoserver-users] Problem changing bounding box of imagemosaic layer

2016-10-12 Thread Sabine Ohlendorf

Hi Jason,

thanks for your hint. Untfortunately it is not the solution of the problem. I checked the indexer.properties file, caching is already set to false.

Sabine

 

Gesendet: Freitag, 30. September 2016 um 14:44 Uhr
Von: "Jason Newmoyer" <ja...@newmoyergeospatial.com>
An: "P O'Toole" <p.oto...@uwyo.edu>
Cc: "Sabine Ohlendorf" <sabine.ohlend...@gmx.de>, "geoserver-users@lists.sourceforge.net" <geoserver-users@lists.sourceforge.net>
Betreff: Re: [Geoserver-users] Problem changing bounding box of imagemosaic layer


I remember having a similar issue that I worked through. Now I can ingest tiles in real time and see updates immediately to the layer. 
 

I believe it was this setting in the indexer.properties file:

 


# (Optional) A boolean flag to disable/enable caching. When enabled the ImageMosaic will try to pin in memory the entire content of the index to reduce loading/query time. If we have a large granule index and/or we want to ingest in real time new granules (e.g. the index is on a database and we interact directly with it) we need to disable caching, otherwise we can enable it.

Caching=false



 


 
Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
ja...@newmoyergeospatial.com

 



 

On Thu, Sep 29, 2016 at 3:00 PM, P O'Toole <p.oto...@uwyo.edu> wrote:

Sabine –

Hm. I may be wrong, but this sounds like a bug. You might consider filing a report.

If you update the underlying data frequently in the work that you do and can't wait on a bugfix, I would try to determine what else forces an update, such as clearing Geoserver's cache for the layer, etc ( potentially relevant: http://gis.stackexchange.com/questions/77240/ ) . (Obviously, you've found that deleting/recreating the layer does the trick.) From there, you may just automate this, and arrange to clone/delete/remake/empty the cache for the layer using Geoserver's configuration REST API, and have this happen either periodically or whenever you make edits from your database.

- Patrick


-Original Message-
From: Sabine Ohlendorf [mailto:sabine.ohlend...@gmx.de]
Sent: Thursday, September 29, 2016 2:07 AM
To: P O'Toole <p.oto...@uwyo.edu>
Cc: geoserver-users@lists.sourceforge.net
Subject: Aw: Re: Problem changing bounding box of imagemosaic layer

Hi Patrick,
I also tried viewing the data via an OpenLayers web application (not only Geoservers prewiew) and the data is still clipped to the old bounding box.
Sabine



>
> Have you tried viewing the data in QGIS or OpenLayers before and after changing the bounding box? Are data being clipped to the old bounding box still or is it simply Geoserver's preview that's going stale when you chance the bbox?
>
> - Patrick O'Toole
>
--
___
Geoserver-users mailing list
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Problem changing bounding box of imagemosaic layer

2016-09-30 Thread Jason Newmoyer
I remember having a similar issue that I worked through. Now I can ingest
tiles in real time and see updates immediately to the layer.

I believe it was this setting in the indexer.properties file:

# (Optional) A boolean flag to disable/enable caching. When enabled the
ImageMosaic will try to pin in memory the entire content of the index to
reduce loading/query time. If we have a large granule index and/or we want
to ingest in real time new granules (e.g. the index is on a database and we
interact directly with it) we need to disable caching, otherwise we can
enable it.
Caching=false


Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
ja...@newmoyergeospatial.com



On Thu, Sep 29, 2016 at 3:00 PM, P O'Toole  wrote:

> Sabine –
>
> Hm. I may be wrong, but this sounds like a bug. You might consider filing
> a report.
>
> If you update the underlying data frequently in the work that you do and
> can't wait on a bugfix, I would try to determine what else forces an
> update, such as clearing Geoserver's cache for the layer, etc ( potentially
> relevant: http://gis.stackexchange.com/questions/77240/ ) . (Obviously,
> you've found that deleting/recreating the layer does the trick.) From
> there, you may just automate this, and arrange to clone/delete/remake/empty
> the cache for the layer using Geoserver's configuration REST API, and have
> this happen either periodically or whenever you make edits from your
> database.
>
> - Patrick
>
> -Original Message-
> From: Sabine Ohlendorf [mailto:sabine.ohlend...@gmx.de]
> Sent: Thursday, September 29, 2016 2:07 AM
> To: P O'Toole 
> Cc: geoserver-users@lists.sourceforge.net
> Subject: Aw: Re: Problem changing bounding box of imagemosaic layer
>
> Hi Patrick,
> I also tried viewing the data via an OpenLayers web application (not only
> Geoservers prewiew) and the data is still clipped to the old bounding box.
> Sabine
>
>
>
> >
> > Have you tried viewing the data in QGIS or OpenLayers before and after
> changing the bounding box? Are data being clipped to the old bounding box
> still or is it simply Geoserver's preview that's going stale when you
> chance the bbox?
> >
> > - Patrick O'Toole
> >
> 
> --
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Problem changing bounding box of imagemosaic layer

2016-09-29 Thread P O'Toole
> If you update the underlying data frequently in the work that you do and 
> can't wait on a bugfix, I would try to determine what else forces an update, 
> such as clearing Geoserver's cache for the layer, etc ( potentially relevant: 
> http://gis.stackexchange.com/questions/77240/ ) . (Obviously, you've found 
> that deleting/recreating the layer does the trick.) From there, you may just 
> automate this, and arrange to clone/delete/remake/empty the cache for the 
> layer using Geoserver's configuration REST API, and have this happen either 
> periodically or whenever you make edits from your database.

If it looks like it's a caching issue, you may also just set a really short 
cache-lifetime for the resources in question so you're not hitting stale data 
for long.

- Patrick


-Original Message-
From: P O'Toole 
Sent: Thursday, September 29, 2016 1:01 PM
To: Sabine Ohlendorf 
Cc: geoserver-users@lists.sourceforge.net
Subject: RE: Re: Problem changing bounding box of imagemosaic layer

Sabine –

Hm. I may be wrong, but this sounds like a bug. You might consider filing a 
report.

If you update the underlying data frequently in the work that you do and can't 
wait on a bugfix, I would try to determine what else forces an update, such as 
clearing Geoserver's cache for the layer, etc ( potentially relevant: 
http://gis.stackexchange.com/questions/77240/ ) . (Obviously, you've found that 
deleting/recreating the layer does the trick.) From there, you may just 
automate this, and arrange to clone/delete/remake/empty the cache for the layer 
using Geoserver's configuration REST API, and have this happen either 
periodically or whenever you make edits from your database.

- Patrick

-Original Message-
From: Sabine Ohlendorf [mailto:sabine.ohlend...@gmx.de] 
Sent: Thursday, September 29, 2016 2:07 AM
To: P O'Toole 
Cc: geoserver-users@lists.sourceforge.net
Subject: Aw: Re: Problem changing bounding box of imagemosaic layer

Hi Patrick,
I also tried viewing the data via an OpenLayers web application (not only 
Geoservers prewiew) and the data is still clipped to the old bounding box.
Sabine



> 
> Have you tried viewing the data in QGIS or OpenLayers before and after 
> changing the bounding box? Are data being clipped to the old bounding box 
> still or is it simply Geoserver's preview that's going stale when you chance 
> the bbox?
> 
> - Patrick O'Toole
> 
--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Problem changing bounding box of imagemosaic layer

2016-09-29 Thread P O'Toole
Sabine –

Hm. I may be wrong, but this sounds like a bug. You might consider filing a 
report.

If you update the underlying data frequently in the work that you do and can't 
wait on a bugfix, I would try to determine what else forces an update, such as 
clearing Geoserver's cache for the layer, etc ( potentially relevant: 
http://gis.stackexchange.com/questions/77240/ ) . (Obviously, you've found that 
deleting/recreating the layer does the trick.) From there, you may just 
automate this, and arrange to clone/delete/remake/empty the cache for the layer 
using Geoserver's configuration REST API, and have this happen either 
periodically or whenever you make edits from your database.

- Patrick

-Original Message-
From: Sabine Ohlendorf [mailto:sabine.ohlend...@gmx.de] 
Sent: Thursday, September 29, 2016 2:07 AM
To: P O'Toole 
Cc: geoserver-users@lists.sourceforge.net
Subject: Aw: Re: Problem changing bounding box of imagemosaic layer

Hi Patrick,
I also tried viewing the data via an OpenLayers web application (not only 
Geoservers prewiew) and the data is still clipped to the old bounding box.
Sabine



> 
> Have you tried viewing the data in QGIS or OpenLayers before and after 
> changing the bounding box? Are data being clipped to the old bounding box 
> still or is it simply Geoserver's preview that's going stale when you chance 
> the bbox?
> 
> - Patrick O'Toole
> 
--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Problem changing bounding box of imagemosaic layer

2016-09-29 Thread Sabine Ohlendorf
Hi Patrick,
I also tried viewing the data via an OpenLayers web application (not only 
Geoservers prewiew) and the data is still clipped to the old bounding box.
Sabine



> 
> Have you tried viewing the data in QGIS or OpenLayers before and after 
> changing the bounding box? Are data being clipped to the old bounding box 
> still or is it simply Geoserver's preview that's going stale when you chance 
> the bbox?
> 
> - Patrick O'Toole
> 

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


Re: [Geoserver-users] Problem changing bounding box of imagemosaic layer

2016-09-28 Thread P O'Toole
>> I have an imagemosaic layer of a coverage based on postgis database. I use 
>> this layer for timeseries raster data. The boundingbox for the layer was set 
>> to an AOI. I now ingested additional data to this layer which covered a 
>> bigger area which is why I changed the boundingsbox of the layer to a bigger 
>> one. So I enlarged the boundingbox via the administration web interface.
>>But within in the layer preview it still showed the old smaller boundingbox. 
>>When I clicked on "Compute from data" for the boundingbox it changed back to 
>>the smaller boundingbox although the data I added to the layer/coverage 
>>covered a bigger area. So how can I change the boundingbox to a bigger area?
>anyone an idea? Again I faced the problem that I cannot enlarge the bounding 
>box when I add data. Actually I can enlarge the boundingbox via the 
>administration interface but geoserver still only shows the original bounding 
>box.
>I there any other place where the boundingbox is set?

Sabine - 

Have you tried viewing the data in QGIS or OpenLayers before and after changing 
the bounding box? Are data being clipped to the old bounding box still or is it 
simply Geoserver's preview that's going stale when you chance the bbox?

- Patrick O'Toole

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


Re: [Geoserver-users] Problem changing bounding box of imagemosaic layer

2016-09-27 Thread Sabine Ohlendorf
Hi,

anyone an idea? Again I faced the problem that I cannot enlarge the bounding 
box when I add data. Actually I can enlarge the boundingbox via the 
administration interface but geoserver still only shows the original bounding 
box.
I there any other place where the boundingbox is set? 

Regards,
Sabine Ohlendorf



-
Dear mailing list,

I am using a Geoserver Version 2.7.5.
I have an imagemosaic layer of a coverage based on postgis database. I use this 
layer for timeseries raster data. The boundingbox for the layer was set to an 
AOI. I now ingested additional data to this layer which covered a bigger area 
which is why I changed the boundingsbox of the layer to a bigger one. So I 
enlarged the boundingbox via the administration web interface.
But within in the layer preview it still showed the old smaller boundingbox. 
When I clicked on "Compute from data" for the boundingbox it changed back to 
the smaller boundingbox although the data I added to the layer/coverage covered 
a bigger area. So how can I change the boundingbox to a bigger area?

I ended up deleting the coverage and recreate it. But this is probably not the 
intended way doing it. Can anybody help?

Thanks!
Regards,
Sabine 

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