[udig-devel] How to pick up Coverage from Layer
Jesse Eichar
jeichar at refractions.net
Fri Aug 3 10:41:19 PDT 2007
I recently checked and I thought it could. Look at
AbstractRasterGeoResource and AbstractRasterService.
Jesse
On Aug 3, 2007, at 10:05 AM, Jan Jezek wrote:
> Hi,
>
> Thanks for reply, but the Resource can't resolve
> GridCoverageReader. I'll try to dig deeper
> into the code.
> Any other hints where I should search etc.. will be more than useful.
>
> Jan
> ______________________________________________________________
>> Od: jeichar at refractions.net
>> Komu: User-friendly Desktop Internet GIS <udig-
>> devel at lists.refractions.net>
>> Datum: 03.08.2007 18:21
>> Předmět: Re: [udig-devel] How to pick up Coverage from Layer
>>
>> Hi,
>>
>> I'd recommend resolving to a GridCoverageReader. The coverage
>> returned
> is resized to reduce loading times and memory. It isn't well
> documented
> and I don't know the API well enough yet to do a better job.
>>
>> Jesse
>> On Aug 3, 2007, at 7:25 AM, Jan Jezek wrote:
>>
>>> Hi all,
>>>
>>> I'm working on GSoC project (The 'transofrmations' one) and I'm >
> having following problem:
>>>
>>> I would like to pick up the GridCoverage2D from layer containing >
> image file (.tif). My
>>> approach is simmilar as with Feature layer. Code looks like this:
>>>
>>> GridCoverage2D coverage = (GridCoverage2D)sourceLayer.getResource >
> (Coverage.class, null);
>>>
>>> It works, but it looks that the coverage is resized by the >
> transformation included in .wld file.
>>> Please does anybody know if there is a way how to get >
>>> GridCoverage2D
> in original?
>>>
>>> Sorry if this has been already discussed.
>>> I' working against uDig trunk (btw. - the raster rendering >
> performance rise pretty nice there and
>>> also old Ubuntu/SWT bugs are gone. Cool :-) ).
>>>
>>> Thanks for your help,
>>>
>>> Bests,
>>> Jan.
>>>
>>> _______________________________________________
>>> User-friendly Desktop Internet GIS (uDig)
>>> http://udig.refractions.net
>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>
>> _______________________________________________
>> User-friendly Desktop Internet GIS (uDig)
>> http://udig.refractions.net
>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
More information about the udig-devel
mailing list