[Geotools-devel] improvement in documentation

2011-10-28 Thread LuVar
Hi, in middle of http://docs.geotools.org/latest/userguide/tutorial/raster/image.html page there is some code which is nice, but do not tell me who wrote it and where he live... have look at it: // We need at least three bands to create an RGB style int numBands = cov.getNumSamp

[Geotools-devel] bug on rendering empty list of features

2011-10-27 Thread LuVar
)); this.mapPane = new JMapPane(mapContent); When I add one feature to collection (thus it has more than zero features), it works. Have a nice day, LuVar -- The demand for IT networking professionals continues

[Geotools-devel] bug: JMapPane is consuming keypress events

2011-10-23 Thread luvar
Hello, when I create my own jFrame/jDialog, and I use JMapPane like this: public class MapPositionChooser extends JDialog implements KeyListener { private JMapPane mapPane; public MapPositionChooser(File mapFile) { //... this.mapPane = new JMapPane(new MapContent()); th

[Geotools-devel] MessageDirectLayer tuning

2011-10-22 Thread luvar
Hello, I have used in 8.0-M2 version of geotools MessageDirectLayer class and here are my (I hope usefull) observations: - private static final String COLOR = "color"; Should be made public - add documentation to only one constructor: /** * * This class is able to d