Hi everyone.

I added the Raster Styler tool (that creates symbologies for 1-banded 
rasters) to the OJ core (thanks also to Peppe for his help). The tool is 
made of several classes, you can see them in this package (and subpackages):

org.openjump.core.rasterimage.styler

The tool is handled as an Extension, so I added it to default-plugins.xml:

     <extension>
         org.openjump.core.rasterimage.styler.RasterStylesExtension
     </extension>

To use it, load a sextante raster, and click the "Raster Styles..." on 
the layer contextual menu. The tool also gives the option of showing the 
raster legend by clicking, in the contextual menu, the "Legend" item.

Some TODOs:
- improve the legend: now it's a horrible floating dialog, I'll try to 
turn it into a tree-like legend like the one used by vector layers;
- translate the strings and include them in the main OJ language files. 
Now they're located in a separate file in the 
org.openjump.core.rasterimage.styler.resources package, and are English 
only;
- add the option to save custom styles.

Alberto

------------------------------------------------------------------------------
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to