Hi Jody,
I am a bit confused by your answer. How is the issue connected to geoserver? The problem with disposing the reader inside uDig on styling pages is, that it gets
cached as resolvable from IGeoResource (if I remember correctly). I haven’t seen any possibility yet to flush an entry of this cache or the whole cache. Is there? If not, the service has no chance to get asked for a new reader… What would you suggest (I see
the need for disposing the reader at those various places, but I don’t see a solution for refreshing the reader by now)?
Regards,
Hendrik
Morning Peilke:
That is interesting, the use of reader dispose() may be a workflow miss understanding on my part. If the geoserver catalog is holding onto the reader it should not call dispose() until after it is done use; and should recreate it as needed.
I think we should best consder that an archive :(
On 8 June 2015 at 07:38, Peilke, Hendrik <hendrik.peilke@xxxxxxxxx> wrote:
Hi,
by trying to give native support for imagemosaic to uDig, I stumbled over some places where AbstractGridCoverage2DReader.dispose() is called from inside uDig
code (styling pages, getMetric implementation of AbstractRasterServiceInfo). We worked around the getMetric by overwriting, but this is not a solution for uDig. All other raster datastores seem to have no problem with disposing and then reading again (which
is interesting and documented? Needed?), but the imagemosaic plugin from geotools has, because it’s dropping its catalog and rastermanager and throwing an exception on a next read. Would the solution be to make the geotools plugin reinitialize on another read
or think of alternatives on calling dispose inside udig?
Btw. does uDig have an active bugtracking system (bugzilla link from locationtech page?), I would like to report some errors, so that fixes we’ve made can be
better tracked or is this too much work for the project members?
Regards,
Hendrik
IBYKUS AG für Informationstechnologie, Erfurt / HRB 108616 - D-Jena / Vorstand: Helmut C. Henkel, Dr. Lutz Richter
Vorsitzender des Aufsichtsrates: Dr. Wolfgang Habel
_______________________________________________
udig-dev mailing list
udig-dev@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://locationtech.org/mailman/listinfo/udig-dev
IBYKUS AG für Informationstechnologie, Erfurt / HRB 108616 - D-Jena / Vorstand: Helmut C. Henkel, Dr. Lutz Richter
Vorsitzender des Aufsichtsrates: Dr. Wolfgang Habel
|