Revision: 4445 http://sourceforge.net/p/jump-pilot/code/4445 Author: ma15569 Date: 2015-05-16 15:49:36 +0000 (Sat, 16 May 2015) Log Message: ----------- Correct Spanish language file Correct bug on DEMStatistics Plugin
Modified Paths: -------------- core/trunk/src/language/jump_es.properties core/trunk/src/org/openjump/core/ui/plugin/raster/statistics/DEMStatisticsPlugIn.java Modified: core/trunk/src/language/jump_es.properties =================================================================== --- core/trunk/src/language/jump_es.properties 2015-05-16 11:12:38 UTC (rev 4444) +++ core/trunk/src/language/jump_es.properties 2015-05-16 15:49:36 UTC (rev 4445) @@ -1024,10 +1024,10 @@ org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.mean=medio org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.min=min org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.nodata=no data -org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.size=Tama00F1o celda +org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.size=Tama\00F1o celda org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.values=Valores de las celdas org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.bands=Bandas raster -org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.size=Tama00F1o raster +org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.size=Tama\00F1o raster org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer=capa org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer_name=Nombre capa org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.namefile=Fichero @@ -1043,14 +1043,14 @@ org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.ymin= min Y org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.xmax= max X org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.ymax= max Y -org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.std=desviaci00F3n t00EDpica +org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.std=desviaci\00F3n t\00EDpica org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cvar=covarianza org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.datatype= tipo de datos org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.colordepth= profundidad de color org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cellnum=numero de celdas org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.variance=varianza -org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.dimension_raster= tama00F1o -org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.dimension_cell= tama00F1o de celda +org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.dimension_raster= tama\00F1o +org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.dimension_cell= tama\00F1o de celda org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.export=Guardar informaci00F3n a fichero yxt org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.saved=Fichero guardado org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.error=El fichero no se guarda Modified: core/trunk/src/org/openjump/core/ui/plugin/raster/statistics/DEMStatisticsPlugIn.java =================================================================== --- core/trunk/src/org/openjump/core/ui/plugin/raster/statistics/DEMStatisticsPlugIn.java 2015-05-16 11:12:38 UTC (rev 4444) +++ core/trunk/src/org/openjump/core/ui/plugin/raster/statistics/DEMStatisticsPlugIn.java 2015-05-16 15:49:36 UTC (rev 4445) @@ -33,6 +33,7 @@ package org.openjump.core.ui.plugin.raster.statistics; import java.awt.Color; +import java.awt.Dimension; import java.text.DecimalFormat; import java.text.NumberFormat; import java.util.Iterator; @@ -56,9 +57,10 @@ /** * Giuseppe Aruta [2015_01_27] Computes various statistics for selected layers. - * [2015_01_27] added header with the number of selected raster layers - * Giuseppe Aruta [2015_04_09] Reduce display of large nodata values (es QGIS) - * to readable number + * Giuseppe Aruta [2015_01_27] added header with the number of selected raster layers Giuseppe + * Giuseppe Aruta [2015_04_09] Reduce display of large nodata values (es QGIS) to + * readable number + * Giuseppe Aruta [2015_05_16] Added X*Y Cell size */ public class DEMStatisticsPlugIn extends AbstractPlugIn { @@ -175,8 +177,10 @@ DecimalFormat df1 = (DecimalFormat) NumberFormat .getNumberInstance(locale1); df.applyPattern(pattern1); - String cellSize = df1.format(rstLayer.getLayerCellSize());// Cell - // size + String cellSizex = df1.format(rstLayer.getLayerCellSize().x);// Cell + // size + String cellSizey = df1.format(rstLayer.getLayerCellSize().y); + String cellSize = cellSizex + "x" + cellSizey; String minx = df.format(extent.getMinX()); String miny = df.format(extent.getMinY()); int X = rstLayer.getNX(); // Number of columns @@ -208,6 +212,8 @@ } out.append("</table>"); + out.setPreferredSize(new Dimension(800, 100)); + out.setMinimumSize(new Dimension(800, 100)); out.surface(); return true; } ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel