Revision: 4323
http://sourceforge.net/p/jump-pilot/code/4323
Author: ma15569
Date: 2015-02-27 06:56:42 +0000 (Fri, 27 Feb 2015)
Log Message:
-----------
2014_02_22 Giuseppe Aruta (ma15569)
- Add new Compare Raster Grid layers to Raster plugins. Upgraded
Italian and Spanosg language files
Modified Paths:
--------------
core/trunk/ChangeLog
core/trunk/scripts/default-plugins.xml
core/trunk/src/language/jump.properties
core/trunk/src/language/jump_cz.properties
core/trunk/src/language/jump_de.properties
core/trunk/src/language/jump_es.properties
core/trunk/src/language/jump_fi.properties
core/trunk/src/language/jump_fr.properties
core/trunk/src/language/jump_hu.properties
core/trunk/src/language/jump_it.properties
core/trunk/src/language/jump_ja_JP.properties
core/trunk/src/language/jump_ml.properties
core/trunk/src/language/jump_pt.properties
core/trunk/src/language/jump_pt_BR.properties
core/trunk/src/language/jump_ta_IN.properties
core/trunk/src/language/jump_te.properties
core/trunk/src/language/jump_zh_CN.properties
core/trunk/src/language/jump_zh_HK.properties
Added Paths:
-----------
core/trunk/src/com/vividsolutions/jump/workbench/ui/images/grid_statistics.png
core/trunk/src/org/openjump/core/ui/plugin/raster/statistics/
core/trunk/src/org/openjump/core/ui/plugin/raster/statistics/DEMStatisticsPlugIn.java
Modified: core/trunk/ChangeLog
===================================================================
--- core/trunk/ChangeLog 2015-02-24 02:18:56 UTC (rev 4322)
+++ core/trunk/ChangeLog 2015-02-27 06:56:42 UTC (rev 4323)
@@ -1,4 +1,6 @@
# for display continuity sake please use 2 spaces instead of tabs
+2014_02_22 Giuseppe Aruta (ma15569)
+ - Add new Compare Raster Grid layers to Raster plugins
2014_01_24 Giuseppe Aruta (ma15569)
- RasterQueryPlugIn. Fix minor bug on lower panel
Modified: core/trunk/scripts/default-plugins.xml
===================================================================
--- core/trunk/scripts/default-plugins.xml 2015-02-24 02:18:56 UTC (rev
4322)
+++ core/trunk/scripts/default-plugins.xml 2015-02-27 06:56:42 UTC (rev
4323)
@@ -805,7 +805,12 @@
<main-menu menupath="
MenuNames.RASTER/MenuNames.STATISTICS" install="true"/>
</menus>
</plug-in>
-
+ <plug-in>
+
org.openjump.core.ui.plugin.raster.statistics.DEMStatisticsPlugIn
+ <menus>
+ <main-menu menupath="
MenuNames.RASTER/MenuNames.STATISTICS" install="true"/>
+ </menus>
+ </plug-in>
<separator />
<plug-in> org.openjump.core.ui.plugin.raster.ProfileGraphPlugIn
Added:
core/trunk/src/com/vividsolutions/jump/workbench/ui/images/grid_statistics.png
===================================================================
(Binary files differ)
Index:
core/trunk/src/com/vividsolutions/jump/workbench/ui/images/grid_statistics.png
===================================================================
---
core/trunk/src/com/vividsolutions/jump/workbench/ui/images/grid_statistics.png
2015-02-24 02:18:56 UTC (rev 4322)
+++
core/trunk/src/com/vividsolutions/jump/workbench/ui/images/grid_statistics.png
2015-02-27 06:56:42 UTC (rev 4323)
Property changes on:
core/trunk/src/com/vividsolutions/jump/workbench/ui/images/grid_statistics.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Modified: core/trunk/src/language/jump.properties
===================================================================
--- core/trunk/src/language/jump.properties 2015-02-24 02:18:56 UTC (rev
4322)
+++ core/trunk/src/language/jump.properties 2015-02-27 06:56:42 UTC (rev
4323)
@@ -1034,10 +1034,10 @@
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.size
= Raster size
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.size
= Cell size
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.values
= Cell values
-org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.max =
max
-org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.min =
min
-org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.mean
= mean
-org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.nodata
= no data
+org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.max =
max cell value
+org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.min =
min cell value
+org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.mean
= mean cell value
+org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.nodata
= no data value
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer =
layer
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer_name=Layer
name
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.namefile=File
@@ -1069,6 +1069,10 @@
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.bands_number=bands
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.sum=sum
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer_memory=Layer
not saved
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.columns=Columns
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.rows=Rows
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.name=Compare Grid
Raster layers
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.report=Calculating
layers statistics
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Black-White =
Black-White
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Green-Red
= Blue-Green-Red
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Red =
Blue-Red
Modified: core/trunk/src/language/jump_cz.properties
===================================================================
--- core/trunk/src/language/jump_cz.properties 2015-02-24 02:18:56 UTC (rev
4322)
+++ core/trunk/src/language/jump_cz.properties 2015-02-27 06:56:42 UTC (rev
4323)
@@ -1043,6 +1043,10 @@
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.bands_number=
\#T\:bands
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.sum=
\#T\:sum
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer_memory=
\#T\:Layer not saved
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.columns=\#T\:Columns
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.rows=\#T\:Rows
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.name=\#T\:Compare Grid
Raster layers
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.report=\#T\:Calculating
layers statistics
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Black-White =
\u010Cern\u00E1-B\u00EDl\u00E1
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Green-Red
= Modr\u00E1-Zelen\u00E1-\u010Cerven\u00E1
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Red =
Modr\u00E1-\u010Cerven\u00E1
Modified: core/trunk/src/language/jump_de.properties
===================================================================
--- core/trunk/src/language/jump_de.properties 2015-02-24 02:18:56 UTC (rev
4322)
+++ core/trunk/src/language/jump_de.properties 2015-02-27 06:56:42 UTC (rev
4323)
@@ -1044,6 +1044,10 @@
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.bands_number=
\#T\:bands
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.sum=
\#T\:sum
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer_memory=
\#T\:Layer not saved
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.columns=\#T\:Columns
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.rows=\#T\:Rows
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.name=\#T\:Compare Grid
Raster layers
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.report=\#T\:Calculating
layers statistics
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Black-White =
Schwarz-Weiss
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Green-Red
= Blau-Gr\u00fcn-Rot
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Red =
Blau-Rot
Modified: core/trunk/src/language/jump_es.properties
===================================================================
--- core/trunk/src/language/jump_es.properties 2015-02-24 02:18:56 UTC (rev
4322)
+++ core/trunk/src/language/jump_es.properties 2015-02-27 06:56:42 UTC (rev
4323)
@@ -1052,7 +1052,10 @@
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.bands_number=bandas
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.sum= suma
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer_memory=
Capa sin datos
-
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.columns=Columnas
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.rows=l\xEDneas
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.name=Comparar capas
raster MDE
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.report=C\xE1lculo
estad\xEDsticas de capas
org.openjump.core.ui.plugin.raster.RasterQueryPlugIn=Inspecci\u00F3n pixel
org.openjump.core.ui.plugin.raster.RasterQueryPlugIn.info=La capa seleccionada
no es un raster monobanda
org.openjump.core.ui.plugin.raster.RasterQueryPlugIn.previous.value=valor
anterior
Modified: core/trunk/src/language/jump_fi.properties
===================================================================
--- core/trunk/src/language/jump_fi.properties 2015-02-24 02:18:56 UTC (rev
4322)
+++ core/trunk/src/language/jump_fi.properties 2015-02-27 06:56:42 UTC (rev
4323)
@@ -1046,7 +1046,7 @@
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.bands=Rasterikanavat
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.size=Rasterin
koko
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer=Taso
-oorg.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer_name=
\#T\:Layer name
+org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer_name=
\#T\:Layer name
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.namefile=
\#T\:File
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.raster=
\#T\:Raster
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.extent=
\#T\:Extent
@@ -1076,7 +1076,10 @@
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.bands_number=
\#T\:bands
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.sum=
\#T\:sum
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer_memory=
\#T\:Layer not saved
-
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.columns=\#T\:Columns
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.rows=\#T\:Rows
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.name=\#T\:Compare Grid
Raster layers
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.report=\#T\:Calculating
layers statistics
org.openjump.core.ui.plugin.raster.RasterQueryPlugIn=Pikseliarvojen kysely
org.openjump.core.ui.plugin.raster.RasterQueryPlugIn.info=Valittu rasteritaso
ei ole yksikanavainen
org.openjump.core.ui.plugin.raster.RasterQueryPlugIn.previous.value=edellinen
arvo
Modified: core/trunk/src/language/jump_fr.properties
===================================================================
--- core/trunk/src/language/jump_fr.properties 2015-02-24 02:18:56 UTC (rev
4322)
+++ core/trunk/src/language/jump_fr.properties 2015-02-27 06:56:42 UTC (rev
4323)
@@ -1046,7 +1046,10 @@
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.bands_number=
\#T\:bands
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.sum=
\#T\:sum
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer_memory=
\#T\:Layer not saved
-
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.columns=\#T\:Columns
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.rows=\#T\:Rows
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.name=\#T\:Compare Grid
Raster layers
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.report=\#T\:Calculating
layers statistics
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Black-White =
Noir-Blanc
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Green-Red
= Bleu-Vert-Rouge
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Red =
Bleu-Rouge
Modified: core/trunk/src/language/jump_hu.properties
===================================================================
--- core/trunk/src/language/jump_hu.properties 2015-02-24 02:18:56 UTC (rev
4322)
+++ core/trunk/src/language/jump_hu.properties 2015-02-27 06:56:42 UTC (rev
4323)
@@ -1043,7 +1043,10 @@
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.bands_number=
\#T\:bands
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.sum=
\#T\:sum
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer_memory=
\#T\:Layer not saved
-
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.columns=\#T\:Columns
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.rows=\#T\:Rows
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.name=\#T\:Compare Grid
Raster layers
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.report=\#T\:Calculating
layers statistics
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Black-White =
Fekete-feh\u00E9r
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Green-Red
= K\u00E9k-Z\u00F6ld-V\u00F6r\u00F6s
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Red =
K\u00E9k-V\u00F6r\u00F6s
Modified: core/trunk/src/language/jump_it.properties
===================================================================
--- core/trunk/src/language/jump_it.properties 2015-02-24 02:18:56 UTC (rev
4322)
+++ core/trunk/src/language/jump_it.properties 2015-02-27 06:56:42 UTC (rev
4323)
@@ -1013,10 +1013,10 @@
org.openjump.core.ui.plugin.raster.ProfileGraphTool.cell-statistics=
Statistica celle
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn=Informazioni
livello raster
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.raster-statistics=
Statistica Raster
-org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.max=max
-org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.mean=media
-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.max=max
valore cella
+org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.mean=media
valore cella
+org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.min=min
valore cella
+org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.nodata=valore
no data
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.size=Dimensione
cella
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.values=Valori
celle
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.bands=Bande
raster
@@ -1052,7 +1052,10 @@
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.bands_number=bande
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.sum=somma
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer_memory=Livello
senza datasource
-
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.columns=Colonne
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.rows=Righe
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.name=Compara livelli
raster DEM
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.report=Calculando la
statistica dei livelli
org.openjump.core.ui.plugin.raster.RasterQueryPlugIn=Ispezione pixel
org.openjump.core.ui.plugin.raster.RasterQueryPlugIn.info=Il livello
selezionato non \u00E8 un raster monobanda
org.openjump.core.ui.plugin.raster.RasterQueryPlugIn.previous.value=valore
precedente
Modified: core/trunk/src/language/jump_ja_JP.properties
===================================================================
--- core/trunk/src/language/jump_ja_JP.properties 2015-02-24 02:18:56 UTC
(rev 4322)
+++ core/trunk/src/language/jump_ja_JP.properties 2015-02-27 06:56:42 UTC
(rev 4323)
@@ -1042,7 +1042,10 @@
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.bands_number=
\#T\:bands
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.sum=
\#T\:sum
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer_memory=
\#T\:Layer not saved
-
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.columns=\#T\:Columns
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.rows=\#T\:Rows
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.name=\#T\:Compare Grid
Raster layers
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.report=\#T\:Calculating
layers statistics
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Black-White =
\#T\:Black-White
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Green-Red
= \#T\:Blue-Green-Red
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Red =
\#T\:Blue-Red
Modified: core/trunk/src/language/jump_ml.properties
===================================================================
--- core/trunk/src/language/jump_ml.properties 2015-02-24 02:18:56 UTC (rev
4322)
+++ core/trunk/src/language/jump_ml.properties 2015-02-27 06:56:42 UTC (rev
4323)
@@ -1402,6 +1402,10 @@
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.bands_number=
\#T\:bands
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.sum=
\#T\:sum
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer_memory=
\#T\:Layer not saved
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.columns=\#T\:Columns
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.rows=\#T\:Rows
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.name=\#T\:Compare Grid
Raster layers
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.report=\#T\:Calculating
layers statistics
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Black-White =
\#T\:
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Green-Red
= \#T\:
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Red =
\#T\:
Modified: core/trunk/src/language/jump_pt.properties
===================================================================
--- core/trunk/src/language/jump_pt.properties 2015-02-24 02:18:56 UTC (rev
4322)
+++ core/trunk/src/language/jump_pt.properties 2015-02-27 06:56:42 UTC (rev
4323)
@@ -1042,7 +1042,10 @@
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.bands_number=
\#T\:bands
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.sum=
\#T\:sum
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer_memory=
\#T\:Layer not saved
-
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.columns=\#T\:Columns
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.rows=\#T\:Rows
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.name=\#T\:Compare Grid
Raster layers
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.report=\#T\:Calculating
layers statistics
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Black-White =
T\:Black-White
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Green-Red
= T\:Blue-Green-Red
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Red =
T\:Blue-Red
Modified: core/trunk/src/language/jump_pt_BR.properties
===================================================================
--- core/trunk/src/language/jump_pt_BR.properties 2015-02-24 02:18:56 UTC
(rev 4322)
+++ core/trunk/src/language/jump_pt_BR.properties 2015-02-27 06:56:42 UTC
(rev 4323)
@@ -1042,6 +1042,10 @@
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.bands_number=
\#T\:bands
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.sum=
\#T\:sum
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer_memory=
\#T\:Layer not saved
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.columns=\#T\:Columns
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.rows=\#T\:Rows
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.name=\#T\:Compare Grid
Raster layers
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.report=\#T\:Calculating
layers statistics
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Black-White =
T\:Black-White
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Green-Red
= T\:Blue-Green-Red
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Red =
T\:Blue-Red
Modified: core/trunk/src/language/jump_ta_IN.properties
===================================================================
--- core/trunk/src/language/jump_ta_IN.properties 2015-02-24 02:18:56 UTC
(rev 4322)
+++ core/trunk/src/language/jump_ta_IN.properties 2015-02-27 06:56:42 UTC
(rev 4323)
@@ -1040,7 +1040,10 @@
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.bands_number=
\#T\:bands
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.sum=
\#T\:sum
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer_memory=
\#T\:Layer not saved
-
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.columns=\#T\:Columns
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.rows=\#T\:Rows
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.name=\#T\:Compare Grid
Raster layers
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.report=\#T\:Calculating
layers statistics
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Black-White =
\u0B95\u0BB0\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1-\u0BB5\u0BC6\u0BB3\u0BCD\u0BB3\u0BC8
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Green-Red
= \u0BA8\u0BC0\u0BB2\u0BAE\u0BCD, \u0BAA\u0B9A\u0BCD\u0B9A\u0BC8,
\u0B9A\u0BBF\u0BB5\u0BAA\u0BCD\u0BAA\u0BC1
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Red =
\u0BA8\u0BC0\u0BB2\u0BAE\u0BCD, \u0BB0\u0BC6\u0B9F\u0BCD
Modified: core/trunk/src/language/jump_te.properties
===================================================================
--- core/trunk/src/language/jump_te.properties 2015-02-24 02:18:56 UTC (rev
4322)
+++ core/trunk/src/language/jump_te.properties 2015-02-27 06:56:42 UTC (rev
4323)
@@ -1216,7 +1216,10 @@
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.bands_number=
\#T\:bands
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.sum=
\#T\:sum
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer_memory=
\#T\:Layer not saved
-
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.columns=\#T\:Columns
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.rows=\#T\:Rows
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.name=\#T\:Compare Grid
Raster layers
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.report=\#T\:Calculating
layers statistics
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Black-White =
Black-White
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Green-Red
= Blue-Green-Red
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Red =
Blue-Red
Modified: core/trunk/src/language/jump_zh_CN.properties
===================================================================
--- core/trunk/src/language/jump_zh_CN.properties 2015-02-24 02:18:56 UTC
(rev 4322)
+++ core/trunk/src/language/jump_zh_CN.properties 2015-02-27 06:56:42 UTC
(rev 4323)
@@ -1045,7 +1045,10 @@
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.bands_number=
\#T\:bands
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.sum=
\#T\:sum
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer_memory=
\#T\:Layer not saved
-
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.columns=\#T\:Columns
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.rows=\#T\:Rows
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.name=\#T\:Compare Grid
Raster layers
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.report=\#T\:Calculating
layers statistics
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Black-White =
\u9ed1\u767d
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Green-Red
= \u84dd\uff0c\u7eff\uff0c\u7ea2
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Red =
\u84dd\u7ea2
Modified: core/trunk/src/language/jump_zh_HK.properties
===================================================================
--- core/trunk/src/language/jump_zh_HK.properties 2015-02-24 02:18:56 UTC
(rev 4322)
+++ core/trunk/src/language/jump_zh_HK.properties 2015-02-27 06:56:42 UTC
(rev 4323)
@@ -1045,7 +1045,10 @@
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.bands_number=
\#T\:bands
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.sum=
\#T\:sum
org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.layer_memory=
\#T\:Layer not saved
-
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.columns=\#T\:Columns
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.rows=\#T\:Rows
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.name=\#T\:Compare Grid
Raster layers
+org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.report=\#T\:Calculating
layers statistics
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Black-White =
\u9ED1\u767D
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Green-Red
= \u85CD\uFF0C\u7DA0\uFF0C\u7D05
org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Red =
\u85CD\u7D05
Added:
core/trunk/src/org/openjump/core/ui/plugin/raster/statistics/DEMStatisticsPlugIn.java
===================================================================
---
core/trunk/src/org/openjump/core/ui/plugin/raster/statistics/DEMStatisticsPlugIn.java
(rev 0)
+++
core/trunk/src/org/openjump/core/ui/plugin/raster/statistics/DEMStatisticsPlugIn.java
2015-02-27 06:56:42 UTC (rev 4323)
@@ -0,0 +1,236 @@
+/*
+ * The Unified Mapping Platform (JUMP) is an extensible, interactive GUI
+ * for visualizing and manipulating spatial features with geometry and
attributes.
+ *
+ * Copyright (C) 2003 Vivid Solutions
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * For more information, contact:
+ *
+ * Vivid Solutions
+ * Suite #1A
+ * 2328 Government Street
+ * Victoria BC V8T 5G5
+ * Canada
+ *
+ * (250)385-6040
+ * www.vividsolutions.com
+ */
+
+package org.openjump.core.ui.plugin.raster.statistics;
+
+import java.awt.Color;
+import java.text.DecimalFormat;
+import java.text.NumberFormat;
+import java.util.Iterator;
+import java.util.Locale;
+
+import javax.swing.Icon;
+
+import org.openjump.core.rasterimage.RasterImageLayer;
+import org.openjump.core.rasterimage.sextante.OpenJUMPSextanteRasterLayer;
+import
org.openjump.core.rasterimage.sextante.rasterWrappers.GridWrapperNotInterpolated;
+
+import com.vividsolutions.jts.geom.Envelope;
+import com.vividsolutions.jump.I18N;
+import com.vividsolutions.jump.workbench.WorkbenchContext;
+import com.vividsolutions.jump.workbench.plugin.AbstractPlugIn;
+import com.vividsolutions.jump.workbench.plugin.EnableCheckFactory;
+import com.vividsolutions.jump.workbench.plugin.MultiEnableCheck;
+import com.vividsolutions.jump.workbench.plugin.PlugInContext;
+import com.vividsolutions.jump.workbench.ui.HTMLFrame;
+import com.vividsolutions.jump.workbench.ui.images.IconLoader;
+
+/**
+ * Computes various statistics for selected layers.
+ */
+public class DEMStatisticsPlugIn extends AbstractPlugIn {
+
+ private final static String LAYER_STATISTICS = I18N
+ .get("ui.plugin.LayerStatisticsPlugIn.layer-statistics");
+ private final static String ENVELOPE = I18N
+ .get("ui.plugin.LayerStatisticsPlugIn.envelope");
+ private final static String SOURCE_PATH = I18N
+
.get("org.openjump.core.ui.plugin.layer.LayerPropertiesPlugIn.Source-Path");
+ private final static String MAX = I18N
+
.get("org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.max");
+ private final static String MIN = I18N
+
.get("org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.min");
+ private final static String MEAN = I18N
+
.get("org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.mean");
+ private final static String SUM = I18N
+
.get("org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.sum");
+ private final static String NODATA = I18N
+
.get("org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cell.nodata");
+ private final static String VARIANCE = I18N
+
.get("org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.variance");
+ private final static String STD = I18N
+
.get("org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.std");
+ private final static String CVAR = I18N
+
.get("org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.cvar");
+ private final static String NODATACELLS = I18N
+
.get("org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.nodatacell");
+ private final static String VALIDCELLS = I18N
+
.get("org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.validcells");
+ private final static String XMIN = I18N
+
.get("org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.xmin");
+ private final static String YMIN = I18N
+
.get("org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.ymin");
+ private final static String CELL_SIZE = I18N
+
.get("org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.dimension_cell");
+ private final static String COLUMNS = I18N
+
.get("org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.columns");
+ private final static String ROWS = I18N
+
.get("org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.rows");
+
+ public static MultiEnableCheck createEnableCheck(
+ WorkbenchContext workbenchContext) {
+ EnableCheckFactory checkFactory = new EnableCheckFactory(
+ workbenchContext);
+
+ return new MultiEnableCheck()
+ .add(checkFactory
+ .createWindowWithLayerNamePanelMustBeActiveCheck())
+ .add(checkFactory.createAtLeastNLayerablesMustBeSelectedCheck(
+ 1, RasterImageLayer.class))
+ .add(checkFactory
+ .createRasterImageLayerExactlyNBandsMustExistCheck(1));
+ }
+
+ /*
+ * Count the number of cells (of a Sextante monoband raster layer) with no
+ * data value
+ */
+
+ public int nodata(PlugInContext context,
+ OpenJUMPSextanteRasterLayer rstLayer) {
+ int counter = 0;
+ GridWrapperNotInterpolated gwrapper = new GridWrapperNotInterpolated(
+ rstLayer, rstLayer.getLayerGridExtent());
+ int nx = rstLayer.getLayerGridExtent().getNX();
+ int ny = rstLayer.getLayerGridExtent().getNY();
+ for (int y = 0; y < ny; y++) {
+ for (int x = 0; x < nx; x++) {
+ double value = gwrapper.getCellValueAsDouble(x, y, 0);
+ if (value == rstLayer.getNoDataValue())
+ counter++;
+ }
+ }
+ return counter;
+ }
+
+ public boolean execute(PlugInContext context) throws Exception {
+
+ Locale locale = new Locale("en", "UK");
+ String pattern = "###.########";
+ DecimalFormat df = (DecimalFormat) NumberFormat
+ .getNumberInstance(locale);
+ df.applyPattern(pattern);
+
+ final WorkbenchContext wbcontext = context.getWorkbenchContext();
+
+ HTMLFrame out = context.getOutputFrame();
+ out.createNewDocument();
+ out.setBackground(Color.lightGray);
+ out.addHeader(1, LAYER_STATISTICS);
+ out.append("<table border='1'>");
+ out.append("<tr><td bgcolor=#CCCCCC align='center'> "
+ + I18N.get("ui.plugin.LayerStatisticsPlugIn.layer")
+ + "</td><td bgcolor=#CCCCCC align='center'> " + MIN
+ + "</td><td bgcolor=#CCCCCC align='center'> " + MAX
+ + "</td><td bgcolor=#CCCCCC align='center'> " + NODATA
+ + "</td><td bgcolor=#CCCCCC align='center'> " + VALIDCELLS
+ + "</td><td bgcolor=#CCCCCC align='center'> " + NODATACELLS
+ + "</td><td bgcolor=#CCCCCC align='center'> " + COLUMNS
+ + "</td><td bgcolor=#CCCCCC align='center'> " + ROWS
+ + "</td><td bgcolor=#CCCCCC align='center'> " + XMIN
+ + "</td><td bgcolor=#CCCCCC align='center'> " + YMIN
+ + "</td><td bgcolor=#CCCCCC align='center'> " + CELL_SIZE
+ + "</td></tr>");
+ for (Iterator i = wbcontext.getLayerNamePanel()
+ .selectedNodes(RasterImageLayer.class).iterator();
i.hasNext();) {
+ RasterImageLayer slayer = (RasterImageLayer) i.next();
+
+ OpenJUMPSextanteRasterLayer rstLayer = new
OpenJUMPSextanteRasterLayer();
+ rstLayer.create(slayer);
+
+ slayer.getNumBands();
+
+ String min = df.format(rstLayer.getMinValue());// Min value of
+ // cells
+ String max = df.format(rstLayer.getMaxValue());// Max value of
+ df.format(rstLayer.getMeanValue());
+
+ Envelope extent = slayer.getWholeImageEnvelope(); // Envelope of
+ // layer
+
+ Locale locale1 = new Locale("en", "UK");
+ String pattern1 = "###.## ";
+ DecimalFormat df1 = (DecimalFormat) NumberFormat
+ .getNumberInstance(locale1);
+ df.applyPattern(pattern1);
+ String cellSize = df1.format(rstLayer.getLayerCellSize());// Cell
+ // size
+ String minx = df.format(extent.getMinX());
+ String miny = df.format(extent.getMinY());
+ int X = rstLayer.getNX(); // Number of columns
+ int Y = rstLayer.getNY(); // Number of rows
+ String nodata = df.format(slayer.getNoDataValue());// No data
+ int validcells = X * Y - nodata(context, rstLayer);// Number of
+ // valid
+ // cells
+ int nodatacells = nodata(context, rstLayer);// number of no data
+ // cells
+
+ /*
+ * out.addHeader(2,
I18N.get("ui.plugin.LayerStatisticsPlugIn.layer"
+ * + ": ") + " " + slayer.getName());
+ *
+ * Envelope layerEnv = slayer.getWholeImageEnvelope(); out.addField
+ * (I18N.get("ui.plugin.LayerStatisticsPlugIn.envelope"),
+ * layerEnv.toString()); out.addField( I18N.get(
+ *
"org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.file.bands_number"
+ * ), bandstring);
+ */
+
+ out.append("</td><td align='right'>" + slayer.getName()
+ + "</td><td align='right'>" + min
+ + "</td><td align='right'>" + max
+ + "</td><td align='right'>" + nodata
+ + "</td><td align='right'>" + validcells
+ + "</td><td align='right'>" + nodatacells
+ + "</td><td align='right'>" + X + "</td><td align='right'>"
+ + Y + "</td><td align='right'>" + minx
+ + "</td><td align='right'>" + miny
+ + "</td><td align='right'>" + cellSize + "</td></tr>");
+
+ }
+
+ out.append("</table>");
+ out.surface();
+ return true;
+ }
+
+ public String getName() {
+ return I18N
+
.get("org.openjump.core.ui.plugin.raster.DEMStatisticsPlugIn.name");
+ }
+
+ public Icon getIcon() {
+ return IconLoader.icon("grid_statistics.png");
+ }
+
+}
Property changes on:
core/trunk/src/org/openjump/core/ui/plugin/raster/statistics/DEMStatisticsPlugIn.java
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel