On 27/01/14 17:51, Andrea Aime wrote:
> What's stopping you from overriding getOriginalEnvelope(String 
> coverageName)?
> The reason why getOriginalEnvelope() (without the coverage name) was
> kept was to avoid breaking all of the existing client code just for 
> the sake
> of NetCDF.
> If your implemetation does not have a shared original envelope you just
> throw an unsupported operation exception for the moment, and find out
> what works and what does not on top of it (there might still be code 
> around
> that does not know about coverage names).
> But... isn't this what we have now?
>
No, variables like 'crs' and 'originalEnvelope' are being used by the 
code. If they are left empty, you will get exceptions thrown when you 
try to load the data in geoserver.

My suggestion is to replace the calls to these variables in the code by 
calls to the functions, which are indeed already in place.


Regards
Niels

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to