so, I think I could fix the problem.
What I do now is a complete reload of the image when getRasterData() is 
called (but not replacing the image4display). This way I get sure that 
always the rasterdata are delivered to Sextante which seemed to be the 
problem.

While testing I noticed that when I load an ascii grid and calculate the 
contours of that grid with sextante [own plugin that accesses the 
sextante function], then the delivered contours are displaced in the 
location (don't fit with the raster anymore). Not sure where this is to 
be attributed to?

But when I calculate contours for KernelDensity raster (tif) that I 
created earlier out of points, then the contours seem to be in the right 
place. So maybe its some referencing info????

Alberto, could you check that?

I hope tomorrows nightly build is fine with all the raster stuff

stefan

Stefan Steiniger wrote:
> Hei Alberto,
> 
> ok.. I have a problem here.
> I needed to revert some changes (dynamic loading etc).
> I am not sure what is going on, but if I do now some calculations I 
> don't get proper reference to the rasters/layerable.
> 
> So sometimes I have no reference and in other instance after the 
> processing is done and results are returned... those results are 
> shifted. It even happens with the convert to polygons function.
> Interestingly this faulty behaviour is visible when I open the raster 
> color editor. if it contains no further elements, just the name, then 
> something is wrong.
> 
> However, if I use from the raster layer context menu the function: 
> "Export Envelope as geometry", then I get the correct reference back.
> 
> not sure what happens here...
> 
> stefan
> 
> Stefan Steiniger wrote:
>> me again,
>>
>> I don't have
>>      javax.swing.GroupLayout
>>
>> where is that from? I have only GridBagLayout from java.awt.*
>>
>> stefan
>>
>> Stefan Steiniger wrote:
>>> I actually just see that the Properties dialog of the raster layer has a 
>>> transparency checkbox
>>>
>>> stefan
>>>
>>> Stefan Steiniger wrote:
>>>> Hei Alberto,
>>>>
>>>> I changed the RasterImageLayer class to allow for dynamic loading.
>>>> I haven't tested fully if it works as expected. Can you have a look.
>>>> With respect to this I chose now some arbitrary values for
>>>>    maxPixelsForFastDisplayMode
>>>> so we can change it...
>>>>
>>>> I have also added the changes to read ASCII grids.
>>>>
>>>> Also if you want I can give you write access to our SVN. I think you 
>>>> will do the right thing... ;)
>>>>
>>>> next I will look at the coloring.
>>>> Have a good 2 weeks (holidays I assume ;).
>>>>
>>>> stefan
>>>>
>>>> Alberto De Luca wrote:
>>> ------------------------------------------------------------------------------
>>> This SF.net email is sponsored by 
>>>
>>> Make an app they can't live without
>>> Enter the BlackBerry Developer Challenge
>>> http://p.sf.net/sfu/RIM-dev2dev 
>>> _______________________________________________
>>> Jump-pilot-devel mailing list
>>> Jump-pilot-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>
>>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by 
>>
>> Make an app they can't live without
>> Enter the BlackBerry Developer Challenge
>> http://p.sf.net/sfu/RIM-dev2dev 
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>>
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by 
> 
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev 
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 
> 

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to